"Jeremy Teo" <[EMAIL PROTECTED]> wrote:

> Hello,
>
> with reference to bug id #4852821: user undo
>
> I have implemented a basic prototype that has the current functionality:
>
> 1) deleted files/directories are moved to /your_pool/your_fs/.zfs/deleted
> Unfortunately, it is non-trivial to completely reproduce the namespace
> of deleted files: for now, deleting "/foo/bar" will result in
> ".zfs/deleted/bar".
> 2) As a result of 1, deleted files move out of .zfs/deleted in FIFO.
> Ie. if you remove /foo/bar twice, the most recent copy will be the one
> remaining in .zfs/deleted.
> 3) If another user deletes /foo/bar, and you try to delete /foo/bar,
> you will be denied permissions. Again, this is due to namespace
> clashes.

How about appending the decimal inode number to the file name?

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to