1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00
systemd/test/test-fstab-generator/test-19-mounts-from-cmdline.expected/systemd-fsck-usr.service
Yu Watanabe 239cce3870 fstab-generator: enable fsck for block device mounts specified in systemd.mount-extra=
Like we do for root= or so.

Another possible option is adding support of fifth (sixth?) field in
systemd.mount-extra=. But that may be overkill, hence let's do that
later if someone request that.

Fixes fsck part of issue #28541.
2023-07-28 09:28:26 +09:00

18 lines
403 B
Desktop File

# Automatically generated by systemd-fstab-generator
[Unit]
Description=File System Check on /dev/sdx5
Documentation=man:systemd-fsck-usr.service(8)
DefaultDependencies=no
BindsTo=dev-sdx5.device
Conflicts=shutdown.target
After=local-fs-pre.target dev-sdx5.device
Before=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/systemd/systemd-fsck /dev/sdx5
TimeoutSec=infinity