[systemd-devel] no fsck at boot

Mike Gilbert floppym at gentoo.org
Mon Jun 23 16:06:16 PDT 2014


On Mon, Jun 23, 2014 at 6:15 PM, Chris Murphy <lists at colorremedies.com> wrote:
> But in any case, is there a better way to trigger fsck for ext3/4, and not for XFS and Btrfs, based on some information other than fstab fs_passno? If systemd knew the root file system type before mounting, it could always issue fsck for ext3/4 and never do it for XFS and Btrfs. Maybe it's fs_passno that's become antiquated? Although this may not be generic enough so early in the boot process for systemd to determine file system type without a mount attempt?
>

The btrfs wiki recommends not installing btrfsck as /sbin/fsck.btrfs.
Instead, it advises to copy/link a no-op command like /bin/true.


More information about the systemd-devel mailing list