From 8cb83eee5a58b1fad74c34094ce3afb9e430b5a4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:42:50 +0200 Subject: Adding upstream version 2.33.1. Signed-off-by: Daniel Baumann --- tests/expected/libfdisk/gpt-all-defaults | 24 ++++++++++++++++ tests/expected/libfdisk/gpt-all-defaults-with-typo | 24 ++++++++++++++++ tests/expected/libfdisk/gpt-getattr | 2 ++ tests/expected/libfdisk/gpt-setattr | 2 ++ tests/expected/libfdisk/mkpart | 0 tests/expected/libfdisk/mkpart-full | 0 tests/expected/libfdisk/mkpart-full-gpt | 30 ++++++++++++++++++++ .../expected/libfdisk/mkpart-full-gpt-err-overlap | 14 +++++++++ tests/expected/libfdisk/mkpart-full-gpt-nopartno | 30 ++++++++++++++++++++ tests/expected/libfdisk/mkpart-full-gpt-partno-gap | 30 ++++++++++++++++++++ tests/expected/libfdisk/mkpart-full-gpt-space-gap | 24 ++++++++++++++++ .../expected/libfdisk/mkpart-full-mbr-err-logical | 18 ++++++++++++ .../expected/libfdisk/mkpart-full-mbr-err-nospace | 12 ++++++++ .../expected/libfdisk/mkpart-full-mbr-err-primary | 12 ++++++++ tests/expected/libfdisk/mkpart-full-mbr-logical | 33 ++++++++++++++++++++++ tests/expected/libfdisk/mkpart-full-mbr-nopartno | 33 ++++++++++++++++++++++ tests/expected/libfdisk/mkpart-full-mbr-partno-gap | 26 +++++++++++++++++ tests/expected/libfdisk/mkpart-full-mbr-primary | 21 ++++++++++++++ .../libfdisk/mkpart-full-mbr-primary-nopartno | 21 ++++++++++++++ tests/expected/libfdisk/mkpart-full-mbr-space-gap | 18 ++++++++++++ tests/expected/libfdisk/mkpart-gpt | 23 +++++++++++++++ tests/expected/libfdisk/mkpart-mbr | 17 +++++++++++ tests/expected/libfdisk/mkpart-mbr-logic | 26 +++++++++++++++++ tests/expected/libfdisk/mkpart-mbr-nopartno | 26 +++++++++++++++++ 24 files changed, 466 insertions(+) create mode 100644 tests/expected/libfdisk/gpt-all-defaults create mode 100644 tests/expected/libfdisk/gpt-all-defaults-with-typo create mode 100644 tests/expected/libfdisk/gpt-getattr create mode 100644 tests/expected/libfdisk/gpt-setattr create mode 100644 tests/expected/libfdisk/mkpart create mode 100644 tests/expected/libfdisk/mkpart-full create mode 100644 tests/expected/libfdisk/mkpart-full-gpt create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-err-overlap create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-partno-gap create mode 100644 tests/expected/libfdisk/mkpart-full-gpt-space-gap create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-logical create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-nospace create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-err-primary create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-logical create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-partno-gap create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-primary create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno create mode 100644 tests/expected/libfdisk/mkpart-full-mbr-space-gap create mode 100644 tests/expected/libfdisk/mkpart-gpt create mode 100644 tests/expected/libfdisk/mkpart-mbr create mode 100644 tests/expected/libfdisk/mkpart-mbr-logic create mode 100644 tests/expected/libfdisk/mkpart-mbr-nopartno (limited to 'tests/expected/libfdisk') diff --git a/tests/expected/libfdisk/gpt-all-defaults b/tests/expected/libfdisk/gpt-all-defaults new file mode 100644 index 0000000..ccc185c --- /dev/null +++ b/tests/expected/libfdisk/gpt-all-defaults @@ -0,0 +1,24 @@ +Checking that no-one is using this disk right now ... OK + +Disk : 10 MiB, 10485760 bytes, 20480 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes + +>>> Script header accepted. +>>> Script header accepted. +>>> Created a new . +1: Created a new . +2: Created a new . +3: Done. + +New situation: +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 12287 10240 5M Linux filesystem +2 12288 20446 8159 4M Linux filesystem + +The partition table has been altered. +Syncing disks. diff --git a/tests/expected/libfdisk/gpt-all-defaults-with-typo b/tests/expected/libfdisk/gpt-all-defaults-with-typo new file mode 100644 index 0000000..ccc185c --- /dev/null +++ b/tests/expected/libfdisk/gpt-all-defaults-with-typo @@ -0,0 +1,24 @@ +Checking that no-one is using this disk right now ... OK + +Disk : 10 MiB, 10485760 bytes, 20480 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes + +>>> Script header accepted. +>>> Script header accepted. +>>> Created a new . +1: Created a new . +2: Created a new . +3: Done. + +New situation: +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 12287 10240 5M Linux filesystem +2 12288 20446 8159 4M Linux filesystem + +The partition table has been altered. +Syncing disks. diff --git a/tests/expected/libfdisk/gpt-getattr b/tests/expected/libfdisk/gpt-getattr new file mode 100644 index 0000000..559a9ae --- /dev/null +++ b/tests/expected/libfdisk/gpt-getattr @@ -0,0 +1,2 @@ +1: 0x0001000000000001 +2: 0x4030000000000000 diff --git a/tests/expected/libfdisk/gpt-setattr b/tests/expected/libfdisk/gpt-setattr new file mode 100644 index 0000000..41af260 --- /dev/null +++ b/tests/expected/libfdisk/gpt-setattr @@ -0,0 +1,2 @@ +GUID:56,57,58,59,60,61,62,63 +LegacyBIOSBootable diff --git a/tests/expected/libfdisk/mkpart b/tests/expected/libfdisk/mkpart new file mode 100644 index 0000000..e69de29 diff --git a/tests/expected/libfdisk/mkpart-full b/tests/expected/libfdisk/mkpart-full new file mode 100644 index 0000000..e69de29 diff --git a/tests/expected/libfdisk/mkpart-full-gpt b/tests/expected/libfdisk/mkpart-full-gpt new file mode 100644 index 0000000..d33483a --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt @@ -0,0 +1,30 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 4095 2048 1M Linux filesystem +2 4096 6143 2048 1M Linux filesystem +3 6144 8191 2048 1M Linux filesystem +4 8192 10239 2048 1M Linux filesystem +5 10240 12287 2048 1M Linux filesystem +6 12288 14335 2048 1M Linux filesystem +7 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-err-overlap b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap new file mode 100644 index 0000000..6733392 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-err-overlap @@ -0,0 +1,14 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Sector 5000 already used. +sample-fdisk-mkpart-fullspec: failed to add #4 partition +Disk : 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 / bytes diff --git a/tests/expected/libfdisk/mkpart-full-gpt-nopartno b/tests/expected/libfdisk/mkpart-full-gpt-nopartno new file mode 100644 index 0000000..2c1423b --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-nopartno @@ -0,0 +1,30 @@ +Requested partition: ,start=2048,size=2048> +Requested partition: ,start=4096,size=2048> +Requested partition: ,start=6144,size=2048> +Requested partition: ,start=8192,size=2048> +Requested partition: ,start=10240,size=2048> +Requested partition: ,start=12288,size=2048> +Requested partition: ,start=14336,size=2048> +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 4095 2048 1M Linux filesystem +2 4096 6143 2048 1M Linux filesystem +3 6144 8191 2048 1M Linux filesystem +4 8192 10239 2048 1M Linux filesystem +5 10240 12287 2048 1M Linux filesystem +6 12288 14335 2048 1M Linux filesystem +7 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-partno-gap b/tests/expected/libfdisk/mkpart-full-gpt-partno-gap new file mode 100644 index 0000000..b142b5e --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-partno-gap @@ -0,0 +1,30 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 4095 2048 1M Linux filesystem +2 4096 6143 2048 1M Linux filesystem +4 6144 8191 2048 1M Linux filesystem +5 8192 10239 2048 1M Linux filesystem +7 10240 12287 2048 1M Linux filesystem +8 12288 14335 2048 1M Linux filesystem +9 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-gpt-space-gap b/tests/expected/libfdisk/mkpart-full-gpt-space-gap new file mode 100644 index 0000000..c26f289 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-gpt-space-gap @@ -0,0 +1,24 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 4095 2048 1M Linux filesystem +2 6144 8191 2048 1M Linux filesystem +3 8192 10239 2048 1M Linux filesystem +4 12288 14335 2048 1M Linux filesystem +5 14336 16383 2048 1M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-logical b/tests/expected/libfdisk/mkpart-full-mbr-err-logical new file mode 100644 index 0000000..c2c0b0d --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-err-logical @@ -0,0 +1,18 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +sample-fdisk-mkpart-fullspec: failed to add #6 partition +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Disk : 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 / bytes diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-nospace b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace new file mode 100644 index 0000000..d7a0065 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-err-nospace @@ -0,0 +1,12 @@ +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Start sector 4096 out of range. +sample-fdisk-mkpart-fullspec: failed to add #3 partition +Disk : 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 / bytes diff --git a/tests/expected/libfdisk/mkpart-full-mbr-err-primary b/tests/expected/libfdisk/mkpart-full-mbr-err-primary new file mode 100644 index 0000000..1142f65 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-err-primary @@ -0,0 +1,12 @@ +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Extended partition does not exists. Failed to add logical partition. +sample-fdisk-mkpart-fullspec: failed to add #7 partition +Disk : 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 / bytes diff --git a/tests/expected/libfdisk/mkpart-full-mbr-logical b/tests/expected/libfdisk/mkpart-full-mbr-logical new file mode 100644 index 0000000..97e7a4a --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-logical @@ -0,0 +1,33 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Adding logical partition 6 +Created a new . +Adding logical partition 7 +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 5 Extended +5 10240 12287 2048 1M 83 Linux +6 14336 16383 2048 1M 83 Linux +7 18432 30719 12288 6M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-full-mbr-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-nopartno new file mode 100644 index 0000000..23f7ad5 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-nopartno @@ -0,0 +1,33 @@ +Requested partition: ,start=2048,size=2048> +Requested partition: ,start=4096,size=2048> +Requested partition: ,start=6144,size=2048> +Requested partition: ,start=8192,size=22528> +Requested partition: ,start=10240,size=2048> +Requested partition: ,start=14336,size=2048> +Requested partition: ,start=18432,size=12288> +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Adding logical partition 6 +Created a new . +Adding logical partition 7 +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 5 Extended +5 10240 12287 2048 1M 83 Linux +6 14336 16383 2048 1M 83 Linux +7 18432 30719 12288 6M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-full-mbr-partno-gap b/tests/expected/libfdisk/mkpart-full-mbr-partno-gap new file mode 100644 index 0000000..7f5fab5 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-partno-gap @@ -0,0 +1,26 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Adding logical partition 6 +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +3 4096 6143 2048 1M 83 Linux +4 6144 30719 24576 12M 5 Extended +5 10240 12287 2048 1M 83 Linux +6 14336 16383 2048 1M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-full-mbr-primary b/tests/expected/libfdisk/mkpart-full-mbr-primary new file mode 100644 index 0000000..31e8434 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-primary @@ -0,0 +1,21 @@ +Requested partition: +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno b/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno new file mode 100644 index 0000000..90a71f3 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-primary-nopartno @@ -0,0 +1,21 @@ +Requested partition: ,start=2048,size=2048> +Requested partition: ,start=4096,size=2048> +Requested partition: ,start=6144,size=2048> +Requested partition: ,start=8192,size=22528> +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-full-mbr-space-gap b/tests/expected/libfdisk/mkpart-full-mbr-space-gap new file mode 100644 index 0000000..45d4507 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-full-mbr-space-gap @@ -0,0 +1,18 @@ +Requested partition: +Requested partition: +Requested partition: +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 6144 8191 2048 1M 83 Linux +3 8192 10239 2048 1M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-gpt b/tests/expected/libfdisk/mkpart-gpt new file mode 100644 index 0000000..3634695 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-gpt @@ -0,0 +1,23 @@ +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 4095 2048 1M Linux filesystem +2 4096 6143 2048 1M Linux filesystem +3 6144 8191 2048 1M Linux filesystem +4 8192 10239 2048 1M Linux filesystem +5 10240 12287 2048 1M Linux filesystem +6 12288 14335 2048 1M Linux filesystem +7 14336 30686 16351 8M Linux filesystem diff --git a/tests/expected/libfdisk/mkpart-mbr b/tests/expected/libfdisk/mkpart-mbr new file mode 100644 index 0000000..0212000 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-mbr @@ -0,0 +1,17 @@ +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-mbr-logic b/tests/expected/libfdisk/mkpart-mbr-logic new file mode 100644 index 0000000..178eaf2 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-mbr-logic @@ -0,0 +1,26 @@ +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Adding logical partition 6 +Created a new . +Adding logical partition 7 +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 5 Extended +5 10240 12287 2048 1M 83 Linux +6 14336 16383 2048 1M 83 Linux +7 18432 30719 12288 6M 83 Linux diff --git a/tests/expected/libfdisk/mkpart-mbr-nopartno b/tests/expected/libfdisk/mkpart-mbr-nopartno new file mode 100644 index 0000000..178eaf2 --- /dev/null +++ b/tests/expected/libfdisk/mkpart-mbr-nopartno @@ -0,0 +1,26 @@ +Created a new . +Created a new . +Created a new . +Created a new . +Created a new . +Adding logical partition 5 +Created a new . +Adding logical partition 6 +Created a new . +Adding logical partition 7 +Created a new . +Disk : 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 / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Size Id Type +1 2048 4095 2048 1M 83 Linux +2 4096 6143 2048 1M 83 Linux +3 6144 8191 2048 1M 83 Linux +4 8192 30719 22528 11M 5 Extended +5 10240 12287 2048 1M 83 Linux +6 14336 16383 2048 1M 83 Linux +7 18432 30719 12288 6M 83 Linux -- cgit v1.2.3