xfs-masters
[Top] [All Lists]

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

To: chuck.lever@xxxxxxxxxx
Subject: [xfs-masters] Re: request for patches: showing mount options
From: Miklos Szeredi <miklos@xxxxxxxxxx>
Date: Fri, 27 Jul 2007 22:03:25 +0200
Cc: miklos@xxxxxxxxxx, 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: <46AA4AC5.2050200@oracle.com> (message from Chuck Lever on Fri, 27 Jul 2007 15:43:01 -0400)
References: <E1IEQ7q-0000qE-00@dorka.pomaz.szeredi.hu> <46AA4AC5.2050200@oracle.com>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
> 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?

Miklos


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