> From: Richard Elling [mailto:richard.ell...@gmail.com]
> 
> There are some interesting design challenges here.  For the general
> case, you
> can't rely on the snapshot name to be in time order, so you need to
> sort by the
> mtime of the destination.

Actually ...

drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-01-00-00-00/
drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-02-00-00-00/
drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-03-00-00-00/
drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-04-00-00-00/
drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-05-00-00-00/
drwxr-xr-x  16 root root 20 Mar 29 12:07 daily-2010-04-06-00-00-00/

Um ... All the same time.
Even if I "stat" those directories ... 
Access:  Modify:  and Change:  are all useless...

How in the heck can you identify when a snapshot was taken, if you're not
relying on the name of the snapshot?


> It would be cool to only list files which are different.

Know of any way to do that?

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

Reply via email to