diff options
| author | Karel Zak <kzak@redhat.com> | 2024-04-12 11:13:39 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2024-04-17 09:31:45 +0200 |
| commit | 9bdcf863bedec6d401d0ecd165a8c6c5e237084a (patch) | |
| tree | 5a56290d7fc9ffe295219019776168c46c91ef8f /disk-utils/fdisk-menu.c | |
| parent | 3f95c0d61c6c7f8029fb94e5e6601ae6fff777c3 (diff) | |
| download | util-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
