[linux-lvm] Re: [RFLART] kdev_t in ioctls

Christoph Hellwig hch at caldera.de
Mon Jan 14 12:47:02 UTC 2002


On Mon, Jan 14, 2002 at 06:56:44PM +0000, Alan Cox wrote:
> > > Glibc disagrees with you (bits/types.h):
> > > 
> > > typedef __u_quad_t __dev_t;             /* Type of device numbers.  */
> > > 
> > > We'd have to use __kernel_dev_t instead which again pulls kernel
> > > headers in..
> > 
> > Argg.  That's also non-funny:
> 
> glibc is meant to disagree. glibc provides a virtualised dev_t to user space
> so that the kernel one can be expanded in future without application
> breakage.

I know - still it makes Linus' suggestion not work on ~90% of the
systems.




More information about the linux-lvm mailing list