From owner-freebsd-current@FreeBSD.ORG Tue Apr 20 09:53:21 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 274F316A4CE for ; Tue, 20 Apr 2004 09:53:21 -0700 (PDT) Received: from vhost109.his.com (vhost109.his.com [216.194.225.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEC4443D1F for ; Tue, 20 Apr 2004 09:53:20 -0700 (PDT) (envelope-from brad.knowles@skynet.be) Received: from [10.0.1.5] (localhost.his.com [127.0.0.1]) by vhost109.his.com (8.12.8p2/8.12.3) with ESMTP id i3KGrDgn051945; Tue, 20 Apr 2004 12:53:16 -0400 (EDT) (envelope-from brad.knowles@skynet.be) Mime-Version: 1.0 X-Sender: bs663385@pop.skynet.be Message-Id: In-Reply-To: <20040420130803.GC62962@atrbg11.informatik.tu-muenchen.de> References: <4084F85B.5070909@delit.net> <20040420102632.GA36668@e-Gitt.NET> <20040420121423.GA1154@frontfree.net> <20040420125025.GA30066@energistic.com> <20040420130803.GC62962@atrbg11.informatik.tu-muenchen.de> Date: Tue, 20 Apr 2004 18:30:49 +0200 To: Daniel Lang From: Brad Knowles Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 16:53:21 -0000 At 3:08 PM +0200 2004/04/20, Daniel Lang wrote: >> 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. [ ... deletia ... ] > simple solution: > > alias rm="rm -i" We recently discussed this subject on FreeBSD-Chat. Please see the thread including my message at . In short: been there, done that -- fifteen years ago. [0] There are major problems with this concept which need to be solved in different ways. [0] Not the twenty that I had originally claimed, due to my faulty memory. -- Brad Knowles, "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. SAGE member since 1995. See for more info.