summaryrefslogtreecommitdiffstats
path: root/tests/expected/sfdisk/wipe-partition
blob: 17fa2af7ec1bc284e2c343ef3d708163d5833b9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
=====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

>>> Created a new <removed>.
<removed>1: Created a new <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.
Calling ioctl() to re-read partition table.
Syncing disks.

=====Create FS in partition================================

=====Wipe whole-disk device================================

=====Create GPT (again)================================
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

>>> Created a new <removed>.
<removed>1: Created a new <removed>.
Partition #1 contains a swap signature.
The signature will be removed by a write command.
<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

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)================================