On Sun, 8 Jul 2001 10:12:50 -0700 (PDT) Net Llama <[EMAIL PROTECTED]> wrote:

> 
> --- Joel Hammer <[EMAIL PROTECTED]> wrote:
> > I would like to run fsck on my root directory without having to
> > reboot. 
> > Could someone tell me if this is possible and if so, how do do it?
> 
> Sure its possible.  (re)Booting has really no relationship to running
> fsck.  Remount / as readonly:
> mount -o ro,remount /
> 
> THen run the fsck as normal.  When done, remount / as read-write:
> mount -o rw,remount /
> 
> ANd you're done.
> 

Just out of curiosity (I'm on reiserfs, and this is past history), but don't you need 
to backout to single user mode first?  Otherwise running daemons that want to wirte to 
/va/log /tmp etc. may complain?

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to