diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-06-25 13:47:45 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-06-25 14:28:50 +0200 |
commit | 93a1d735aca5584a005d851f12cb0b8c7bb5e5ca (patch) | |
tree | c8bdb7467ffab4f8897f91ccd15a875df538d882 /src/core | |
parent | ca6b98ae21114064b57889a90561d86785223c4e (diff) |
units: rename fsck@.service to systemd-fsck@.service
The rule is that units that encapsulate our own code are prefixed with
"systemd-". Since the fsck units invoke our own code, hence add the
missing prefix. Since a long long time the fsck units didn't invoke the
naked fsck binaries anymore, and it is unlikely that this well ever
change. On the opposite: the code in systemd-fsck will probably get more
complex over time to handle fsck progress to plymouth forwarding.
Same for quotacheck (but not quotaon!)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mount.c | 2 | ||||
-rw-r--r-- | src/core/special.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index 3f8cf8a68f..6b358862ea 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -366,7 +366,7 @@ static int mount_add_device_links(Mount *m) { /* Let's add in the fsck service */ /* aka SPECIAL_FSCK_SERVICE */ - name = unit_name_from_path_instance("fsck", p->what, ".service"); + name = unit_name_from_path_instance("systemd-fsck", p->what, ".service"); if (!name) return -ENOMEM; diff --git a/src/core/special.h b/src/core/special.h index bc9b330ffb..f71f07675b 100644 --- a/src/core/special.h +++ b/src/core/special.h @@ -64,8 +64,8 @@ #define SPECIAL_HTTP_DAEMON_TARGET "http-daemon.target" /* Magic early boot services */ -#define SPECIAL_FSCK_SERVICE "fsck@.service" -#define SPECIAL_QUOTACHECK_SERVICE "quotacheck.service" +#define SPECIAL_FSCK_SERVICE "systemd-fsck@.service" +#define SPECIAL_QUOTACHECK_SERVICE "systemd-quotacheck.service" #define SPECIAL_QUOTAON_SERVICE "quotaon.service" #define SPECIAL_REMOUNT_FS_SERVICE "systemd-remount-fs.service" |