sbin/mount_hammer: Simplify ondisk verification
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 3 Nov 2016 13:37:06 +0000 (22:37 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 3 Nov 2016 15:26:51 +0000 (00:26 +0900)
commit920e34fae0e0b04c5f16eb0e9ebf62d0ad3c2491
tree5a195e1378d3f3d05c13a9809e3fda745f6d4b91
parent459a6a40486fd2968e7232f532740844263a6bf3
sbin/mount_hammer: Simplify ondisk verification

Unlike sbin/hammer or sbin/newfs_hammer, sbin/mount_hammer
has no restriction regarding I/O size since it's readonly.
It doesn't have to be 16KB as long as I/O size meets the
requirement of read(2) over a raw block device.
sbin/mount_hammer/mount_hammer.c