Debian Codegraph @

tests/expected/fdisk/gpt-resize

raw
1 Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
2 Units: sectors of 1 * 512 = 512 bytes
3 Sector size (logical/physical): 512 bytes / 512 bytes
4 I/O size (minimum/optimal): 512 bytes / <removed> bytes
5
6 >>> Created a new disklabel.
7 <removed>p1: Created a new partition <removed>.
8 <removed>p2: Done.
9
10 New situation:
11 Disklabel type: gpt
12 Disk identifier: <removed>
13
14 Device Start End Sectors Size Type
15 <removed>p1 2048 18431 16384 8M Linux filesystem
16
17 The partition table has been altered.
18 ----- fixing after resize: -----
19
20 Welcome to fdisk <removed>.
21 Changes will remain in memory only, until you decide to write them.
22 Be careful before using the write command.
23
24
25 Command (m for help): Partition number (2-128, default 2): First sector (18432-40926, default 18432): Last sector, +/-sectors or +/-size{K,M,G,T,P} (18432-40926, default 38911):
26 Created a new partition <removed>.
27
28 Command (m for help): The partition table has been altered.
29 Calling ioctl() to re-read partition table.
30 Syncing disks.
31
32 ----- list result: -----
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: gpt
38 Disk identifier: <removed>
39
40 Device Start End Sectors Size Type
41 <removed>p1 2048 18431 16384 8M Linux filesystem
42 <removed>p2 18432 38911 20480 10M Linux filesystem