[systemd-devel] perform fsck on everyt boot

Belisko Marek marek.belisko at gmail.com
Mon Nov 11 12:33:46 UTC 2019


Hi,

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.

BR,

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com


More information about the systemd-devel mailing list