--- Collins Richey <[EMAIL PROTECTED]> wrote:
> 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?
Sure you could do it but its not required. But since he didn't want to
reboot, I failed to see the point in changing runlevels, as its
virtually the same thing, only takes less time.
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman [EMAIL PROTECTED]
Linux FAQ & Step-by-step help: http://netllama.ipfox.com
.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users