Messages in this thread | | | Date | Thu, 27 Apr 2006 14:01:50 +0100 | From | Al Viro <> | Subject | Re: CLONE_NEWNS and mount command? |
| |
On Thu, Apr 27, 2006 at 08:57:20AM -0400, Tom Horsley wrote: > It disappeared from the mounts listed by the "mount" command > in both the old and new namespace, but if I attempted to remount > the system in the old namespace I get an error telling me it is > already mounted (even though it doesn't show up). In the new > namespace where I unmounted it, I can remount it (then it shows > up again in the mount listing in both namespaces). > > Should the /proc/mounts file be paying more attention to this > "namespace" thing? Is this a bug, or just the way things happen > to work out?
Huh? a) /proc/mounts is the list for namespace of one who'd opened it (it's a symlink to /proc/self/mounts). b) are you sure that you do not simply end up with chewing shared /etc/mtab? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |