reassign 218980 parted thanks On Mon, Nov 10, 2003 at 01:01:09AM +0000, Philip Blundell wrote: > On Sun, 2003-11-09 at 19:46, Sven Luther wrote: > > Well, it should not at least. I will investigate and see if the > > linux/fs.h is where it comes from or not. I was not able to find where > > the size_t was defined though. > > This block of definitions in libparted/linux.c looks kind of > suspicious. Particularly the last line: > > /* from <linux/fs.h> */ > #define BLKRRPART _IO(0x12,95) /* re-read partition table */ > #define BLKGETSIZE _IO(0x12,96) /* return device size */ > #define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ > #define BLKSSZGET _IO(0x12,104) /* get block device sector size */ > #define BLKGETLASTSECT _IO(0x12,108) /* get last sector of block device > */ > #define BLKSETLASTSECT _IO(0x12,109) /* set last sector of block device > */ > #define BLKGETSIZE64 _IOR(0x12,114,sizeof(uint64_t)) /* return device > size in bytes (u64 *arg) */
Arg, they just plain copied the header, how could i have missed that. Ok, i will fix that. What is the correct way of handling this ? Just including linux/fs.h ? IS that one supposed to work for userland or not ? Copy the current linux/fs content to this file ? Friendly, Sven Luther

