git: sbin/newfs_hammer: Add -d option from hammer(8)
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Aug 11 05:49:59 PDT 2016
commit b2290779f82556d039af760ae58288904b2ba967
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu Aug 11 19:55:07 2016 +0900
sbin/newfs_hammer: Add -d option from hammer(8)
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.
Summary of changes:
sbin/newfs_hammer/newfs_hammer.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b2290779f82556d039af760ae58288904b2ba967
--
DragonFly BSD source repository
More information about the Commits
mailing list