summaryrefslogtreecommitdiffstats
path: root/tests/expected/fdisk/mbr-sort
blob: e97e3b4f05edd7a2b70c45948664dc968c4fb21f (plain) (blame)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Initialize empty image
Create new DOS partition table

---layout----------
Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / <removed> bytes
Disklabel type: dos
Disk identifier: <removed>
-------------------

Create primary partitions

---layout----------
Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / <removed> bytes
Disklabel type: dos
Disk identifier: <removed>

Device     Boot Start   End Sectors Size Id Type
<removed>1       4096  6143    2048   1M 83 Linux
<removed>2       2048  4095    2048   1M 83 Linux
<removed>3       6144  8191    2048   1M 83 Linux
<removed>4       8192 40959   32768  16M  5 Extended

Partition table entries are not in disk order.
-------------------

Create logical partitions

---layout----------
Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / <removed> bytes
Disklabel type: dos
Disk identifier: <removed>

Device     Boot Start   End Sectors Size Id Type
<removed>1       4096  6143    2048   1M 83 Linux
<removed>2       2048  4095    2048   1M 83 Linux
<removed>3       6144  8191    2048   1M 83 Linux
<removed>4       8192 40959   32768  16M  5 Extended
<removed>5      14336 16383    2048   1M 83 Linux
<removed>6      22528 24575    2048   1M 83 Linux
<removed>7      18432 20479    2048   1M 83 Linux
<removed>8      10240 12287    2048   1M 83 Linux

Partition table entries are not in disk order.
-------------------

Fix order.

---layout----------
Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / <removed> bytes
Disklabel type: dos
Disk identifier: <removed>

Device     Boot Start   End Sectors Size Id Type
<removed>1       2048  4095    2048   1M 83 Linux
<removed>2       4096  6143    2048   1M 83 Linux
<removed>3       6144  8191    2048   1M 83 Linux
<removed>4       8192 40959   32768  16M  5 Extended
<removed>5      10240 12287    2048   1M 83 Linux
<removed>6      14336 16383    2048   1M 83 Linux
<removed>7      18432 20479    2048   1M 83 Linux
<removed>8      22528 24575    2048   1M 83 Linux
-------------------