]>
Commit | Line | Data |
---|---|---|
7eda085c KZ |
1 | /* common stuff for fdisk, cfdisk, sfdisk */ |
2 | ||
22853e4a KZ |
3 | /* including <linux/fs.h> fails */ |
4 | #include <sys/ioctl.h> | |
5 | #define BLKRRPART _IO(0x12,95) /* re-read partition table */ | |
6 | #define BLKGETSIZE _IO(0x12,96) /* return device size */ | |
7 | #define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */ | |
66ee8158 | 8 | #define BLKSSZGET _IO(0x12,104) /* get block device sector size */ |
22853e4a | 9 | |
7eda085c KZ |
10 | struct systypes { |
11 | unsigned char type; | |
12 | char *name; | |
13 | }; | |
14 | ||
15 | extern struct systypes i386_sys_types[]; | |
eb63b9b8 | 16 | |
22853e4a | 17 | extern char *partname(char *dev, int pno, int lth); |