On Wed, 2008-02-27 at 22:37 -0800, Andrew Morton wrote:More likely my lack of understanding of how namespaces are meant to work. The basic problem arises only when we want to restart the user space daemon and there are active autofs managed mounts in place at exit (ie. autofs mounts that have busy user mounts). They are left mounted and processes using them continue to function. But then, when we startup autofs we need to reconnect to these autofs mounts, some of which can covered the by mounted file systems, and hence the need for another way to open an ioctl descriptor to them. It may have been overkill to re-implement all the current ioctls (and add a couple of other much needed ones) but I though it sensible for completeness, and we get to identify any possible problems the current ioctls might have had due to the use of the BKL (by the VFS when calling the ioctls). So, why do we need the uid and gid? When someone walks over an autofs dentry that is meant to cause a mount we send a request packet to the daemon via a pipe which includes the process uid and gid, and as part of the lookup we set macros for several mount map substitution variables, derived from the uid and gid of the process requesting the mount and they can be used within autofs maps. This is all fine as long as we don't need to re-connect to these mounts when starting up, since we don't get kernel requests for the mounts, we need to obtain that information from the active mount itself. Ian --
| Arnd Bergmann | SCHED_IDLE documentation |
| david | Re: limits on raid |
| Jan Engelhardt | Re: [PATCH] CodingStyle: multiple updates |
| Ingo Molnar | Re: Rescheduling interrupts |
git: | |
| Russ Brown | git-svn: Branching clarifications |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Junio C Hamano | Re: More precise tag following |
| Pierre Habouzit | Re: People unaware of the importance of "git gc"? |
| Michael | Virtual interface |
| Stijn | Re: libiconv problem |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Amaury De Ganseman | "ping: sendto: No buffer space available" when using bittorrent or another p2p |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Darren Senn | Re: Elm |
| Seung-Chul Woo | Is it possible to mount GNU HURD file system as DOS in SLS? |
| David Willmore | Re: Intel, the Pentium and Linux |
