You are not logged in.
On my pure systemd setup, /sbin/shutdown is of course symlinked to /usr/bin/systemctl and I am wondering what is the proper or easy method to force a disk check on reboot. This was accomplished via the -F switch in the past, i.e. `shutdown -rF now` but the -F switch is not part of systemctl. Back in the old days, one had to `sudo touch /forcefsck`prior to rebooting. Is there a more elegant solution?
Thanks!
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I think the only other option is to pass fsck.mode=force to the kernel command line (man systemd-fsck)
Offline