aboutsummaryrefslogtreecommitdiffstats
path: root/disk-utils/fdisk-menu.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2024-04-12 11:13:39 +0200
committerKarel Zak <kzak@redhat.com>2024-04-17 09:31:45 +0200
commit9bdcf863bedec6d401d0ecd165a8c6c5e237084a (patch)
tree5a56290d7fc9ffe295219019776168c46c91ef8f /disk-utils/fdisk-menu.c
parent3f95c0d61c6c7f8029fb94e5e6601ae6fff777c3 (diff)
downloadutil-linux-9bdcf863bedec6d401d0ecd165a8c6c5e237084a.tar.gz
fdisk: improve list_freespace()
Make the function usable in other dialogs: * Return a table of the free spaces. * Return the "best" table entry (to be used as the default in dialogs). * Print the order number of entries. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/fdisk-menu.c')
0 files changed, 0 insertions, 0 deletions