git: HAMMER utility - Handle pruning when only snapshot meta-data present

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Nov 10 12:17:43 PST 2010


commit 0551025b89baa39c4dba9406c0314cc00778de31
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Nov 10 12:12:45 2010 -0800

    HAMMER utility - Handle pruning when only snapshot meta-data present
    
    * If only snapshot meta-data is present and no snapshot softlinks are found
      hammer prune (and hammer cleanup) previous exited with an error.  This case
      can occur when creating manual snapshot softlinks and/or trying to prune
      a slave PFS.
    
    * In fact this is incorrect.  If meta-data is present we can prune based
      on that.

Summary of changes:
 sbin/hammer/cmd_softprune.c |   14 ++++++++++----
 sbin/hammer/hammer.8        |    6 +++++-
 2 files changed, 15 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0551025b89baa39c4dba9406c0314cc00778de31


-- 
DragonFly BSD source repository





More information about the Commits mailing list