From owner-freebsd-questions@FreeBSD.ORG Sat Mar 3 15:38:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08B641065749 for ; Sat, 3 Mar 2012 15:38:16 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 98C208FC25 for ; Sat, 3 Mar 2012 15:38:15 +0000 (UTC) Received: from eastrmimpo209.cox.net ([68.230.241.224]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120303153804.NNNF26743.eastrmfepo102.cox.net@eastrmimpo209.cox.net>; Sat, 3 Mar 2012 10:38:04 -0500 Received: from serene.no-ip.org ([98.164.84.176]) by eastrmimpo209.cox.net with bizsmtp id h3e31i00Q3oG0Ji023e4V0; Sat, 03 Mar 2012 10:38:04 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020208.4F523ADC.00D7,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=ehEAP6//wEmZQj3qdOIars5YDil1juweOAjBHb6jSCQ= c=1 sm=1 a=7qgEHbTkCy8A:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=qwmwShWo9LG1Fa0ONy89vg==:17 a=pGLkceISAAAA:8 a=kviXuzpPAAAA:8 a=ZNiPapWXNI2WBKk_FpIA:9 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=4vB-4DCPJfMA:10 a=qwmwShWo9LG1Fa0ONy89vg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q23Fc2VC006525; Sat, 3 Mar 2012 09:38:03 -0600 (CST) (envelope-from conrads@cox.net) Date: Sat, 3 Mar 2012 09:37:57 -0600 From: "Conrad J. Sabatier" To: netroby Message-ID: <20120303093757.0b8b5427@cox.net> In-Reply-To: References: <4F4C7E23.3050404@gmail.com> <4F4C8BCA.1080809@my.gd> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Damien Fleuriot , freebsd-questions@freebsd.org Subject: Re: Delete files let FreeBSD crashes. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 15:38:16 -0000 On Wed, 29 Feb 2012 09:24:55 +0800 netroby 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