From: Zbigniew Jędrzejewski-Szmek Date: Tue, 12 Nov 2013 05:53:59 +0000 (-0500) Subject: fsck,fstab-generator: be lenient about missing fsck. X-Git-Tag: v209~1422 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=94192cdaf652c9717f15274504ed315126c07a93;hp=94192cdaf652c9717f15274504ed315126c07a93 fsck,fstab-generator: be lenient about missing fsck. If fstab contains 1 for passno, treat this as an error, but only warn briefly. If fstab doesn't contain this information, don't complain at all. Patch is complicated a bit by the fact that we might have the fstype specified in fstab or on /proc/cmdline, in which case we can check if we have the appropriate fsck tool, or not specified, or specified as auto, in which case we have to look and check the type of the filesystem ourselves. It cannot be done before the device appears, so it is too early in the generator phase, and it must be done directly in fsck service. ---