tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: disk driver interface
jnemeth%cue.bc.ca@localhost (John Nemeth) writes:
> As far as I know, the only drivers that don't support drvctl(4)
>and DIOCGDISKINFO are ccd(4) and cgd(4). They should just be fixed.
I just added DIOCGDISKINFO support to cgd. ccd(4) is a more difficult
beast, it pre-dates even the change to use device_t.
>} >- import FreeBSD DIOCGMEDIASIZE (and DIOCGSECTORSIZE) ioctls.
>}
>} I would do that anyway, since it is simple and most things just
>} need those two numbers.
> These ioctls could probably also be added to
>src/sys/kern/disk_subr.c:disk_ioctl().
I have added DIOCGMEDIASIZE and DIOCGSECTORSIZE, should be now
supported by all drivers but ccd(4).
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index