Date: Sat, 3 Mar 2012 09:37:57 -0600 From: "Conrad J. Sabatier" <conrads@cox.net> To: netroby <hufeng1987@gmail.com> Cc: Damien Fleuriot <ml@my.gd>, freebsd-questions@freebsd.org Subject: Re: Delete files let FreeBSD crashes. Message-ID: <20120303093757.0b8b5427@cox.net> In-Reply-To: <CAEZo%2BgfOiXvMD6uebz%2BRumPMihL94q33OQvZidc6hm%2Bi7UVLSg@mail.gmail.com> References: <4F4C7E23.3050404@gmail.com> <4F4C8BCA.1080809@my.gd> <CAEZo%2BgfOiXvMD6uebz%2BRumPMihL94q33OQvZidc6hm%2Bi7UVLSg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Feb 2012 09:24:55 +0800 netroby <hufeng1987@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@cox.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120303093757.0b8b5427>