From owner-freebsd-questions@FreeBSD.ORG Sat Jul 27 16:10:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 79E0AED5 for ; Sat, 27 Jul 2013 16:10:00 +0000 (UTC) (envelope-from lenthe@comcast.net) Received: from qmta05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:48]) by mx1.freebsd.org (Postfix) with ESMTP id 26CE82B0B for ; Sat, 27 Jul 2013 16:10:00 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta05.westchester.pa.mail.comcast.net with comcast id 5TQv1m0010QuhwU55U9zz4; Sat, 27 Jul 2013 16:09:59 +0000 Received: from [192.168.1.102] ([68.42.13.245]) by omta02.westchester.pa.mail.comcast.net with comcast id 5U9x1m0055HDiR83NU9yVs; Sat, 27 Jul 2013 16:09:59 +0000 Message-ID: <51F3F0D4.1040509@comcast.net> Date: Sat, 27 Jul 2013 12:09:56 -0400 From: Jason Lenthe User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130708 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Delete a directory, crash the system References: <51F3E0F1.3010401@fjl.co.uk> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1374941399; bh=lxFpnvgPR5+oLYxA0eiV2FUiskBjXp0qY5e8eSrx8ic=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=Ec5fXvCOu4INedv7sbzWwF6ntQ83mqgzQR9ZtC7M06prxb7sZnH1Ymd5LAIun2Fnk iPmM09iy01HMhColJviTSKO8gM3iD/WeOm+rO4kRb2IP6eLt/UJJ6k5EdhxydAboYd lLnDwVd5iYmfOT+V4UMIoU5R40g0uTS2Q5FGN8g0Mn2YzDdU3SDhmxtgsuIecULNIn 0Scruf5V4Ae9Mi+vN4CumhVKAuhbV5SLjwv+0O+An1o2Ix/yvkMrYMxLTd/eCKts2W 7R7WhqHkUhdhYRS8RXfwQCUt7tQZh7RfGIu3VDpNvgpO8w2hZK7sP5XB6h44cuRscC xYatH/Mj35h0g== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jul 2013 16:10:00 -0000 On 07/27/2013 11:30, David Noel wrote: > -- it's a laptop and I've inadvertently run the battery down to > nothing a few times in the past. All the same, it was a very strange > experience. I would not have expected a kernel panic from a simple rm > -rf! You may want to look into running fsck(8) and its myriad of options to try to clean up the problem (assuming you're using a ufs filesystem also see fsck_ufs(8)). fsck normally runs during startup but perhaps a set of non-default options will do the trick. Also make sure you have soft updates enabled on your filesystem and preferably journaled soft updates, if for some odd reason you don't, as that is designed to avoid filesystem inconsistencies in the face of things like power failures. Sincerely, Jason