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:
Lennart Poettering 2013-03-25 18:18:09 +01:00
parent eece8c6fb5
commit 790838e4f1
2 changed files with 1 additions and 3 deletions

2
TODO
View file

@ -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().

View file

@ -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,