diff options
author | Karel Zak | 2015-01-19 11:24:48 +0100 |
---|---|---|
committer | Karel Zak | 2015-01-19 11:24:48 +0100 |
commit | 354f8cc8cf06de44656fb83705c57062d04d1565 (patch) | |
tree | a880a881ba452dff0a14d4f704026779e901a93b /libfdisk/src/fdiskP.h | |
parent | libmount: revert "read mtab on remount" idea (diff) | |
download | kernel-qcow2-util-linux-354f8cc8cf06de44656fb83705c57062d04d1565.tar.gz kernel-qcow2-util-linux-354f8cc8cf06de44656fb83705c57062d04d1565.tar.xz kernel-qcow2-util-linux-354f8cc8cf06de44656fb83705c57062d04d1565.zip |
libfdiskL add API to print SIZE field in bytes
The patch also add --bytes to fdisk and fdisk.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/fdiskP.h')
-rw-r--r-- | libfdisk/src/fdiskP.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfdisk/src/fdiskP.h b/libfdisk/src/fdiskP.h index b169a9ffb..59ab0c339 100644 --- a/libfdisk/src/fdiskP.h +++ b/libfdisk/src/fdiskP.h @@ -351,6 +351,8 @@ struct fdisk_context { display_details : 1, /* expert display mode */ listonly : 1; /* list partition, nothing else */ + int sizeunit; /* SIZE fields, FDISK_SIZEUNIT_* */ + /* alignment */ unsigned long grain; /* alignment unit */ fdisk_sector_t first_lba; /* recommended begin of the first partition */ |