tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: disk driver interface (David Holland) writes:

>On Mon, Dec 29, 2014 at 04:46:07PM +0000, Christos Zoulas wrote:
> > Actually there is also:
> >  - ioctl DIOCGDISKINFO. This is supposed to work for all kinds of
> >    disks but it returns a plist, and it is a pain to use.

>Didn't we get something in libutil for calling it? Or am I thinking of
>some in-kernel interface?

The kernel has a helper function.

It would be simple to create such a function in libutil (currently
there is code shared in partutil.c from fsck).

                                Michael van Elst
                                "A potential Snark may lurk in every tree."

Home | Main Index | Thread Index | Old Index