From owner-freebsd-questions@FreeBSD.ORG Sat Aug 12 19:11:16 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 0C82116A511 for ; Sat, 12 Aug 2006 19:11:16 +0000 (UTC) (envelope-from carpetsmoker@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B2643D79 for ; Sat, 12 Aug 2006 19:11:08 +0000 (GMT) (envelope-from carpetsmoker@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so395995pyc for ; Sat, 12 Aug 2006 12:11:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:to:subject:from:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=epUjR+z3LI/bYz5VxEoKOjK8ZkebDh4iTP6z9v7I1np1RPFQplxn/DU3YvwbQmq/BgKg0kpzB4MG2KZGIoEcDFxNJF7uJU0VPDWgfBBaNH096yL+lo9nXfnkVTaogYiZjEGaDJBjfmOIMQ7q2uhaLXgBVqahXREqPjMMpioa4fs= Received: by 10.35.22.17 with SMTP id z17mr9118002pyi; Sat, 12 Aug 2006 12:11:08 -0700 (PDT) Received: from carpet ( [82.93.23.199]) by mx.gmail.com with ESMTP id v50sm4046453pyv.2006.08.12.12.11.06; Sat, 12 Aug 2006 12:11:08 -0700 (PDT) Date: Sat, 12 Aug 2006 21:11:05 +0200 To: "Chad Leigh -- Shire.Net LLC" From: "Martin Tournoij" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <44DD336C.1080403@comcast.net> <531772590.20060812103027@rulez.sk> <96F1B869-255C-403B-9A91-ACA042D2E14C@shire.net> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <96F1B869-255C-403B-9A91-ACA042D2E14C@shire.net> User-Agent: Opera Mail/9.00 (FreeBSD) Cc: freebsd-questions Questions Subject: Re: Undelete for UFS2? 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: Sat, 12 Aug 2006 19:11:16 -0000 On Sat, 12 Aug 2006 18:29:20 +0200, Chad Leigh -- Shire.Net LLC wrote: > > On Aug 12, 2006, at 7:26 AM, Martin Tournoij wrote: > >> On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour >> wrote: >> >>> On Sat, 12 Aug 2006, Daniel Gerzo wrote: >>> >>>> Hello Chris, >>>> >>>> Saturday, August 12, 2006, 3:48:28 AM, you wrote: >>>> >>>>> Lastly surely someone has implemented a trash folder mechanism for >>>>> freebsd... what is it called so I can look up how to install it? >>>> >>>> maybe something like: >>>> >>>> mkdir ~/.trash >>>> alias rm 'mv -iv \!* ~/.trash/' >>> >>> You don't have a handy solution for the lack of file version numbering >>> as well? >>> That's something I'd love to see in ext4 or UFS3! >>> >>> /andreas >>> >> >> Snapshots? > > Isn't a snapshot a filesystem wide thing? Sounds to complicated for > file-level versioning without something on top of it like the new Apple > Time Machine business > > I agree it would be nice to have file versioning in the FS like VMS does. > > Chad > Yeah, snapshots are FS-wide. If you make one once a day it's almost the same as a FS VMS feature. You can have a total of 20 snapshots, so that's 20 days... Snapshots really aren't that complicated, take a look at the handbook entry: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/snapshots.html Basicly it's just: # mknap_ffs /usr 20060812 And you have a snapshot of /usr named 20060812 Also, there's a port which offers some usefull scripts sysutils/freebsd-snapshot