Re: DIOCGDISKINFO support for vnd

2014-03-11 Thread Christos Zoulas
In article <20140311130940.GA456@quark>, Patrick Welche wrote: >-=-=-=-=-=- > >The attached trivial patch allows vnd(4) to support generic disk ioctls. >The only one in kern/subr_disk.c at the moment is DIOCGDISKINFO. > >Before: >$ ./vndtest /dev/vnd0a >vndtest: DIOCGDISKINFO: Inappropriate ioct

Re: DIOCGDISKINFO support for vnd

2014-03-11 Thread Alan Barrett
On Tue, 11 Mar 2014, Patrick Welche wrote: The attached trivial patch allows vnd(4) to support generic disk ioctls. The only one in kern/subr_disk.c at the moment is DIOCGDISKINFO. Before: $ ./vndtest /dev/vnd0a vndtest: DIOCGDISKINFO: Inappropriate ioctl for device After: $ ./vndtest /dev/vn

DIOCGDISKINFO support for vnd

2014-03-11 Thread Patrick Welche
The attached trivial patch allows vnd(4) to support generic disk ioctls. The only one in kern/subr_disk.c at the moment is DIOCGDISKINFO. Before: $ ./vndtest /dev/vnd0a vndtest: DIOCGDISKINFO: Inappropriate ioctl for device After: $ ./vndtest /dev/vnd0a size of /dev/vnd0a: 524288 bytes Thanks t