[systemd-devel] fsck and -l switch

Andrej Gelenberg andrej.gelenberg at udo.edu
Thu Nov 25 12:44:41 PST 2010


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.
               Note that the block numbers are based on the blocksize of 
the filesystem.  Hence, badblocks(8) must be given the blocksize of the 
filesystem in order to obtain correct results.  As
               a result, it is much simpler and safer to use the -c 
option to e2fsck, since it will assure that the correct parameters are 
passed to the badblocks program.




More information about the systemd-devel mailing list