Confused about fsck

Colin Law clanlaw at googlemail.com
Thu Dec 15 11:37:06 UTC 2011


On 14 December 2011 16:14, Marius Gedminas <marius at pov.lt> wrote:
> On Wed, Dec 14, 2011 at 04:01:16PM +0000, Colin Law wrote:
>> ...
>> I can't see any options on fsck to specify what is to
>> be checked.  Can someone explain what is going on?
>
> Now if you want to do a full check, in case you don't trust the
> 'filesystem clean' bit, you can force a check with
>
>  sudo fsck -f /dev/sdb1

That is what I was looking for.  I was confused by the fact that -f
does not appear on man fsck.  I see now that that is because it is not
supplied by fsck but by e2fsck (or whatever).

Many thanks to yourself and the others that responded.

Colin




More information about the ubuntu-users mailing list