]> git.ipfire.org Git - thirdparty/systemd.git/commit
generator: add root=off to explicitly turn search for rootfs off
authorLennart Poettering <lennart@poettering.net>
Fri, 14 Mar 2025 14:57:03 +0000 (15:57 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Apr 2025 09:08:57 +0000 (11:08 +0200)
commitc05a132fef0e9843b499b40fca3af49fe2cc9a4b
treeb66c2ce230d465ba58c892167db1b72eeb8f0c4b
parent198f7badaa884714439fbf96074acff404dc5bf2
generator: add root=off to explicitly turn search for rootfs off

This is useful when booting into storage target mode, where we do not
want to enter a root fs, we just want to stay forever in the initrd,
and hence there's value in not even generating and jobs to find the
rootfs
src/fstab-generator/fstab-generator.c
src/shared/generator.c