> From: Richard Elling [mailto:richard.ell...@gmail.com]
> 
> On Apr 20, 2010, at 10:21 PM, Brandon High wrote:
> 
> > On Fri, Apr 16, 2010 at 10:54 AM, Edward Ned Harvey
> > <solar...@nedharvey.com> wrote:
> >> there's a file or something you want to rollback, it's presently
> difficult
> >> to know how far back up the tree you need to go, to find the correct
> ".zfs"
> >> subdirectory, and then you need to figure out the name of the
> snapshots
> >
> > There is one feature that OnTap has which I miss in zfs. Every
> > directory has a hidden .snapshot directory, so you never need to look
> > in the parents.
> 
> What happens when you remove the directory?

Same thing that happens when you remove the .zfs directory.  You can't.

Also, the .snapshot directory isn't visible via regular ls or whatever,
unless you explicitly name it, just like .zfs directory.

Long story short, the .snapshot directory, and the .zfs directory are pretty
much identical concepts, except that the .snapshot directory is accessible
in every subdirectory, and it has a list of the snapshots inside it, already
down at that directory level.  Whereas the .zfs directory you can only find
if you go back up to the head of the filesystem, and then you have to select
a snapshot and tunnel down again to the level you're at.

Make sense?  The .snapshot idea is better.  But presumably not allowable in
ZFS for either technical or legal reasons.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to