[systemd-devel] fsck and -l switch

Andrey Borzenkov arvidjaar at mail.ru
Thu Nov 25 21:40:32 PST 2010


On Fri, Nov 26, 2010 at 12:19 AM, Kay Sievers <kay.sievers at vrfy.org> wrote:
> On Thu, Nov 25, 2010 at 22:15, Tomasz Torcz <tomek at pipebreaker.pl> wrote:
>> On Thu, Nov 25, 2010 at 09:44:41PM +0100, Andrej Gelenberg wrote:
>>> Hi,
>>>
>>> -l break fsch*.service for me. fsck.ext4 don't like it. Besides why -l?
>>> From man e2fsck:
>>>
>>> -l filename
>>>               Add the block numbers listed in the file specified by
>>> filename to the list of bad blocks.  The format of this file is the
>>> same as the one generated  by  the  badblocks(8)  program.
>>
>>  You are looking at the wrong man page.

Well, it is not available in any released version of util-linux-ng, so
it is hard to look in the right man page.

May be it could be possible to release new util-linux-ng and make it
prerequisite for systemd. Otherwise it is really confusing.


Check this commit:
>> http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=dd0bd943f94392d165c5903e271c966afb0d7b75
>> for proper one.
>
> Right, only options which fsck does not understand are passed to the
> actual forked fs-specific fsck. The -l for e2fsck would need to be
> specified after a '--'.
>
> Kay
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>


More information about the systemd-devel mailing list