Delete files let FreeBSD crashes.

Conrad J. Sabatier conrads at cox.net
Sat Mar 3 15:38:16 UTC 2012


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.

-- 
Conrad J. Sabatier
conrads at cox.net


More information about the freebsd-questions mailing list