Delete files let FreeBSD crashes.
Damien Fleuriot
ml at my.gd
Sat Mar 3 16:07:18 UTC 2012
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.
More information about the freebsd-questions
mailing list