fsck: skip root fsck if dracut already did it
This commit is contained in:
parent
cfdc0c8941
commit
7a57b332d0
2
TODO
2
TODO
|
@ -7,6 +7,8 @@ Bugs:
|
||||||
|
|
||||||
* fsck.btrfs non-existance should not cause mounting to fail
|
* fsck.btrfs non-existance should not cause mounting to fail
|
||||||
|
|
||||||
|
* single user service needs to be masked?
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
* Maybe store in unit files whether a service should be enabled by default on package installation
|
* Maybe store in unit files whether a service should be enabled by default on package installation
|
||||||
|
|
|
@ -11,6 +11,9 @@ DefaultDependencies=no
|
||||||
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
After=systemd-readahead-collect.service systemd-readahead-replay.service
|
||||||
Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service
|
Before=local-fs.target shutdown.target remount-rootfs.service quotacheck.service
|
||||||
|
|
||||||
|
# Dracut informs us with this flag file if the root fsck was already run
|
||||||
|
ConditionPathExists=!/dev/.initramfs/fsck
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
|
|
Loading…
Reference in a new issue