lkml.org 
[lkml]   [2006]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 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/

    \
     
     \ /
      Last update: 2006-04-27 15:04    [W:3.361 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site