Improve emulation of a disktab entry (-t) by using the type
authorkrw <krw@openbsd.org>
Sun, 14 May 2023 18:34:02 +0000 (18:34 +0000)
committerkrw <krw@openbsd.org>
Sun, 14 May 2023 18:34:02 +0000 (18:34 +0000)
commit958ded8abeba88abfb1869eea4dd2ca6565b0a41
tree2823291c993f9febe532df043878e3b250be7e4a
parent583d809535af563150c20822bc84663264fc148b
Improve emulation of a disktab entry (-t) by using the type
specified in the disktab entry (:dt:) when setting the default
disklabel's d_type. This will enable installboot(8) to know the
vnd device should be treated as a floppy disk.

Feedback & improved field packing from millert@
sbin/vnconfig/vnconfig.c
sys/dev/vnd.c
sys/dev/vndioctl.h