summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator/gpt-auto-generator.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-11 17:27:58 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-11 17:43:41 +0100
commit98b2f766b24c84fc49a4df954717b1f96bbce00d (patch)
tree202c1630316aadd44af6214e9efe78c6fcd14515 /src/gpt-auto-generator/gpt-auto-generator.c
parentf401e2b24ba17452f9655993a6dedefdffe06d23 (diff)
gpt-auto-generator: rename root device node symlink to /dev/gpt-auto-root
Before it was placed in /dev/disk/by-id, which makes it a bit too much API. However, it's mostly an implementation detail for now, hence move it out of the stable block device dir.
Diffstat (limited to 'src/gpt-auto-generator/gpt-auto-generator.c')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index be91977de9..e487f64386 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -702,7 +702,7 @@ static int add_root_mount(void) {
return add_mount(
"root",
- "/dev/disk/by-id/gpt-auto-root",
+ "/dev/gpt-auto-root",
in_initrd() ? "/sysroot" : "/",
NULL,
arg_root_rw ? "rw" : "ro",