Re: Use of directories to hold root?

From: Jan Engelhardt
Date: Sun Aug 12 2007 - 15:49:19 EST



On Aug 12 2007 15:39, Mark Cannon wrote:
>> >> No, but you can use pivot_root.
>> >
>> >Or better yet, use an initramfs with MS_MOVE; same as you would with the
>> >"normal" use of initramfs.
>
>I am not sure I understand initramfs with MS_MOVE concept. I will look into
>it. Any pointers for documentation?

pivot_root is atomic afaict, for `mount --move` (which I think Al meant
which MS_MOVE - or some C program using mount(2) of your own), you'd
need multiple calls to mount.


Jan
--
-
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/