<removed>6 77824 88063 10240 5M 83 Linux
<removed>7 90112 102399 12288 6M 83 Linux
-
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
<removed>6 75775 86014 10240 5M 83 Linux
<removed>7 88063 102399 14337 7M 83 Linux
-
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
<removed>1 2048 43007 40960 20M 83 Linux
<removed>2 43008 102399 59392 29M 83 Linux
-
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
<removed>p1 2048 22527 20480 10M 83 Linux
<removed>p2 22528 43007 20480 10M 83 Linux
-
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
<removed>p6 77824 88063 10240 5M 83 Linux
<removed>p7 90112 102399 12288 6M 83 Linux
-
Command (m for help):
<removed>6 77824 88063 10240 5M 83 Linux
<removed>7 90112 102399 12288 6M 83 Linux
-
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Device Boot Start End Cylinders Size Id Type
<removed>1 1 1 1 7.8M 83 Linux
-
-------------------
Set partition type
Device Boot Start End Cylinders Size Id Type
<removed>1 1 1 1 7.8M bf Solaris
-
-------------------
Set primary partition active
Device Boot Start End Cylinders Size Id Type
<removed>1 * 1 1 1 7.8M bf Solaris
-
-------------------
Re-create primary partition
Device Boot Start End Cylinders Size Id Type
<removed>1 1 1 1 7.8M 83 Linux
-
-------------------
Create extended partition
Device Boot Start End Cylinders Size Id Type
<removed>1 1 1 1 7.8M 83 Linux
<removed>2 2 12 12 86.3M 5 Extended
-
-------------------
Create logical partitions
<removed>6 4 5 2 15.7M 83 Linux
<removed>7 6 7 2 15.7M 83 Linux
<removed>8 8 9 2 15.7M 83 Linux
-
-------------------
Delete logical partitions
<removed>1 1 1 1 7.8M 83 Linux
<removed>2 2 12 12 86.3M 5 Extended
<removed>5 6 7 2 15.7M 83 Linux
-
-------------------
Create another logical partition
<removed>2 2 12 12 86.3M 5 Extended
<removed>5 6 7 2 15.7M 83 Linux
<removed>6 2 3 2 15.7M 83 Linux
-
Partition table entries are not in disk order.
-------------------
<removed>2 2 12 12 86.3M 5 Extended
<removed>5 6 7 2 15.7M 83 Linux
<removed>6 2 3 2 15.7M 83 Linux
-
Partition table entries are not in disk order.
-------------------
Device Boot Start End Sectors Size Id Type
<removed>1 2048 8191 6144 3M 83 Linux
-
-------------------
Set primary partition active
Device Boot Start End Sectors Size Id Type
<removed>1 * 2048 8191 6144 3M 83 Linux
-
-------------------
Re-create 1st primary partition
Device Boot Start End Sectors Size Id Type
<removed>1 2048 8191 6144 3M 83 Linux
-
-------------------
Create 2nd primary partition
Device Boot Start End Sectors Size Id Type
<removed>1 2048 8191 6144 3M 83 Linux
<removed>2 8192 12287 4096 2M 83 Linux
-
-------------------
Create extended partition
<removed>1 2048 8191 6144 3M 83 Linux
<removed>2 8192 12287 4096 2M 83 Linux
<removed>3 12288 40959 28672 14M 5 Extended
-
-------------------
Create logical partitions
<removed>6 20480 24575 4096 2M 83 Linux
<removed>7 26624 30719 4096 2M 83 Linux
<removed>8 32768 36863 4096 2M 83 Linux
-
-------------------
Delete logical partitions
<removed>2 8192 12287 4096 2M 83 Linux
<removed>3 12288 40959 28672 14M 5 Extended
<removed>5 26624 30719 4096 2M 83 Linux
-
-------------------
Create another logical partition
<removed>3 12288 40959 28672 14M 5 Extended
<removed>5 26624 30719 4096 2M 83 Linux
<removed>6 14336 18431 4096 2M 83 Linux
-
Partition table entries are not in disk order.
-------------------
<removed>3 12288 40959 28672 14M 5 Extended
<removed>5 26624 30719 4096 2M 83 Linux
<removed>6 14336 18431 4096 2M 83 Linux
-
Partition table entries are not in disk order.
-------------------
<removed>3 12288 40959 28672 14M 5 Extended
<removed>5 26624 30719 4096 2M 83 Linux
<removed>6 14336 18431 4096 2M 83 Linux
-
Partition table entries are not in disk order.
-------------------
<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.
-------------------
<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.
-------------------
<removed>6 14336 16383 2048 1M 83 Linux
<removed>7 18432 20479 2048 1M 83 Linux
<removed>8 22528 24575 2048 1M 83 Linux
-
-------------------
Initialize empty image
f1c9645dbc14efddc7d8a322685f26eb oddinput.img
Empty image listing
-
Disk testimage: 10 MiB, 10485760 bytes, 20480 sectors
Units: cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
f1c9645dbc14efddc7d8a322685f26eb sunlabel.img
Create new SUN partition table
f050fd2beb99f8d968bf17450f655f06 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Disklabel type: sun
Create first partition
e730c7ec8208601f41963f0485147248 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Device Start End Cylinders Size Id Type Flags
<removed>1 1 128 129 4M 83 Linux native
-
Set partition sysid
df75defdb97fbd56222aed18631a22d0 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Device Start End Cylinders Size Id Type Flags
<removed>1 1 128 129 4M 4 SunOS usr
-
Set first partition readonly
da23f66698d9a553162887621d4c7490 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Device Start End Cylinders Size Id Type Flags
<removed>1 1 128 129 4M 4 SunOS usr r
-
Set first partition mountable
3ab76e8491b103eab52b2ae1856c1e30 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Device Start End Cylinders Size Id Type Flags
<removed>1 1 128 129 4M 4 SunOS usr ur
-
Create second partition
Welcome to fdisk <removed>.
Syncing disks.
a87e80830aa13d2d68b766962f052750 sunlabel.img
-
Disk <removed>: 10 MiB, 10485760 bytes, 20480 sectors
Geometry: 1 heads, 63 sectors/track, 325 cylinders
Units: cylinders of 63 * 512 = 32256 bytes
Device Start End Cylinders Size Id Type Flags
<removed>1 1 128 129 4M 4 SunOS usr ur
<removed>2 129 325 198 6.1M 83 Linux native
-
Delete all partitions
502ba7a0cfdce2849c3a99881f0590c3 sunlabel.img
}
function print_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
$TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}
function print_bsd_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
echo -e "${FDISK_CMD_BSD_LIST}" | \
$TS_CMD_FDISK ${TEST_IMAGE_NAME} >> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
FDISK_CMD_CREATE_PART="n\n2\n\n\n" # create 2nd partition
function print_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
$TS_CMD_FDISK -l ${TEST_IMAGE_NAME} &>> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}
FDISK_OPTIONS="-C 1024 -c=dos -u=cylinders"
function print_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
$TS_CMD_FDISK ${FDISK_OPTIONS} -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}
FDISK_CMD_DELETE_EXTENDED="d\n3\n" # delete second primary
function print_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
$TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}
FDISK_CMD_EXPERT_SORT="x\nf\nr\n"
function print_layout {
- echo -ne "\n---layout----------" >> $TS_OUTPUT
+ echo -ne "\n---layout----------\n" >> $TS_OUTPUT
$TS_CMD_FDISK -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT
echo -ne "-------------------\n\n" >> $TS_OUTPUT
}