Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754830AbXICQ03 (ORCPT ); Mon, 3 Sep 2007 12:26:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752462AbXICQ0V (ORCPT ); Mon, 3 Sep 2007 12:26:21 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:53942 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbXICQ0V (ORCPT ); Mon, 3 Sep 2007 12:26:21 -0400 Date: Mon, 3 Sep 2007 17:26:20 +0100 From: Al Viro To: Jan Engelhardt Cc: Linux Kernel Mailing List Subject: Re: Mounts and namespaces Message-ID: <20070903162620.GW21089@ftp.linux.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 655 Lines: 21 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. - 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/