[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 09:21:29 PST 2013

On Fri, Mar 1, 2013 at 6:15 PM, Tom Gundersen <teg at jklm.no> wrote:
> This allows us to treat /usr exactly the same as /. Namely, its options
> may be given on the kernel commandline rather than, say, being included in
> the initramfs or being read from the rootfs.
> The new options are: usr=, usrfstype=, usrwait=, usrflags=, which have
> analogous semantics to their root counterparts. Moreover, the 'ro' and
> 'rw' options apply to root and usr both.
> If someone has a desire to support separate /usr without an initramfs (and
> witohut split-usr), they could easily add support for these options to the
> kernel.
> Cc: Harald Hoyer <harald.hoyer at gmail.com>
> Cc: Dave Reisner <d at falconindy.com>

Scratch this. We will go with marking mounts as x-initrd.mount=1 (or
something like that) in /etc/fstab instead.


More information about the systemd-devel mailing list