Assuming you're using ext2:

# fsck.ext2 -f /dev/hda5

where /dev/hda5 is the partition you're checking. The partition must NOT 
be mounted when doing any checking. If you're looking to check root, then 
I dunno. You prolly have to set something either in the filesystem header 
and then reboot, or somehow manage to do some remounting.. not even sure 
how possible it is to umount and mount in one step :)

Anyone else? :)

-Statux


On Tue, 4 Dec 2001, Stephen Liu wrote:

> Hi All People,
> 
> What command to be used to check the partition of a hard disc ?
> 
> Thanks
> 
> B.R.
> Stephen Liu
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to