From 30ff6afe596eddafacf22b1a5b2d1a3d6254ea15 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 15:14:44 +0200 Subject: Adding upstream version 2.36.1. Signed-off-by: Daniel Baumann --- tests/expected/sfdisk/wipe-partition | 59 ++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 tests/expected/sfdisk/wipe-partition (limited to 'tests/expected/sfdisk/wipe-partition') diff --git a/tests/expected/sfdisk/wipe-partition b/tests/expected/sfdisk/wipe-partition new file mode 100644 index 0000000..dc5e5fc --- /dev/null +++ b/tests/expected/sfdisk/wipe-partition @@ -0,0 +1,59 @@ + +=====Create GPT================================ +Disk : 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 / bytes + +>>> Created a new disklabel. +1: Created a new partition . +2: Done. + +New situation: +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 102366 100319 49M Linux filesystem + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. + +=====Create FS in partition================================ + +=====Wipe whole-disk device================================ + +=====Create GPT (again)================================ +Disk : 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 / bytes + +>>> Created a new disklabel. +1: Created a new partition . +The signature will be removed by a write command. +2: Done. + +New situation: +Disklabel type: gpt +Disk identifier: + +Device Start End Sectors Size Type +1 2048 102366 100319 49M Linux filesystem + +Filesystem/RAID signature on partition 1 will be wiped. + +The partition table has been altered. +Calling ioctl() to re-read partition table. +Syncing disks. + +=====Check content (disk)================================ +OFFSET TYPE +0x200 gpt +0x31ffe00 gpt +0x1fe PMBR + +=====Check content (partition)================================ -- cgit v1.2.3