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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 18 09:47:20 PST 2010


commit 63948e839781ff95b7f762aa2bc8a7f14970a48c
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/63948e839781ff95b7f762aa2bc8a7f14970a48c


-- 
DragonFly BSD source repository





More information about the Commits mailing list