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

Alan Cox alan at lxorguk.ukuu.org.uk
Mon Jan 14 12:45:01 UTC 2002


> > 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.




More information about the linux-lvm mailing list