Let /sbin/newfs_hammer access debug tunable which is accessible
via the same -d option in /sbin/hammer.
The real problem here is that /sbin/newfs_hammer and /sbin/hammer are having their own getopt call, while these two share the basic
volume/buffer structure that manages ondisk filesystem metadata, and some options that have something to do with volume/buffer structure are available only in /sbin/hammer.
This option isn't mentioned in newfs_hammer(8) because hammer(8) doesn't either. There are only a few places that actually use this debug flag, so no real users use this and no one cares.
b229077 sbin/newfs_hammer: Add -d option from hammer(8)
sbin/newfs_hammer/newfs_hammer.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
Upstream: gitweb.dragonflybsd.org