[systemd-devel] Question about nspawn.c

Lennart Poettering lennart at poettering.net
Tue Aug 23 08:50:55 PDT 2011


On Mon, 22.08.11 16:15, Stef Bon (stefbon at gmail.com) wrote:

> Why the combination MS_BIND | MS_MOVE here??
> A move is a little bit confucing, since a move of the root, while the
> subirectories are already mounted.
> It looks more a bit to make the new namespace consistent or something like that.
> 
> Can someone explain this?

Basically you have to specifiy MS_BIND for all calls where you want to
change the bind mount, not the superblock. 

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list