Operating System - HP-UX
1819976 Members
3183 Online
109607 Solutions
New Discussion юеВ

Re: Display mount options on current mounted filesystems

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

Display mount options on current mounted filesystems

Is there a command that dislays the current mount options on a mounted file system. I don't want to refer to /etc/fstab.

Thanks,

..Joe
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: Display mount options on current mounted filesystems

Hi,

You could check the fsadm command.

Non online jfs
fsadm /dev/vgxx/rlvolx

Online jvs
fsadm /filsystem_name

Hope this helps,
Robert-Jan
Chris Wilshaw
Honored Contributor
Solution

Re: Display mount options on current mounted filesystems

If you run mount -p, that should show what you need. The format from this is exactly the same as is used in fstab.
Ashwani Kashyap
Honored Contributor

Re: Display mount options on current mounted filesystems

or even just mount
will show you the options used for mounting .
RAC_1
Honored Contributor

Re: Display mount options on current mounted filesystems

mount -p and mount -v

Anil
There is no substitute to HARDWORK
Bharat Katkar
Honored Contributor

Re: Display mount options on current mounted filesystems

Yes, that is right.
#mount

This shows me the mount options.
Regards,
You need to know a lot to actually know how little you know
Muthukumar_5
Honored Contributor

Re: Display mount options on current mounted filesystems

hai,

mount -v ,mount command is using /etc/mnttab file to give the mounted filesystems operations.

You can get the mounted fils system informations just as #cat /etc/mnttab

mount -p can also be used.

You can use getmntent.3x call to get the mounted file system information by giving the input file steam as /etc/mnttab file.

See the getmntent.3x man page.

we can get the nfs oriented mount file systems with nfsstat -c

Regards,
Muthukumar
Easy to suggest when don't know about the problem!