From 378c18e5f024ac5a8aef4cb40d7c9aa9633d144c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 16:30:35 +0200 Subject: Adding upstream version 2.38.1. Signed-off-by: Daniel Baumann --- tests/expected/fdisk/bsd_1_0.LE | 213 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 213 insertions(+) create mode 100644 tests/expected/fdisk/bsd_1_0.LE (limited to 'tests/expected/fdisk/bsd_1_0.LE') diff --git a/tests/expected/fdisk/bsd_1_0.LE b/tests/expected/fdisk/bsd_1_0.LE new file mode 100644 index 0000000..3f14e8e --- /dev/null +++ b/tests/expected/fdisk/bsd_1_0.LE @@ -0,0 +1,213 @@ +BSD_LABELSECTOR=1 +BSD_LABELOFFSET=0 +BSD_EXTRA= +BYTE_ORDER=LE + +Initialize empty image +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 +Create new DOS partition table +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 |................| +000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 + +---layout---------- +Disk : 10 MiB, 10485760 bytes, 20480 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes +Disklabel type: dos +Disk identifier: +------------------- + +Create 1st primary partition +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... | +000001c0 21 00 83 41 01 00 00 08 00 00 00 08 00 00 00 00 |!..A............| +000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 + +---layout---------- +Disk : 10 MiB, 10485760 bytes, 20480 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs +1 2048 4095 2048 83 Linux 0/32/33 0/65/1 +------------------- + +Create 2nd primary partition +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... | +000001c0 21 00 83 41 01 00 00 08 00 00 00 08 00 00 00 41 |!..A...........A| +000001d0 02 00 83 46 05 01 00 10 00 00 00 40 00 00 00 00 |...F.......@....| +000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 +Set 2nd partition type +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... | +000001c0 21 00 83 41 01 00 00 08 00 00 00 08 00 00 00 41 |!..A...........A| +000001d0 02 00 a5 46 05 01 00 10 00 00 00 40 00 00 00 00 |...F.......@....| +000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 + +---layout---------- +Disk : 10 MiB, 10485760 bytes, 20480 sectors +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes +Disklabel type: dos +Disk identifier: + +Device Boot Start End Sectors Id Type Start-C/H/S End-C/H/S Attrs +1 2048 4095 2048 83 Linux 0/32/33 0/65/1 +2 4096 20479 16384 a5 FreeBSD 0/65/2 1/70/5 +------------------- + +Create default BSD +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... | +000001c0 21 00 83 41 01 00 00 08 00 00 00 08 00 00 00 41 |!..A...........A| +000001d0 02 00 a5 46 05 01 00 10 00 00 00 40 00 00 00 00 |...F.......@....| +000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00200200 57 45 56 82 06 00 00 00 00 00 00 00 00 00 00 00 |WEV.............| +00200210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00200220 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...| +00200230 ff 00 00 00 01 00 00 00 c1 3e 00 00 c1 3e 00 00 |.........>...>..| +00200240 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................| +00200250 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 |........ .......| +00200260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00200280 00 00 00 00 57 45 56 82 33 62 04 00 00 20 00 00 |....WEV.3b... ..| +00200290 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |. ..............| +002002a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +002002b0 00 00 00 00 00 40 00 00 00 10 00 00 00 00 00 00 |.....@..........| +002002c0 00 00 00 00 c1 3e 00 00 00 00 00 00 00 00 00 00 |.....>..........| +002002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 + +---layout---------- + +Welcome to fdisk . +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): Entering nested BSD disklabel. + +Command (m for help): Disk 2: 10 MiB, 10485760 bytes, 20480 sectors +Geometry: 255 heads, 63 sectors/track, 1 cylinders +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes +Disklabel type: bsd + +Slice Start End Sectors Size Type Fsize Bsize Cpg +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 + +Partition table entries are not in disk order. + +Command (m for help): Leaving nested disklabel. + +Command (m for help): +------------------- + +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000001b0 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 20 |............... | +000001c0 21 00 83 41 01 00 00 08 00 00 00 08 00 00 00 41 |!..A...........A| +000001d0 02 00 a5 46 05 01 00 10 00 00 00 40 00 00 00 00 |...F.......@....| +000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00200200 57 45 56 82 06 00 00 00 00 00 00 00 00 00 00 00 |WEV.............| +00200210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00200220 00 00 00 00 00 00 00 00 00 02 00 00 3f 00 00 00 |............?...| +00200230 ff 00 00 00 01 00 00 00 c1 3e 00 00 c1 3e 00 00 |.........>...>..| +00200240 00 00 00 00 00 00 00 00 10 0e 01 00 00 00 00 00 |................| +00200250 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 |........ .......| +00200260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00200280 00 00 00 00 57 45 56 82 35 7a 04 00 00 20 00 00 |....WEV.5z... ..| +00200290 00 20 00 00 01 08 00 00 00 10 00 00 00 00 00 00 |. ..............| +002002a0 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +002002b0 00 00 00 00 00 40 00 00 00 10 00 00 00 00 00 00 |.....@..........| +002002c0 00 00 00 00 c1 3e 00 00 00 00 00 00 00 00 00 00 |.....>..........| +002002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00a00000 + +---layout---------- + +Welcome to fdisk . +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): Entering nested BSD disklabel. + +Command (m for help): Disk 2: 10 MiB, 10485760 bytes, 20480 sectors +Geometry: 255 heads, 63 sectors/track, 1 cylinders +Units: sectors of 1 * 512 = 512 bytes +Sector size (logical/physical): 512 bytes / 512 bytes +I/O size (minimum/optimal): 512 bytes / bytes +Disklabel type: bsd + +Slice Start End Sectors Size Type Fsize Bsize Cpg +a 4096 6144 2049 1M 4.2BSD 0 0 0 +c 4096 20479 16384 8M unused 0 0 0 +d 0 16064 16065 7.8M unused 0 0 0 + +Partition table entries are not in disk order. + +Command (m for help): Leaving nested disklabel. + +Command (m for help): +------------------- + + + +Changes will remain in memory only, until you decide to write them. +Be careful before using the write command. + + +Command (m for help): Entering nested BSD disklabel. + +Command (m for help): +00 unused 05 4.1BSD 09 4.4LFS 0d boot +01 swap 06 Eighth Edition 0a unknown 0e ADOS +02 Version 6 07 4.2BSD 0b HPFS 0f HFS +03 Version 7 08 MS-DOS 0c ISO-9660 10 AdvFS +04 System V + +Command (m for help): -- cgit v1.2.3