summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--units/fsck@.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/units/fsck@.service.in b/units/fsck@.service.in
index 0f4f026620..f0ccc8f075 100644
--- a/units/fsck@.service.in
+++ b/units/fsck@.service.in
@@ -8,7 +8,8 @@
[Unit]
Description=File System Check on %I
DefaultDependencies=no
-After=systemd-readahead-collect.service systemd-readahead-replay.service
+Requires=%i.device
+After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device
Before=local-fs.target shutdown.target
[Service]