In article <20140311130940.GA456@quark>, Patrick Welche <pr...@cam.ac.uk> 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/vnd0a >size of /dev/vnd0a: 524288 bytes > >Thanks to pooka@ for help in creating librumpdev_vnd.so which made finding >the root of the problem easy. > >Comments?
LGTM. christos