Re: mount: what is the point of 'nouser' on the command line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 14, 2014 at 05:24:27PM +0200, Benno Schulenberg wrote:
> 
> On Mon, Jul 14, 2014, at 16:57, Karel Zak wrote:
> >  The "user" option is alias to "noexec,nosuid,nodev" mount flags. 
> 
> Ehm...  Not quite.  It *implies* those options, to lightly protect
> the user from some dangers, but its main purpose is to allow
> ordinary users to mount the filesystem so marked in fstab.  No?

 Sure, I have talked about the options and how the options are
 evaluated.

> > > So, is it ever useful to specify '-o nouser' on the command line?
> > 
> >  No, it would be better to remove it from the example
> 
> Will submit a patch later.

 Thanks.

> > > 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?
> > 
> >  The -t is generic and it's usable in more case (for example to
> >  specify filesystem that should be tried for the device).
> 
> Ehm...  I was talking about umount here, not mount.  :)

 Oh... sorry :-) Anyway, it's the same, the "-t" is usable without -a
 too. 

    umount -a -t <type, ...>

 the <type> is interpreted as pattern.

   umount -t <type>

 the <type> is filesystem type (so you can force umount to use for
 example /sbin/umount.<type>).

 The -O is usable with -a  only.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux