From owner-freebsd-questions@FreeBSD.ORG Mon Sep 20 14:18:01 2004 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 15A1516A4CE for ; Mon, 20 Sep 2004 14:18:01 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id D479F43D48 for ; Mon, 20 Sep 2004 14:18:00 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq64-075.dial.allstream.net [216.123.138.75]) by outbox.allstream.net (Allstream MTA) with SMTP id F08D2B48B2; Mon, 20 Sep 2004 10:17:58 -0400 (EDT) Date: Mon, 20 Sep 2004 10:17:58 -0400 From: epilogue To: freebsd@dagerot.nu Message-Id: <20040920101758.58bd301e@localhost> In-Reply-To: <200409201300.i8KD08p26254@thunder.trej.net> References: <20040920070926.GA81270@xor.obsecurity.org> <200409201300.i8KD08p26254@thunder.trej.net> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Undelete featured filesystem forfreebsd? WAS: Undelete on untouched partition 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, 20 Sep 2004 14:18:01 -0000 On Mon, 20 Sep 2004 15:00:07 +0200 Joachim Dagerot wrote: > ------------------- > | On Mon, Sep 20, 2004 at 08:23:08AM +0200, Joachim Dagerot wrote: > | > I have a disk with one single slice and one partition: ad1s1d. I > used > | > move to move ALL data on this disk to another location and after > that > | > has the disk been unused. Is there a way to get the content back > using > | > a copy of a FAT or similar? > | > | Recovering erased data from a UFS requires guru skills. > > > What a pitty, well nothing to do then I guess. Thanks for your answer. > > Is anyone aware of an approach to get some kind of soft deletion > functionality on freeBSD. I mean, it's not extremely unique to be able > to get files back after a deletion, even windows has features for this > since long time. the easiest thing to do would be to prepare for the 'next time'. 1) create a 'garbage' directory wherever you believe it would make the most sense. 2) create an alias within your .cshrc (or bash, or zsh, etc) which, when 'rm' is invoked, uses 'mv' to move the file to your 'garbage' dir. to my knowledge, this is pretty much the same approach used by windows, gnome, and kde. this link should get you started: http://www.cee.odu.edu/uclhd/uclhd_unix_undelete.php hope this helps. cheers, epi ______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >