HAMMER - more fixes to snapshot softlink generation
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Oct 2009 20:20:06 +0000 (13:20 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 16 Oct 2009 20:20:06 +0000 (13:20 -0700)
commitb78f1a0033e49eaf6c65ff26a6998367a00875a6
tree6938817b123c57897721a7897f7ca6e0f55bb96d
parent75c6279b98487d6d8996637931293b003864b3bd
HAMMER - more fixes to snapshot softlink generation

* Instead of generating "<directory>/@@0x<transid>" we want
  to generate "<directory>@@0x<transid>" (without the /).

  Otherwise if the directory is rm -rf'd and recreated, the
  snapshot will be pointing to the wrong place.
sbin/hammer/cmd_snapshot.c