[clue-tech] fsck and badblocks
David Anselmi
anselmi at anselmi.us
Tue Feb 15 19:04:40 MST 2005
Angelo Bertolli wrote:
[...]
> If my entire filesystem is mounted on /, can I just do a
>
> mount -o remount,ro /
That might be bad for things that are trying to write to files (anything
that is logging).
You can run fsck -fn (-f to force a check even though the fs is marked
clean, -n to do a read-only check). This seems to work safely enough.
I do get errors on a partition that was just checked today but that may
be because it is ext3 and the journal doesn't get applied with -n.
Dave
More information about the clue-tech
mailing list