Another HAMMER crash

Johannes Hofmann johannes.hofmann at gmx.de
Fri Jul 25 09:00:15 PDT 2008


Matthew Dillon <dillon at apollo.backplane.com> wrote:
> 
> :Yes, that helped.
> :
> :>     I recommend always doing a normal mount and using cd @@0x<TID> to
> :>     push into a snapshot.
> :
> :I had no snapshot. I just wanted to try the as-of mount. I read the
> :manual but failed to understand it. hammer(5) says:
> :
> :'Prior versions of files or directories are accessible by appending @@
> :and a transaction ID to the name.'
> :
> :I could not access them this way.
> :
> :-- 
> :Gergo Szakal MD <bastyaelvtars at gmail.com>
> :University Of Szeged, HU
> 
>    You can generate the transaction ids manually using 'hammer synctid',
>    or you can extract them from a file using 'undo -i <filename>'.  You
>    get a snapshot every 30-60 seconds even if you don't lift a finger,
>    but unless you record the transaction ids somewhere you'd have to
>    do some sleuthing (e.g. with undo -i) to get them.

It would be nice to have something like undo -i that works recursively
on a directory.
Is there a more efficient way to do it than

find . -print0 | xargs -0 undo -i | sort 

?

  Johannes





More information about the Bugs mailing list