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

Christoph Hellwig (hch@caldera.de)
Mon, 14 Jan 2002 19:45:54 +0100


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