[systemd-devel] perform fsck on everyt boot

Reindl Harald h.reindl at thelounge.net
Mon Nov 11 12:44:51 UTC 2019



Am 11.11.19 um 13:33 schrieb Belisko Marek:
> I'm using systemd 234 (build by yocto) and I've setup automount of
> sdcard in fstab. This works perfectly fine. But I have seen from time
> to time when system goes to emergency mode because sdcard filesystem
> (ext4) have an issue and cannot be mounted. I was thinking about
> forcing fsck for every boot. Reading manual it should be enough to set
> passno (6th column in fstab) to anything higher then 0. I set ti to 2
> but inspecting logs it doesn't seems fsck is performed. Am I still
> missing something? Thanks.

every boot dunno, but every day is simple to set with tune2fs [-i
interval[d|m|w]]


More information about the systemd-devel mailing list