tech-kern archive

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

Re: disk driver interface

On Mon, Dec 29, 2014 at 11:08:27PM +0000, Michael van Elst 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.

That must be what I'm thinking of.

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

It might be a good idea to do this for our own use, but probably it
shouldn't be a 3rd-party interface. (Unless we decide like the look of
it, I guess.)

Although I'm not real thrilled about multiplying uses of proplib...

David A. Holland

Home | Main Index | Thread Index | Old Index