[systemd-devel] [PATCH 1/2] fstab-generator: mount /usr in the initrd if specified on /proc/cmdline

Tom Gundersen teg at jklm.no
Fri Mar 1 11:08:47 PST 2013

On Fri, Mar 1, 2013 at 6:54 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> I am tempted to say that we should only have one way and one way only to
> do this. I.e. forget about the "usr=" idea on the kernel
> cmdline. Instead, fstab-generator should just always look into
> /etc/fstab and mount everything from there. When run from an initrd
> environment it should also look into /sysroot/etc/fstab and mount
> everything marked "x-initrd.mount" (plus, as a special implied magic,
> /usr listed in there even if it lacks this new option). Of course, when
> reading from /sysroot/etc/fstab the dest path of each mount should
> always be prefixed with "/sysroot/".

Yeah, this is all clear. I'll resend in a few days (about to do some
travelling so will be a bit delayed).

Thanks to everyone for all their comments.



More information about the systemd-devel mailing list