HAMMER Utility - Fix snapshots migration for non-default directories
authorYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 21 Feb 2010 22:36:59 +0000 (07:36 +0900)
committerYONETANI Tomokazu <y0netan1@dragonflybsd.org>
Sun, 21 Feb 2010 22:36:59 +0000 (07:36 +0900)
commitf510bf3e4208e7537bae856115d1aa610a2a1ac6
tree1438f999757867493621e4c1978e7b94b570c29d
parent57b00d10a265a6322e4995fd448a97d99de9afd4
HAMMER Utility - Fix snapshots migration for non-default directories

Snapshots migration failed if the snapshots directory contained hyphens
or dots.  Also catch the case when it couldn't parse the name of a snapshot
symlink and give the operator a clue.
sbin/hammer/cmd_cleanup.c