fdisk: (sun) remove dead code

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/tt: add TT_FL_FREEDATA

... to call free() for line data.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add new 'ask' type TABLE

The new type could be used to print table-like output (for example
list of the partitions).

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (gpt) use lib/tt.c to list partitions

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add list() label operation

... and use it for GPT

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add fdisk_context_enable_details()

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (sun) consolidate 'p'rint output

 * use label operation list()
 * use generic fdisk geometry output for sun
 * don't duplicate geometry information

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (sun) use tt.c to list disk label

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add fdisk_partname()

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (gpt, sun) use fdisk_partname()

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add fdisk_scround()

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (sun) move driver from fdisk to library

 ... and also add fdisk_info_new_partition()

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: add asktype "string" and support UUID partition change

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: add asktype "string" and support UUID partition change

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (gpt) cleanup structs members names

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (gpt) print UUID and NAME in expert mode only

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: always allow 'p'rint command in expert menu

Signed-off-by: Karel Zak <kzak@redhat.com>