Add the 'hammer cleanup' command. This is a meta-command which will
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Sep 2008 04:23:21 +0000 (04:23 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 20 Sep 2008 04:23:21 +0000 (04:23 +0000)
commit6a6e350f070fda1b42c5f10e052becd78ae7c90c
tree2d7b59e2a4526f2804f2522a689e87ab853f026e
parent6e0b5fc793835d0ca9562c755db45bd4e6665dca
Add the 'hammer cleanup' command.  This is a meta-command which will
process specified HAMMER filesystem or, if none specified, locate all
mounted HAMMER filesystems and run snapshot, pruning, and reblocking
commands a appropriate.

If the <fs>/snapshots directory or <fs>/snapshots/config file does not
exist, they will be created.
sbin/hammer/Makefile
sbin/hammer/cmd_cleanup.c [new file with mode: 0644]
sbin/hammer/hammer.8
sbin/hammer/hammer.c
sbin/hammer/hammer.h