Re: CLONE_NEWNS and mount command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux