Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754682AbXICQX1 (ORCPT ); Mon, 3 Sep 2007 12:23:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752578AbXICQXU (ORCPT ); Mon, 3 Sep 2007 12:23:20 -0400 Received: from sovereign.computergmbh.de ([85.214.69.204]:60590 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751918AbXICQXT (ORCPT ); Mon, 3 Sep 2007 12:23:19 -0400 Date: Mon, 3 Sep 2007 18:23:18 +0200 (CEST) From: Jan Engelhardt To: Linux Kernel Mailing List Subject: Mounts and namespaces Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 22 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? Jan -- - 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/