mount options display (detailed)

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Feb 25 08:14:02 UTC 2012


On 25/02/2012 01:21, Chris Hill wrote:
> 'mount -p' shows me something that looks a lot like my own /etc/fstab.
> It appears to be showing me what's mounted right now, but it does not
> display any mount options. This is on 8.0-STABLE; maybe things have
> changed in the Brave New World of Nine.

No, things are exactly the same in this regard in 9.x.  Yes, 'mount -p'
shows you the fstab(5) file corresponding to the current state of your
system.  Although nowadays you wouldn't necessarily want to have
/etc/fstab containing exactly that data -- ZFS has a lot of this stuff
built in, and jails etc. are frequently configured using a separate
fstab file.

I don't understand what you are asking for, if it isn't the mount
options in the 4th column of the fstab(5) file.

If you mean "what mount options are available to use," then I suggest
reading the mount(8) man page (for the generic options, and those
relating to UFS) and the filesystem specific versions such as
mount_cd9660, mount_nfs, mount_nullfs etc.  To see what mount related
man pages are available:

   man -k mount_

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120225/474ea33f/signature.pgp


More information about the freebsd-questions mailing list