public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@justemail.net>
To: "Util-Linux" <util-linux@vger.kernel.org>
Subject: mount: what is the point of 'nouser' on the command line?
Date: Mon, 14 Jul 2014 11:57:44 +0200	[thread overview]
Message-ID: <1405331864.10850.141333833.2F92BBFD@webmail.messagingengine.com> (raw)


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


             reply	other threads:[~2014-07-14  9:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  9:57 Benno Schulenberg [this message]
2014-07-14 14:57 ` mount: what is the point of 'nouser' on the command line? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405331864.10850.141333833.2F92BBFD@webmail.messagingengine.com \
    --to=bensberg@justemail.net \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox