[systemd-devel] fsck and -l switch
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:
>>> -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:
>> 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 '--'.
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
More information about the systemd-devel