summaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk.h
diff options
context:
space:
mode:
authorJean-Loup 'clippix' Bogalho2015-05-09 23:15:23 +0200
committerKarel Zak2015-05-11 12:26:30 +0200
commit3e3b51b3b137a868a181f05c51edd7e9a5304ab3 (patch)
tree028c53415707ee9b860be0ec8dd159b0adf9ba37 /disk-utils/fdisk.h
parenttests: add hexdump from GPT (diff)
downloadkernel-qcow2-util-linux-3e3b51b3b137a868a181f05c51edd7e9a5304ab3.tar.gz
kernel-qcow2-util-linux-3e3b51b3b137a868a181f05c51edd7e9a5304ab3.tar.xz
kernel-qcow2-util-linux-3e3b51b3b137a868a181f05c51edd7e9a5304ab3.zip
fdisk: add the 'i'nfo command
Add the 'i'nfo command to fdisk that prints details about a specific partition. Details are everything the function 'fdisk_label_get_field' can return. Signed-off-by: Jean-Loup 'clippix' Bogalho <clippix@lse.epita.fr>
Diffstat (limited to 'disk-utils/fdisk.h')
-rw-r--r--disk-utils/fdisk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/disk-utils/fdisk.h b/disk-utils/fdisk.h
index 4bd47339a..6a62c2497 100644
--- a/disk-utils/fdisk.h
+++ b/disk-utils/fdisk.h
@@ -36,6 +36,8 @@ extern int process_fdisk_menu(struct fdisk_context **cxt);
extern int ask_callback(struct fdisk_context *cxt, struct fdisk_ask *ask,
void *data __attribute__((__unused__)));
+extern int print_partition_info(struct fdisk_context *cxt);
+
/* prototypes for fdisk.c */
extern void dump_firstsector(struct fdisk_context *cxt);
extern void dump_disklabel(struct fdisk_context *cxt);