sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [3/3]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 29 Oct 2016 15:25:22 +0000 (00:25 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 30 Oct 2016 03:31:12 +0000 (12:31 +0900)
commite2052dd5ac29e339263b3949744d21451041e664
tree8483254872d4eacdaf3ddd3eadb5fc693cad4c85
parent8ecda4274d4e3b70f83eba24986cd09a65d828d0
sbin/newfs_hammer: Allow 0 for boot_area/memory_log size [3/3]

This commit gives an option to allocate no space for
boot_area/memory_log since these aren't used for anything.

Allow boot_area/memory_log size smaller than HAMMER_{BOOT,MEM}_MINBYTES
if -f is specified. If -f is not specified, MINBYTES are still
low limits for boot_area/memory_log.

This is similar to the way newfs_hammer allows undo size smaller
than 512MB when -f is specified.
sbin/newfs_hammer/newfs_hammer.c