Re: /etc/mtab and per-process namespaces

From: Rob Landley
Date: Tue Nov 01 2005 - 03:45:43 EST


On Tuesday 01 November 2005 01:36, Miklos Szeredi wrote:
> > (Then, of course, there's FUSE. Does killing the FUSE helper
> > prevent the mount from being umounted?)
>
> No. On clean exit (via INT, TERM, HUP handlers installed by library)
> it will lazy umount itself. Violent death of a filesystem daemon will
> leave the mount intact, but umountable.

Ok, so it sounds like the proper init-go-byebye procedure once namespaces get
deployed is for init to kill all child processes, umount -a what's left in
its namespace, and all is well. So no changes are needed to the umount -a
implementation...

Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/