From owner-freebsd-questions@FreeBSD.ORG Mon Apr 21 05:51:04 2003 Return-Path: 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 B29D437B401 for ; Mon, 21 Apr 2003 05:51:04 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-122.pit.adelphia.net [24.53.161.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC2343FBD for ; Mon, 21 Apr 2003 05:51:03 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h3LCp2wl002139; Mon, 21 Apr 2003 08:51:02 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EA3E936.8010205@potentialtech.com> Date: Mon, 21 Apr 2003 08:51:02 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: epbox@yandex.ru References: <200304211419.42390.epbox@yandex.ru> In-Reply-To: <200304211419.42390.epbox@yandex.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: restore deleted files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 12:51:05 -0000 Vladik Kozin wrote: > Accidentally I did rm *.* as root in one of my users directory :( Luckily all > hidden files and all directories survived but I guess all files with > extentions have been deleted. I bet those files can somehow be restored? I > searched archives and found only some mentioning about ffsrecov port. Will it > do the thing or do I need smth else? This comes up off and on. Yes, it is possible to undelete deleted files on FreeBSD's filesystem. No, to my knowledge there is no port or program that will just do it for you. In order to undelete those files you will need to have a good understanding of how FFS works, and some luck. Search google for undelete and you'll find a few descriptions of the process. The best way to undelete the files is to restore them from backup. -- Bill Moran Potential Technologies http://www.potentialtech.com