Sunday, April 01, 2018

Re: Check if fsck will be run on a partition

> > How can I know if the partition needs to be checked by fsck, I'd like to test that.
>
> Check the output of dumpfs. clean=0 means that the filesystem is
> dirty and fsck should be run.

It is cheaper to just run fsck. If it has no work to do, it finishes.

No comments:

Post a Comment