To run fsck on the next boot, first:
dumpe2fs /dev/device | grep '[mM]ount count'
then:
tune2fs -C n /dev/device
where n is the maximum count -1
Be careful and READ the man pages for tune2fs
You can umount the device in question and run fsck manually on that
device at any time.
You need to run fsck or the appropriate FS checker for EACH separate
partition type individually. I'm not aware of any multi-partition FS
tools, but that doesn't mean they're not out there.
jk
On Thursday 19 April 2001 06:00 pm, you wrote:
> Can anyone tell me an easy way to fsck my root? Conditions: I
> don't want to use a floppy disk or rescue CD. Is there a way to
> tell the system that the / partition is 'dirty' and needs to be
> fscked on the next boot?
>
> Can anyone tell me how to check a drive regardless of the
> partition(s) on it? IE, something that checks closer to a hardware
> level.
>
> Thanks,
> Cory
--
-----------------------------
James S. Kaplan KG7FU
Eugene Oregon USA
[EMAIL PROTECTED]
http://www.rio.com/~kg7fu
ICQ # 1227639
Have YOU tried Linux today?
-----------------------------