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:11 +01:00
parent eece8c6fb5
commit 790838e4f1
2 changed files with 1 additions and 3 deletions
+1 -1
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,