summaryrefslogtreecommitdiffstats
path: root/src/fstab-generator
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-03-25 18:18:09 +0100
committerLennart Poettering <lennart@poettering.net>2013-03-25 18:18:11 +0100
commit790838e4f16831f2bb06aeb845b9e2fb0f1d28dd (patch)
treed95225f653d52a515707485d74632d74bcf3a683 /src/fstab-generator
parentupdate TODO (diff)
downloadsystemd-790838e4f16831f2bb06aeb845b9e2fb0f1d28dd.tar.xz
systemd-790838e4f16831f2bb06aeb845b9e2fb0f1d28dd.zip
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.
Diffstat (limited to 'src/fstab-generator')
-rw-r--r--src/fstab-generator/fstab-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c
index cf85d3189a..d5f9db49ca 100644
--- a/src/fstab-generator/fstab-generator.c
+++ b/src/fstab-generator/fstab-generator.c
@@ -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,