From 3e3b51b3b137a868a181f05c51edd7e9a5304ab3 Mon Sep 17 00:00:00 2001 From: Jean-Loup 'clippix' Bogalho Date: Sat, 9 May 2015 23:15:23 +0200 Subject: 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 --- disk-utils/fdisk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'disk-utils/fdisk.h') 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); -- cgit v1.2.3-55-g7522