mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Al Viro <viro@ftp.linux.org.uk>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Mounts and namespaces
Date: Mon, 3 Sep 2007 17:26:20 +0100	[thread overview]
Message-ID: <20070903162620.GW21089@ftp.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.64.0709031821040.24179@fbirervta.pbzchgretzou.qr>

On Mon, Sep 03, 2007 at 06:23:18PM +0200, Jan Engelhardt wrote:
> Hi,
> 
> 
> what happens to mounts when the namespace they exist in, exits?
> In my concrete case:
> 
> 	./newns /bin/bash
> 	# clone(CLONE_NEWNS | CLONE_THREAD | CLONE_SIGHAND | CLONE_VM)
> 	# and exec to given program
> 	mount /dev/loop0 /mnt
> 	exit
> 
> Still mounted and unreachable forever? Forced unmount and fs corruption?

lazy umount.

      reply	other threads:[~2007-09-03 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03 16:23 Jan Engelhardt
2007-09-03 16:26 ` Al Viro [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070903162620.GW21089@ftp.linux.org.uk \
    --to=viro@ftp.linux.org.uk \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome