[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <46AA51CA.7030105@oracle.com>
Date: Fri, 27 Jul 2007 16:12:58 -0400
From: Chuck Lever <chuck.lever@...cle.com>
To: Miklos Szeredi <miklos@...redi.hu>
CC: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, kzak@...hat.com, ericvh@...il.com,
lucho@...kov.net, zippel@...ux-m68k.org, hpa@...or.com,
raven@...maw.net, rathamahata@...4.ru, dhowells@...hat.com,
sfrench@...ba.org, mhalcrow@...ibm.com,
phillip@...lewell.homeip.net, hirofumi@...l.parknet.co.jp,
mikulas@...ax.karlin.mff.cuni.cz, wli@...omorphy.com,
shaggy@...tin.ibm.com, vandrove@...cvut.cz,
trond.myklebust@....uio.no, aia21@...tab.net,
mark.fasheh@...cle.com, kurt.hackel@...cle.com,
reiserfs-devel@...r.kernel.org, bfennema@...con.csc.calpoly.edu,
dushistov@...l.ru, xfs-masters@....sgi.com, arnd@...db.de,
holzheu@...ibm.com
Subject: Re: request for patches: showing mount options
Miklos Szeredi wrote:
>> Some mount options are never passed to the kernel, and thus can't appear
>> in /proc/mounts. Examples include user, users, and _netdev for NFS.
>
> These options control *who* may mount and *when* to mount. They are
> not a property of the mount itself and are not added to /etc/mtab.
>
> There's a "user=ID" option that is added to /etc/mtab in case of user
> mounts. This identifies the owner of the mount, so that it can be
> unmounted by that user. There are patches in -mm that enable the
> kernel to store this info.
>
> Do you have other examples in mind?
[no]quota comes to mind; also auto, [no]owner, [no]group, and
quiet/loud, but these may fall into the same category you mention above.
Aside: It's a confusing artifact of the mount CLI that these options
control who/when but are passed to the mount command in the same way the
other options are.
View attachment "chuck.lever.vcf" of type "text/x-vcard" (260 bytes)
Powered by blists - more mailing lists