> > 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.