[systemd-devel] [PATCH 1/3] fstab-generator: Generate explicit dependencies on systemd-fsck at .service instead of using FsckPassNo

Jan Engelhardt jengelh at inai.de
Mon Sep 30 23:56:54 PDT 2013


On Tuesday 2013-10-01 04:29, Lennart Poettering wrote:
>> >
>> > b) declare that manual passno configuration is stupid beyond treating it
>> >    as simple boolean. In thatc ase we should drop all references of
>> >    passno in the sources. Of course people might complain that we break
>> >    compat with UNIX, but well...
>> >
>> > If we go for b) then I figure people might complain that fstab(5) is not
>> > longer compatible with what systemd does?
>> 
>> b) is tempting. Given fsck's improved internal ordering handling, is
>> there actually a usecase for ordering the fsck's? I can't think of any
>> off the top of my head...
>
>I struggle coming up with one.

On an iSCSI server, export /dev/sdf1 and /dev/sdf2 as separate LUNs.
The iSCSI client will import them as /dev/sda and /dev/sdb.
That is a case where, if you can, you would specify FsckPassNo
because the automatic detection likely stops at host boundaries.


More information about the systemd-devel mailing list