git: HAMMER - more fixes to snapshot softlink generation

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Oct 16 13:21:32 PDT 2009


commit b78f1a0033e49eaf6c65ff26a6998367a00875a6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Oct 16 13:20:06 2009 -0700

    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.

Summary of changes:
 sbin/hammer/cmd_snapshot.c |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b78f1a0033e49eaf6c65ff26a6998367a00875a6


-- 
DragonFly BSD source repository





More information about the Commits mailing list