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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Jan 2002 18:56:44 +0000 (GMT)


> > 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/