Undelete for UFS2?
Chad Leigh -- Shire.Net LLC
chad at shire.net
Sat Aug 12 19:12:55 UTC 2006
On Aug 12, 2006, at 1:11 PM, Martin Tournoij wrote:
> On Sat, 12 Aug 2006 18:29:20 +0200, Chad Leigh -- Shire.Net LLC
> <chad at shire.net> wrote:
>
>>
>> On Aug 12, 2006, at 7:26 AM, Martin Tournoij wrote:
>>
>>> On Sat, 12 Aug 2006 12:13:49 +0200, Andreas Davour
>>> <ante at Update.UU.SE> 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.
No, VM creates a new version of a file for each edit. So you would
have to create a snapshot after each edit, so you only get 20 edits.
And using the versioned files is not easy or intuitive since you have
to play around with a new "FS" for each one, the snapshot.
Chad
ex-DECcie
> 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
---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net
More information about the freebsd-questions
mailing list