mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
fstab-generator: rename x-initrd-rootfs.mount to x-initrd.rootfs
This changes the fstab mount option x-initrd-rootfs.mount to x-initrd.rootfs, in order to only use a single namespace "x-initrd." for all mount options of the initrd.
This commit is contained in:
parent
eece8c6fb5
commit
790838e4f1
2
TODO
2
TODO
@ -59,8 +59,6 @@ Features:
|
||||
* introduce timers.target and paths.target and automatucally order all
|
||||
timers and paths before it and after sysinit.target.
|
||||
|
||||
* x-initrd-rootfs.mount in fstab-generator needs to go or get a saner name
|
||||
|
||||
* matching against units is currently broken in journalctl. We really
|
||||
need another AND level in the expressions,
|
||||
i.e. sd_journal_add_conjunction().
|
||||
|
@ -202,7 +202,7 @@ static bool mount_in_initrd(struct mntent *me) {
|
||||
static bool mount_is_rootfs(struct mntent *me) {
|
||||
assert(me);
|
||||
|
||||
return hasmntopt(me, "x-initrd-rootfs.mount");
|
||||
return hasmntopt(me, "x-initrd.rootfs");
|
||||
}
|
||||
|
||||
static int add_mount(const char *what, const char *where, const char *type, const char *opts,
|
||||
|
Loading…
Reference in New Issue
Block a user