Andreas Nilsson <> wrote:
> On Sun, Jan 25, 2015 at 9:31 AM, Perry Hutchison <>
> wrote:
> > -r276737 removed 4 ioctls, including DIOCGDINFO, from <sys/disklabel.h>.
> > The commit log entry says only "Remove old ioctl use and support, once
> > and for all."
> >
> > What are users of that mechanism supposed to use instead?
> might have the answer for you.

Same symptom, but DIOCGMEDIASIZE is not the solution in this case
because the port reads the disklabel to identify the partition that
contains a particular sector of the device.  To do that, AFAIK it
needs to actually retrieve and examine the label.  The other ioctls
in <sys/disk.h> don't look all that promising, either.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to