Results 1 to 2 of 2
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
...
- 02-10-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 1
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
- 02-10-2011 #2Just Joined!
- Join Date
- Jan 2011
- Posts
- 3
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


Reply With Quote