diff options
author | Karel Zak | 2017-08-01 13:51:27 +0200 |
---|---|---|
committer | Karel Zak | 2017-08-01 13:51:27 +0200 |
commit | dd3b72b3e9f8188addc14fe574cd67ecdff43a51 (patch) | |
tree | 163ac0d3cdc8d1bd57436525a85c5f04cdea6777 /tests/expected/libfdisk | |
parent | setpriv: document accepted formats for naming caps (diff) | |
download | kernel-qcow2-util-linux-dd3b72b3e9f8188addc14fe574cd67ecdff43a51.tar.gz kernel-qcow2-util-linux-dd3b72b3e9f8188addc14fe574cd67ecdff43a51.tar.xz kernel-qcow2-util-linux-dd3b72b3e9f8188addc14fe574cd67ecdff43a51.zip |
libfdisk: add --nopartno to mkpart sample
* disable dialogs for the mkpart sample
* add --nopartno use-case to force libfdisk to use default partno(s)
* add test for this feature
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/libfdisk')
-rw-r--r-- | tests/expected/libfdisk/mkpart-mbr-nopartno | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/expected/libfdisk/mkpart-mbr-nopartno b/tests/expected/libfdisk/mkpart-mbr-nopartno new file mode 100644 index 000000000..178eaf2f2 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-mbr-nopartno @@ -0,0 +1,26 @@ +Created a new <removed>. +Created a new <removed>. +Created a new <removed>. +Created a new <removed>. +Created a new <removed>. +Adding logical partition 5 +Created a new <removed>. +Adding logical partition 6 +Created a new <removed>. +Adding logical partition 7 +Created a new <removed>. +Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / <removed> bytes +Disklabel type: dos +Disk identifier: <removed> + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 4095 2048 1M 83 Linux +<removed>2 4096 6143 2048 1M 83 Linux +<removed>3 6144 8191 2048 1M 83 Linux +<removed>4 8192 30719 22528 11M 5 Extended +<removed>5 10240 12287 2048 1M 83 Linux +<removed>6 14336 16383 2048 1M 83 Linux +<removed>7 18432 30719 12288 6M 83 Linux |