Directory not empty

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Feb 25 14:00:16 GMT 2005


"Loren M. Lang" <lorenl at alzatex.com> writes:

> On Fri, Feb 25, 2005 at 11:29:17AM +0800, T.F. Cheng wrote:
> > man, you are right, I now recall there was a crash
> > during the last portupgrade. And there is "
> > /dev/ad0s1f: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN
> > fsck MANUALLY." in my /var/log. 
> > Guess the mystery is solved.
> > Then why do I have to reboot first then run bgfsck?
> > Can I run this myself without rebooting? 
> 
> kill -TERM 1 will send your system into single user mode without
> rebooting.  Assuming you haven't done system like increase the
> securelevel, you should be able to fsck the drive from here.  

The disk will still be mounted read-write.  It would be good to
umount(8) it before using fsck(8) on it.  Then, mounting it again
before returning to multi-user mode will be necessary.


More information about the freebsd-questions mailing list