HAMMER utility - Handle pruning when only snapshot meta-data present
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 10 Nov 2010 20:12:45 +0000 (12:12 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 10 Nov 2010 20:17:08 +0000 (12:17 -0800)
commit0551025b89baa39c4dba9406c0314cc00778de31
tree033eee3583ceaec2d376fe5ae566abe3de71ca7b
parentbf1a46758276b1a0c0e7294dd7f5c67a77a42034
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.
sbin/hammer/cmd_softprune.c
sbin/hammer/hammer.8