Allow the sector size to be specified by the user when configuring a
authorjsing <jsing@openbsd.org>
Thu, 14 Aug 2008 17:10:29 +0000 (17:10 +0000)
committerjsing <jsing@openbsd.org>
Thu, 14 Aug 2008 17:10:29 +0000 (17:10 +0000)
commitc902fadbae12e0dfdef3c9349c9d410471c99ac9
tree486d91d145b42f70621fff27b01ee58b33041bee
parent976784e43aabd65721f6754f60757d583f76549a
Allow the sector size to be specified by the user when configuring a
vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us
to create disklabels and file systems that are suitable for use on
devices that have a non-512 byte sector size (eg. CDROMs).

With help from krw@ and feedback from pedro@.

ok krw@, pedro@
sbin/mount_vnd/mount_vnd.8
sbin/mount_vnd/mount_vnd.c
sys/dev/vnd.c
sys/dev/vndioctl.h