summaryrefslogtreecommitdiffstats
path: root/tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end
blob: d5c5f45ed0dee4ef6e9e922894d62737131ad439 (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
Create new DOS partition table (again)
Create 1st primary at the end of device

---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      20000 40959   20960 10.2M 83 Linux
-------------------

Create 2nd primary at the begin of device

Welcome to fdisk <removed>.
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): Partition type
   p   primary (1 primary, 0 extended, 3 free)
   e   extended (container for logical partitions)
Select (default p): Partition number (2-4, default 2): First sector (2048-19999, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-19999, default 19999): 
Created a new partition <removed>.

Command (m for help): The partition table has been altered.
Syncing disks.


---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      20000 40959   20960 10.2M 83 Linux
<removed>2       2048 19999   17952  8.8M 83 Linux

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