xfs-masters
[Top] [All Lists]

[xfs-masters] Re: request for patches: showing mount options

To: Miklos Szeredi <miklos@xxxxxxxxxx>
Subject: [xfs-masters] Re: request for patches: showing mount options
From: Chuck Lever <chuck.lever@xxxxxxxxxx>
Date: Fri, 27 Jul 2007 16:12:58 -0400
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, kzak@xxxxxxxxxx, ericvh@xxxxxxxxx, lucho@xxxxxxxxxx, zippel@xxxxxxxxxxxxxx, hpa@xxxxxxxxx, raven@xxxxxxxxxx, rathamahata@xxxxxxx, dhowells@xxxxxxxxxx, sfrench@xxxxxxxxx, mhalcrow@xxxxxxxxxx, phillip@xxxxxxxxxxxxxxxxxxxx, hirofumi@xxxxxxxxxxxxxxxxxx, mikulas@xxxxxxxxxxxxxxxxxxxxxxxx, wli@xxxxxxxxxxxxxx, shaggy@xxxxxxxxxxxxxx, vandrove@xxxxxxxxxx, trond.myklebust@xxxxxxxxxx, aia21@xxxxxxxxxx, mark.fasheh@xxxxxxxxxx, kurt.hackel@xxxxxxxxxx, reiserfs-devel@xxxxxxxxxxxxxxx, bfennema@xxxxxxxxxxxxxxxxxxxxxx, dushistov@xxxxxxx, xfs-masters@xxxxxxxxxxx, arnd@xxxxxxxx, holzheu@xxxxxxxxxx
In-reply-to: <E1IEW21-0001kL-00@xxxxxxxxxxxxxxxxxxxxxx>
Organization: Corporate Architecture team, Oracle USA
References: <E1IEQ7q-0000qE-00@xxxxxxxxxxxxxxxxxxxxxx> <46AA4AC5.2050200@xxxxxxxxxx> <E1IEW21-0001kL-00@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.4 (X11/20070615)
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.


-- Binary/unsupported file stripped by Ecartis --
-- Type: text/x-vcard
-- File: chuck.lever.vcf



<Prev in Thread] Current Thread [Next in Thread>