Re: [PATCH, TRIVIAL] Fix argument of BLKGETSIZE64

From: David Woodhouse (
Date: Wed Jun 12 2002 - 08:47:08 EST said:
> This issue is that when I try to use the BLKGETSZ64 ioctl from a user
> space program, the version of linux/fs.h shipped with glibc-2.2.5
> contains a u64 type.

> You could argue that this is a glibc bug.

I do indeed. I further argue that it has no business being discussed on the
kernel mailing list, just because the kernel happens to have a header with
a similar name.

> But the way that glibc generates the include/linux headers is just
> to copy them from some kernel tree or other, with a little mangling
> on the side.

This errant behaviour would appear to be the cause of the bug you've
observed. Glibc should be providing its own header files.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:25 EST