public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* mount: what is the point of 'nouser' on the command line?
@ 2014-07-14  9:57 Benno Schulenberg
  2014-07-14 14:57 ` Karel Zak
  0 siblings, 1 reply; 6+ messages in thread
From: Benno Schulenberg @ 2014-07-14  9:57 UTC (permalink / raw)
  To: Util-Linux


Hi all,

The man page of mount(8) currently contains the following example
to show how the -o option can be used:

    mount LABEL=mydisk -o noatime,nouser

As the command does not contain a mountpoint, it requires an entry
in fstab in order to work.  If that entry does not contain the keyword
'user' in the options field, then the mount will effectively already be
'nouser'.  If it does contain the keyword 'user', does specifying 'nouser'
then somehow exclude other users?  As far as I can tell it doesn't.

So, is it ever useful to specify '-o nouser' on the command line?


Something else.  On the man page of umount, shouldn't it say that
the -O and -t options are only effective in combination with -a?

Further, mount recognizes the options -L and -U besides the keywords
LABEL= and UUID=, but umount only recognizes the latter two.  For
symmetry it would be nice if umount also recognized -L and -U.

Benno

-- 
http://www.fastmail.fm - Access your email from home and the web


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-15  9:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-14  9:57 mount: what is the point of 'nouser' on the command line? Benno Schulenberg
2014-07-14 14:57 ` Karel Zak
2014-07-14 15:24   ` Benno Schulenberg
2014-07-15  8:02     ` Karel Zak
2014-07-15  9:02       ` umount: --types does not limit Benno Schulenberg
2014-07-15  9:56         ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox