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

Re: New kernel headers break LVM build

On Thu, Nov 20, 2003 at 01:53:03PM +0000, Patrick Caulfield wrote:
> I've looked at this is some more detail and I think I can get away with just
> asm-*/ioctl.h.

Can't you just use <sys/ioctl.h> as you should?

> The 2.6 one doesn't work because it checks the last argument to
> _IOWR etc which in lvm.h is set to "1" rather than a datatype <sigh>. liblvm.h
> also includes linux/genhd.h

what do you need from this file?  just copy & pasting the few bits from
there should be enough.

> and linux/major.h which seem to be fairly clean for
> further asm/ includes. 

I think the lvm userland only wants LVM_MAJOR from there and already
handles the case of it not beeing present.  In any case just copying the
few FOO_MAJOR defintions sounds like the easiest idea..


Reply to: