From owner-freebsd-questions@FreeBSD.ORG Sun Aug 6 23:18:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 18D4B16A4DE for ; Sun, 6 Aug 2006 23:18:13 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EDAA43D49 for ; Sun, 6 Aug 2006 23:18:12 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sun, 06 Aug 2006 19:18:11 -0400 id 00056407.44D678B3.0000349B Date: Sun, 6 Aug 2006 19:18:09 -0400 From: Bill Moran To: Ian Lord Message-Id: <20060806191809.806e3094.wmoran@collaborativefusion.com> In-Reply-To: <7.0.0.16.2.20060806180115.05b25278@msdi.ca> References: <7.0.0.16.2.20060806180115.05b25278@msdi.ca> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.19; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: urgent: I just rm-r a directory 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: Sun, 06 Aug 2006 23:18:13 -0000 Ian Lord wrote: > I did a rm-r by mistake on a directory... any way to recover ? As has already been said, it's extremely difficult to recover an rmed directory. If you don't have backups, and the data is _very_ importation, immediately shut down the OS and turn off the system to avoid overwriting anything. It's possible that there's still enough data on the disk to reconstruct everything, but any time you write to the disk you could be destroying it. >From there, the road to recovery is difficult and/or expensive. There are folks out there with the knowledge to recover a deleted directory, and there are some HOWTOs floating around the 'net, but it's an involved and time-consuming process. -- Bill Moran Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote. Benjamin Franklin