Re: mount options display (detailed)

2012-02-25 Thread jb
Matthew Seaman  infracaninophile.co.uk> writes:

> 
> 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.
> ... 
> 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.
> ...

Read this and follow few remaining posts in the thread:
http://osdir.com/ml/freebsd-fs/2011-01/msg00169.html
jb
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mount options display (detailed)

2012-02-25 Thread Matthew Seaman
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: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: mount options display (detailed)

2012-02-24 Thread Chris Hill

On Fri, 24 Feb 2012, Matthew Seaman wrote:


On 24/02/2012 15:56, jb wrote:

how can I display detailed mount options, e.g. rw, async, acls, atime, ...
This regarding local fs or NFS.
'mount' does not do that.


mount -p

This is actually something you could in theory have worked out from the
mount(8) man page, so long as you knew what 'fstab format' meant.
Perhaps that page could do with a little editing so that it doesn't
assume so much prior knowledge of its readers.



From the man page:


-p   Print mount information in fstab(5) format.  Implies
 also the -v option.

'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.


--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mount options display (detailed)

2012-02-24 Thread Matthew Seaman
On 24/02/2012 15:56, jb wrote:
> how can I display detailed mount options, e.g. rw, async, acls, atime, ...
> This regarding local fs or NFS.
> 'mount' does not do that.

mount -p

This is actually something you could in theory have worked out from the
mount(8) man page, so long as you knew what 'fstab format' meant.
Perhaps that page could do with a little editing so that it doesn't
assume so much prior knowledge of its readers.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


mount options display (detailed)

2012-02-24 Thread jb
Hi,
how can I display detailed mount options, e.g. rw, async, acls, atime, ...
This regarding local fs or NFS.
'mount' does not do that.
jb
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"