Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question How to display active mounted filesystems in linux using c


    Hi all,
    I want the sample code to display the active mounted filesystems for a particular user from VM server. It's urgent.
    Can anybody help me?

    Thank in advance..

    Regards

    Ilamathi

  2. #2

    How to display active mounted filesystems in linux using c

    Hi,

    Please search /etc/mtab for that particular user, as it contains the name of the user who mounted that filesystem if the "user" option is enabled in the mount options.

    I dont remember C language anymore hence writing the code is up to you.

    Regards,

    Shadow

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •