Delete files let FreeBSD crashes.

Conrad J. Sabatier conrads at cox.net
Sat Mar 3 16:20:43 UTC 2012


On Sat, 3 Mar 2012 17:06:29 +0100
Damien Fleuriot <ml at my.gd> wrote:

> 
> On 3 Mar 2012, at 16:37, "Conrad J. Sabatier" <conrads at cox.net> wrote:
> 
> > On Wed, 29 Feb 2012 09:24:55 +0800
> > netroby <hufeng1987 at gmail.com> wrote:
> > 
> >> Thanks .
> >> I had resolved the problem :
> >> 
> >> 1. restart FreeBSD to single user mode.
> >> 2. umount all device then run fsck -f
> >> 3. after finished the fsck, restart FreeBSD , return to normal
> >> mode. 4. delete the broken directory, and restore the data from
> >> backup. 5. every thing seems ok now.
> >> 
> >> 
> >> netroby
> > 
> > That's all well and good, but just for future reference, when you
> > boot into single-user mode, the root partition will already be
> > mounted read-only.  It's not necessary to mount any other
> > partitions before running fsck, and in fact, it is advised *not* to
> > do so.
> > 
> 
> You misread his message, he said he *u*mounted partitions.

Whoops, he sure did, didn't he?  What was I thinking?  :-)

Conrad, skulking quietly off into a corner, red-faced

-- 
Conrad J. Sabatier
conrads at cox.net


More information about the freebsd-questions mailing list