[systemd-devel] [RFC] [PATCH 1/3] units: order systemd-fsck at .service after local-fs-pre.target.

Ivan Shapovalov intelfx100 at gmail.com
Sat Aug 23 05:47:52 PDT 2014

With this change, it becomes possible to order a unit to activate before any
modifications to the file systems. This is especially useful for supporting
resume from hibernation.
 units/systemd-fsck at .service.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/units/systemd-fsck at .service.in b/units/systemd-fsck at .service.in
index c12efa8..d2cda6a 100644
--- a/units/systemd-fsck at .service.in
+++ b/units/systemd-fsck at .service.in
@@ -10,7 +10,7 @@ Description=File System Check on %f
 Documentation=man:systemd-fsck at .service(8)
-After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device systemd-fsck-root.service
+After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device systemd-fsck-root.service local-fs-pre.target

More information about the systemd-devel mailing list