git: HAMMER utility - Handle pruning when only snapshot meta-dat

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 0551025b89baa39c4dba9406c0314cc00778de31 Author: Matthew Dillon <dillon@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
文章代碼(AID): #1CvoLYs4 (DFBSD_commit)