Mounts and namespaces

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel Mailing List <linux-kernel@...>
Date: Monday, September 3, 2007 - 12:23 pm

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
-- 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Mounts and namespaces, Jan Engelhardt, (Mon Sep 3, 12:23 pm)
Re: Mounts and namespaces, Al Viro, (Mon Sep 3, 12:26 pm)