mirror of
https://github.com/systemd/systemd
synced 2024-09-19 08:03:31 +00:00
45c535ddb0
Previously, mounts specified in systemd.mount-extra= are equally handled both in initrd and the main system. So, the mounts for the main system are also mounted in initrd. This introduces rd.systemd.mount-extra=, which specifies mounts in initrd. Then, mounts specified in systemd.mount-extra= are still mounted both in initrd and the main system, but prefixed with /sysroot/ when running in initrd. Fixes #28516.
6 lines
278 B
Plaintext
6 lines
278 B
Plaintext
rd.systemd.mount-extra=/dev/sdx1:/sysroot:auto:defaults
|
|
rd.systemd.mount-extra=/dev/sdx2:/hoge/without_options:auto
|
|
rd.systemd.mount-extra=/dev/sdx3:/hoge/without_fstype
|
|
rd.systemd.mount-extra=/dev/sdx4
|
|
rd.systemd.mount-extra=//foo\ufffebar:/hoge/with\x20space:cifs:rw,seclabel
|