why fsck

Knapp magick.crow at gmail.com
Mon Mar 1 18:50:01 UTC 2010

On Mon, Mar 1, 2010 at 7:18 PM, Nils Kassube <kassube at gmx.net> wrote:
> Amedee Van Gasse (ub) wrote:
>> On Mon, March 1, 2010 17:05, Nils Kassube wrote:
>> > OTOH, I have never seen file system errors unless there was a dirty
>> > shutdown. Therefore I'm not convinced the check frequency is
>> > useful. And I don't use the mount count because I sometimes boot my
>> > machines several times a day. Instead I use the mount interval and
>> > I set it to at least 4 weeks.
>> In one of my previous messages I posted a link to a script that does
>>  an fsck ONLY when the fs is marked as dirty. Check it out.
> According to the warning from the tune2fs man page this should be
> avoided for ext3/4:
> | If you are using journaling on your filesystem, your filesystem will
> | never be marked dirty, so it will not normally be checked.
> Anyway, according to the description of the autofsck script, it only
> checks the mount count and not the dirty flag. Therefore it seems to be
> OK. However I prefer not to use the mount count but a time interval
> instead which is much more convenient for me.
> Nils

That program that moves the check from booting to quiting seems like a
good idea for desktop systems. For my lap top, I just want it to turn
on and off in a flash.

Douglas E Knapp

Open Source Sci-Fi mmoRPG Game project.

More information about the ubuntu-users mailing list