]> git.ipfire.org Git - thirdparty/util-linux.git/blob - tests/expected/fdisk/mbr-nondos-mode-first-sector-at-end
libfdisk: (tests) fix tests for removal of non-blockdev sync()
[thirdparty/util-linux.git] / tests / expected / fdisk / mbr-nondos-mode-first-sector-at-end
1 Create new DOS partition table (again)
2 Create 1st primary at the end of device
3
4 ---layout----------
5 Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
6 Units: sectors of 1 * 512 = 512 bytes
7 Sector size (logical/physical): 512 bytes / 512 bytes
8 I/O size (minimum/optimal): 512 bytes / <removed> bytes
9 Disklabel type: dos
10 Disk identifier: <removed>
11
12 Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs
13 <removed>1 20000 40959 20960 83 Linux 1/62/30 2/140/10
14 -------------------
15
16 Create 2nd primary at the begin of device
17
18 Welcome to fdisk <removed>.
19 Changes will remain in memory only, until you decide to write them.
20 Be careful before using the write command.
21
22
23 Command (m for help): Partition type
24 p primary (1 primary, 0 extended, 3 free)
25 e extended (container for logical partitions)
26 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):
27 Created a new partition <removed>.
28
29 Command (m for help): The partition table has been altered.
30
31
32 ---layout----------
33 Disk <removed>: 20 MiB, 20971520 bytes, 40960 sectors
34 Units: sectors of 1 * 512 = 512 bytes
35 Sector size (logical/physical): 512 bytes / 512 bytes
36 I/O size (minimum/optimal): 512 bytes / <removed> bytes
37 Disklabel type: dos
38 Disk identifier: <removed>
39
40 Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs
41 <removed>1 20000 40959 20960 83 Linux 1/62/30 2/140/10
42 <removed>2 2048 19999 17952 83 Linux 0/32/33 1/62/29
43
44 Partition table entries are not in disk order.
45 -------------------
46