summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk/gpt-reorder
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/expected/sfdisk/gpt-reorder51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/gpt-reorder b/tests/expected/sfdisk/gpt-reorder
new file mode 100644
index 0000000..184a8ec
--- /dev/null
+++ b/tests/expected/sfdisk/gpt-reorder
@@ -0,0 +1,51 @@
+Checking that no-one is using this disk right now ... OK
+
+Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
+Disk model: scsi_debug
+Units: sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 4096 bytes
+I/O size (minimum/optimal): 4096 bytes / <removed> bytes
+
+>>> Script header accepted.
+>>> Script header accepted.
+>>> Script header accepted.
+>>> Created a new disklabel.
+<removed>1: Created a new partition <removed>.
+<removed>2: Created a new partition <removed>.
+<removed>3: Created a new partition <removed>.
+<removed>4: Created a new partition <removed>.
+<removed>5: Done.
+
+New situation:
+Disklabel type: gpt
+Disk identifier: <removed>
+
+Device Start End Sectors Size Type
+<removed>1 8192 14335 6144 3M Linux filesystem
+<removed>2 2048 8191 6144 3M Linux filesystem
+<removed>3 20480 102366 81887 40M Linux filesystem
+<removed>4 14336 20479 6144 3M Linux filesystem
+
+Partition table entries are not in disk order.
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.
+Partitions order fixed.
+
+The partition table has been altered.
+Calling ioctl() to re-read partition table.
+Syncing disks.
+Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
+Disk model: scsi_debug
+Units: sectors of 1 * 512 = 512 bytes
+Sector size (logical/physical): 512 bytes / 4096 bytes
+I/O size (minimum/optimal): 4096 bytes / <removed> bytes
+Disklabel type: gpt
+Disk identifier: <removed>
+
+Device Start End Sectors Size Type
+<removed>1 2048 8191 6144 3M Linux filesystem
+<removed>2 8192 14335 6144 3M Linux filesystem
+<removed>3 14336 20479 6144 3M Linux filesystem
+<removed>4 20480 102366 81887 40M Linux filesystem