diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:14:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 13:14:44 +0000 |
commit | 30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 (patch) | |
tree | 9b788335f92174baf7ee18f03ca8330b8c19ce2b /tests/expected/sfdisk/wipe-gpt-to-dos-auto | |
parent | Initial commit. (diff) | |
download | util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.tar.xz util-linux-30ff6afe596eddafacf22b1a5b2d1a3d6254ea15.zip |
Adding upstream version 2.36.1.upstream/2.36.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/expected/sfdisk/wipe-gpt-to-dos-auto | 58 | ||||
-rw-r--r-- | tests/expected/sfdisk/wipe-gpt-to-dos-auto.err | 0 |
2 files changed, 58 insertions, 0 deletions
diff --git a/tests/expected/sfdisk/wipe-gpt-to-dos-auto b/tests/expected/sfdisk/wipe-gpt-to-dos-auto new file mode 100644 index 0000000..d6c075f --- /dev/null +++ b/tests/expected/sfdisk/wipe-gpt-to-dos-auto @@ -0,0 +1,58 @@ + +=====Create GPT================================ +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: dos +Disk identifier: <removed> + +Old situation: + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 102399 100352 49M 83 Linux + +>>> Created a new disklabel. +<removed>1: Created a new partition <removed>. +<removed>2: Done. + +New situation: +Disklabel type: gpt +Disk identifier: <removed> + +Device Start End Sectors Size Type +<removed>1 2048 102366 100319 49M Linux filesystem + +The partition table has been altered. + +=====Create DOS================================ +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> + +Old situation: + +Device Start End Sectors Size Type +<removed>1 2048 102366 100319 49M Linux filesystem + +>>> Created a new disklabel. +<removed>1: Created a new partition <removed>. +<removed>2: Done. + +New situation: +Disklabel type: dos +Disk identifier: <removed> + +Device Boot Start End Sectors Size Id Type +<removed>1 2048 102399 100352 49M 83 Linux + +The partition table has been altered. + +=====Check content================================ +OFFSET TYPE +0x1fe dos diff --git a/tests/expected/sfdisk/wipe-gpt-to-dos-auto.err b/tests/expected/sfdisk/wipe-gpt-to-dos-auto.err new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/expected/sfdisk/wipe-gpt-to-dos-auto.err |