From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 05:50:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F7D116A4CE for ; Tue, 20 Apr 2004 05:50:27 -0700 (PDT) Received: from energistic.com (mail.virtual-voodoo.com [65.204.79.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id D713C43D2F for ; Tue, 20 Apr 2004 05:50:26 -0700 (PDT) (envelope-from steve@energistic.com) Received: from energistic.com (steve@localhost [127.0.0.1]) by energistic.com (8.12.11/8.12.11) with ESMTP id i3KCoQxL030219; Tue, 20 Apr 2004 07:50:26 -0500 (EST) (envelope-from steve@energistic.com) Received: (from steve@localhost) by energistic.com (8.12.11/8.12.11/Submit) id i3KCoQhK030218; Tue, 20 Apr 2004 07:50:26 -0500 (EST) (envelope-from steve) Date: Tue, 20 Apr 2004 07:50:25 -0500 From: Steve Ames To: Xin LI Message-ID: <20040420125025.GA30066@energistic.com> References: <4084F85B.5070909@delit.net> <20040420102632.GA36668@e-Gitt.NET> <20040420121423.GA1154@frontfree.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040420121423.GA1154@frontfree.net> User-Agent: Mutt/1.5.6i cc: current@freebsd.org Subject: Re: A way to recover deleted files (just contents) from USF2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2004 12:50:27 -0000 On Tue, Apr 20, 2004 at 08:14:23PM +0800, Xin LI wrote: > On Tue, Apr 20, 2004 at 12:26:32PM +0200, Oliver Brandmueller wrote: > > This is a FAQ. Und the frequent answer is: > > > > You can easily recover valuable data after accsional deletion from your > > backup. If you don't have a backup, then your data don't seem to be woth > > having them backed up. > > Some Unix coursebooks even comment the result of accidentialy removal of > a file without backing up as "User should take this as a lesson". That's kinda silly. Unless files are backed up at every edit then most of us only have periodic filesystem backups. Lets say I just download a 150M file and then accidentally delete it. Rather than wasting time and bandwidth downloading again it'd be simpler to just 'unrm' it. Odds are that diskspace and even inode haven't been recycled yet. Mind you such an option takes some of the breathtaking fun of working without a net away from your shell session but hey... sometimes you actually do need the airbag. We all know we need backups. We've all had that one time when we goofed and didn't have the backup. This guy was just wondering if there was a tool available (for ufs2) that would save him some time. A lesson in good backup practices might be useful for next time but doesn't really help him now. (BTW: I have no good answer for recovering the file :) -Steve