diff options
author | Karel Zak | 2006-12-07 00:25:41 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:41 +0100 |
commit | eb63b9b8f4cecb34c2478282567862bc48ef256d (patch) | |
tree | 99243f8eecb44c2bb6a559982b99c680fcb649e7 /fdisk/fdisk.h | |
parent | Imported from util-linux-2.9v tarball. (diff) | |
download | kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.gz kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.xz kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.zip |
Imported from util-linux-2.10f tarball.
Diffstat (limited to 'fdisk/fdisk.h')
-rw-r--r-- | fdisk/fdisk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fdisk/fdisk.h b/fdisk/fdisk.h index ace1b0cd9..551b02f6f 100644 --- a/fdisk/fdisk.h +++ b/fdisk/fdisk.h @@ -49,7 +49,7 @@ struct partition { enum failure {usage, usage2, ioctl_error, unable_to_open, unable_to_read, unable_to_seek, - unable_to_write, out_of_memory, no_partition, no_device}; + unable_to_write, out_of_memory}; enum action {fdisk, require, try_only, create_empty}; @@ -68,6 +68,7 @@ extern void list_types(struct systypes *sys); extern int read_line (void); extern char read_char(char *mesg); extern int read_hex(struct systypes *sys); +extern void reread_partition_table(int leave); uint read_int(uint low, uint dflt, uint high, uint base, char *mesg); #define PLURAL 0 @@ -83,3 +84,5 @@ extern int btrydev (char * dev); /* prototypes for fdisksgilabel.c */ extern int valid_part_table_flag(unsigned char *b); + +#define PROC_PARTITIONS "/proc/partitions" |