tests: cleanup fdisk based stuff

* use fdisk --noauto-pt to avoid re-creation of the default architecture specific PT
* use more verbose "Created a new" messages in the output

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2020-03-24 14:30:16 +01:00
parent 53a808562d
commit e7db499f1c
77 changed files with 298 additions and 288 deletions

View File

@ -11,13 +11,13 @@ Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-204543, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-204543, default 204543):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-204543, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-204543, default 204543):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 99.9 MiB, 104726528 bytes, 204544 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -5,19 +5,20 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-104447, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-104447, default 104447):
Created a new <removed>.
Created a new partition <removed>.
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 (53248-104447, default 53248): Last sector, +/-sectors or +/-size{K,M,G,T,P} (53248-104447, default 104447):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 51 MiB, 53477376 bytes, 104448 sectors
Disk model: scsi_debug

View File

@ -11,13 +11,13 @@ Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-102271, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102271, default 102271):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-102271, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102271, default 102271):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk /dev/md8: 49.96 MiB, 52363264 bytes, 102272 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -5,25 +5,26 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (3 primary, 0 extended, 1 free)
@ -31,22 +32,22 @@ Command (m for help): Partition type
Select (default e):
Selected partition 4
First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 5
First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 6
First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 7
First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Disk model: scsi_debug

View File

@ -5,25 +5,26 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (7-102399, default 7): Last sector, +/-sectors or +/-size{K,M,G,T,P} (7-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
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 (20487-102399, default 20487): Last sector, +/-sectors or +/-size{K,M,G,T,P} (20487-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): Partition number (3,4, default 3): First sector (40967-102399, default 40967): Last sector, +/-sectors or +/-size{K,M,G,T,P} (40967-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (3 primary, 0 extended, 1 free)
@ -31,22 +32,22 @@ Command (m for help): Partition type
Select (default e):
Selected partition 4
First sector (61447-102399, default 61447): Last sector, +/-sectors or +/-size{K,M,G,T,P} (61447-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 5
First sector (61454-102399, default 63487): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63487-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 6
First sector (61454-102399, default 75775): Last sector, +/-sectors or +/-size{K,M,G,T,P} (75775-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 7
First sector (61454-102399, default 88063): Last sector, +/-sectors or +/-size{K,M,G,T,P} (88063-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Disk model: scsi_debug

View File

@ -5,19 +5,20 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
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 (51199-102399, default 51200): Last sector, +/-sectors or +/-size{K,M,G,T,P} (51200-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Disk model: scsi_debug
@ -45,19 +46,19 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-97791, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-97791, default 97791):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-97791, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-97791, default 97791):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 47.77 MiB, 50069504 bytes, 97792 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -5,25 +5,26 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (3 primary, 0 extended, 1 free)
@ -31,22 +32,22 @@ Command (m for help): Partition type
Select (default e):
Selected partition 4
First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 5
First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 6
First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 7
First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -5,25 +5,26 @@ Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new <removed>.
Command (m for help): Created a new disklabel.
Command (m for help): Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
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 (22528-102399, default 22528): Last sector, +/-sectors or +/-size{K,M,G,T,P} (22528-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (2 primary, 0 extended, 2 free)
e extended (container for logical partitions)
Select (default p): Partition number (3,4, default 3): First sector (43008-102399, default 43008): Last sector, +/-sectors or +/-size{K,M,G,T,P} (43008-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Partition type
p primary (3 primary, 0 extended, 1 free)
@ -31,22 +32,22 @@ Command (m for help): Partition type
Select (default e):
Selected partition 4
First sector (63488-102399, default 63488): Last sector, +/-sectors or +/-size{K,M,G,T,P} (63488-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 5
First sector (65536-102399, default 65536): Last sector, +/-sectors or +/-size{K,M,G,T,P} (65536-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 6
First sector (77824-102399, default 77824): Last sector, +/-sectors or +/-size{K,M,G,T,P} (77824-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): All primary partitions are in use.
Adding logical partition 7
First sector (90112-102399, default 90112): Last sector, +/-sectors or +/-size{K,M,G,T,P} (90112-102399, default 102399):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): Disk <removed>: 50 MiB, 52428800 bytes, 102400 sectors
Disk model: scsi_debug

View File

@ -3,8 +3,8 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>p1: Created a new <removed>.
>>> Created a new disklabel.
<removed>p1: Created a new partition <removed>.
<removed>p2: Done.
New situation:
@ -23,7 +23,7 @@ Be careful before using the write command.
Command (m for help): Partition number (2-128, default 2): First sector (20447-40926, default 20480): Last sector, +/-sectors or +/-size{K,M,G,T,P} (20480-40926, default 40926):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): The partition table has been altered.
Calling ioctl() to re-read partition table.

View File

@ -24,7 +24,7 @@ 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 <removed>.
Created a new partition <removed>.
Command (m for help): The partition table has been altered.
Syncing disks.

View File

@ -60,7 +60,7 @@ Be careful before using the write command.
Command (m for help): Partition number (2-8, default 2): First cylinder (128-325, default 128): Last cylinder or +/-cylinders or +/-size{K,M,G,T,P} (128-325, default 325):
Created a new <removed>.
Created a new partition <removed>.
Command (m for help): The partition table has been altered.
Syncing disks.

View File

@ -7,9 +7,9 @@ I/O size (minimum/optimal): 512 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Done.
New situation:

View File

@ -7,9 +7,9 @@ I/O size (minimum/optimal): 512 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Done.
New situation:

View File

@ -1,18 +1,18 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=8192,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=4,start=10240,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=5,start=12288,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=6,start=14336,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,10 +1,10 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=5000,size=2048>
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -1,18 +1,18 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=<default>,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=8192,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=10240,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=12288,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=14336,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,18 +1,18 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=4,start=8192,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=6,start=10240,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=7,start=12288,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=8,start=14336,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,14 +1,14 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=8192,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=12288,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=4,start=14336,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,15 +1,15 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=8192,size=22528>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=4,start=10240,size=2048>
Adding logical partition 5
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=5,start=4096,size=2048>
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -1,8 +1,8 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=4096,size=2048>
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -1,8 +1,8 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=6,start=6144,size=2048>
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes

View File

@ -1,21 +1,21 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=8192,size=22528>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=4,start=10240,size=2048>
Adding logical partition 5
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=5,start=14336,size=2048>
Adding logical partition 6
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=6,start=18432,size=12288>
Adding logical partition 7
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,21 +1,21 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=<default>,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=8192,size=22528>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=10240,size=2048>
Adding logical partition 5
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=14336,size=2048>
Adding logical partition 6
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=18432,size=12288>
Adding logical partition 7
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,12 +1,12 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=3,start=8192,size=22528>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,12 +1,12 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=<default>,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=4096,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=<default>,start=8192,size=22528>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,10 +1,10 @@
Created a new <removed>.
Created a new disklabel.
Requested partition: <partno=0,start=2048,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=1,start=6144,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Requested partition: <partno=2,start=8192,size=2048>
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,11 +1,11 @@
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new disklabel.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,8 +1,8 @@
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new disklabel.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,14 +1,14 @@
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new disklabel.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Adding logical partition 5
Created a new <removed>.
Created a new partition <removed>.
Adding logical partition 6
Created a new <removed>.
Created a new partition <removed>.
Adding logical partition 7
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -1,14 +1,14 @@
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new <removed>.
Created a new disklabel.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Created a new partition <removed>.
Adding logical partition 5
Created a new <removed>.
Created a new partition <removed>.
Adding logical partition 6
Created a new <removed>.
Created a new partition <removed>.
Adding logical partition 7
Created a new <removed>.
Created a new partition <removed>.
Disk <removed>: 15 MiB, 15728640 bytes, 30720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

View File

@ -7,10 +7,10 @@ Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Ignoring partition.
<removed>3: Created a new <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Ignoring partition.
<removed>5: Done.

View File

@ -7,8 +7,8 @@ Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Ignoring partition.
<removed>3: Ignoring partition.
<removed>4: Ignoring partition.

View File

@ -7,14 +7,14 @@ Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
<removed>5: Created a new <removed>.
<removed>6: Created a new <removed>.
<removed>7: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Created a new partition <removed>.
<removed>6: Created a new partition <removed>.
<removed>7: Created a new partition <removed>.
<removed>8: Done.
New situation:

View File

@ -8,13 +8,13 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
<removed>5: Created a new <removed>.
<removed>6: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Created a new partition <removed>.
<removed>6: Created a new partition <removed>.
<removed>7: Done.
New situation:

View File

@ -8,8 +8,8 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:

View File

@ -6,13 +6,13 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
<removed>5: Created a new <removed>.
<removed>6: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Created a new partition <removed>.
<removed>6: Created a new partition <removed>.
<removed>7: Done.
New situation:

View File

@ -6,10 +6,10 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Done.
New situation:

View File

@ -13,11 +13,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -12,11 +12,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -13,11 +13,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -8,12 +8,12 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
<removed>5: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Created a new partition <removed>.
<removed>6: Done.
New situation:

View File

@ -9,11 +9,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -9,11 +9,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -8,13 +8,13 @@ I/O size (minimum/optimal): 512 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
<removed>5: Created a new <removed>.
<removed>6: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Created a new partition <removed>.
<removed>6: Created a new partition <removed>.
<removed>7: Done.
New situation:

View File

@ -9,11 +9,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -9,11 +9,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -9,11 +9,11 @@ I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Script header accepted.
>>> Script header accepted.
>>> Script header accepted.
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
<removed>2: Created a new <removed>.
<removed>3: Created a new <removed>.
<removed>4: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Created a new partition <removed>.
<removed>3: Created a new partition <removed>.
<removed>4: Created a new partition <removed>.
<removed>5: Done.
New situation:

View File

@ -9,9 +9,9 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new <removed>.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:

View File

@ -6,8 +6,8 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:
@ -33,8 +33,8 @@ Old situation:
Device Start End Sectors Size Type
<removed>1 2048 102366 100319 49M Linux filesystem
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:

View File

@ -13,8 +13,8 @@ Old situation:
Device Boot Start End Sectors Size Id Type
<removed>1 2048 102399 100352 49M 83 Linux
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:
@ -40,8 +40,8 @@ Old situation:
Device Start End Sectors Size Type
<removed>1 2048 102366 100319 49M Linux filesystem
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:

View File

@ -6,8 +6,8 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
<removed>2: Done.
New situation:
@ -32,8 +32,8 @@ Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / <removed> bytes
>>> Created a new <removed>.
<removed>1: Created a new <removed>.
>>> Created a new disklabel.
<removed>1: Created a new partition <removed>.
The signature will be removed by a write command.
<removed>2: Done.

View File

@ -770,7 +770,8 @@ function ts_fdisk_clean {
sed -i \
-e 's/Disk identifier:.*/Disk identifier: <removed>/' \
-e 's/Created a new.*/Created a new <removed>./' \
-e 's/Created a new partition.*/Created a new partition <removed>./' \
-e 's/Created a new .* disklabel .*/Created a new disklabel./' \
-e 's/^Device[[:blank:]]*Start/Device Start/' \
-e 's/^Device[[:blank:]]*Boot/Device Boot/' \
-e 's/Welcome to fdisk.*/Welcome to fdisk <removed>./' \

View File

@ -51,7 +51,7 @@ mdadm -q --create ${MD_DEVICE} --metadata=0.90 --chunk=64 --level=0 \
--raid-devices=2 ${DEVICE1} ${DEVICE2} >> $TS_OUTPUT 2>> $TS_ERRLOG
# create dos partition table
$TS_CMD_FDISK ${MD_DEVICE} &>/dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${MD_DEVICE} &>/dev/null <<EOF
o
w
q

View File

@ -34,7 +34,8 @@ TS_KNOWN_FAIL="yes" # due to recent changes in mdadm
ts_scsi_debug_init dev_size_mb=51 sector_size=512
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -54,7 +54,7 @@ mdadm -q --create ${MD_DEVICE} --metadata=0.90 --chunk=64 --level=1 \
udevadm settle
# create dos partition table
$TS_CMD_FDISK ${MD_DEVICE} &>/dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${MD_DEVICE} &>/dev/null <<EOF
o
w
q

View File

@ -34,7 +34,7 @@ function init_partitions {
local dev=$1
ts_log "Create partitions"
$TS_CMD_FDISK $dev >> /dev/null 2>&1 <<EOF
$TS_CMD_FDISK --noauto-pt $dev >> /dev/null 2>&1 <<EOF
o
n
p

View File

@ -35,7 +35,8 @@ ts_scsi_debug_init dev_size_mb=50 sector_size=512 physblk_exp=3
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -35,7 +35,8 @@ ts_scsi_debug_init dev_size_mb=50 sector_size=512 physblk_exp=3 lowest_aligned=7
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -38,7 +38,8 @@ ts_scsi_debug_init dev_size_mb=50 sector_size=512 physblk_exp=3
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -34,7 +34,8 @@ ts_device_init 50
DEVICE=$TS_LODEV
ts_log "Create partitions"
$TS_CMD_FDISK ${DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -35,7 +35,8 @@ ts_scsi_debug_init dev_size_mb=50 sector_size=512
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} >> $TS_OUTPUT 2>> $TS_ERRLOG <<EOF
o
n
p
1

View File

@ -93,7 +93,7 @@ $TS_CMD_HEXDUMP -C ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_log "Create new DOS partition table"
echo -e "${FDISK_CMD_CREATE_DOSLABEL}${FDISK_CMD_SETID}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
| $TS_CMD_FDISK --noauto-pt ${TEST_IMAGE_NAME} &> /dev/null
$TS_CMD_HEXDUMP -C ${TEST_IMAGE_NAME} >> $TS_OUTPUT 2>> $TS_ERRLOG
print_layout

View File

@ -45,7 +45,7 @@ TEST_IMAGE_NAME=$(ts_image_init 10)
ts_log "Create new GPT partition table"
echo -e "${FDISK_CMD_CREATE_GPTLABEL}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
| $TS_CMD_FDISK --noauto-pt ${TEST_IMAGE_NAME} &> /dev/null
print_layout

View File

@ -55,7 +55,7 @@ ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_log "Create new DOS partition table"
echo -e "${FDISK_CMD_CREATE_DOSLABEL}${FDISK_CMD_INIT}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${FDISK_OPTIONS} ${TEST_IMAGE_NAME} &> /dev/null
| $TS_CMD_FDISK --noauto-pt ${FDISK_OPTIONS} ${TEST_IMAGE_NAME} &> /dev/null
ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
print_layout

View File

@ -65,8 +65,8 @@ ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
# need to run init twice, to change system ID after new label, otherwise system
# ID will be random and will screw up md5's
ts_log "Create new DOS partition table"
echo -e "${FDISK_CMD_INIT}${FDISK_CMD_CREATE_DOSLABEL}${FDISK_CMD_INIT}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
echo -e "${FDISK_CMD_CREATE_DOSLABEL}${FDISK_CMD_INIT}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK --noauto-pt ${TEST_IMAGE_NAME} &> /dev/null
ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
print_layout
ts_finalize_subtest

View File

@ -51,7 +51,7 @@ TEST_IMAGE_NAME=$(ts_image_init 20) # 20 MiB
ts_log "Create new DOS partition table"
echo -e "${FDISK_CMD_CREATE_DOSLABEL}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${TEST_IMAGE_NAME} &> /dev/null
| $TS_CMD_FDISK --noauto-pt ${TEST_IMAGE_NAME} &> /dev/null
print_layout

View File

@ -43,7 +43,7 @@ ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
ts_log "Create new SUN partition table"
echo -e "${FDISK_CMD_INIT}${FDISK_CMD_DELETEALL}${FDISK_CMD_WRITE_CLOSE}" \
| $TS_CMD_FDISK ${FDISK_OPTIONS} ${TEST_IMAGE_NAME} &> /dev/null
| $TS_CMD_FDISK --noauto-pt ${FDISK_OPTIONS} ${TEST_IMAGE_NAME} &> /dev/null
ts_image_md5sum >> $TS_OUTPUT 2>> $TS_ERRLOG
$TS_CMD_FDISK ${FDISK_OPTIONS} -l ${TEST_IMAGE_NAME} >> $TS_OUTPUT

View File

@ -20,7 +20,6 @@ TS_DESC="is mounted"
. $TS_TOPDIR/functions.sh
ts_init "$*"
ts_check_test_command "$TS_CMD_FDISK"
ts_check_test_command "$TS_CMD_MOUNT"
ts_check_test_command "$TS_CMD_UMOUNT"
ts_check_test_command "$TS_HELPER_ISMOUNTED"

View File

@ -39,7 +39,7 @@ if [ "$has_mtab" == "yes" ]; then
fi
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -48,7 +48,7 @@ if [ "$has_mtab" == "yes" ]; then
fi
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -30,7 +30,7 @@ ts_scsi_debug_init dev_size_mb=257
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -35,7 +35,7 @@ ts_scsi_debug_init dev_size_mb=257
DEVNAME=$(basename $TS_DEVICE)
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -21,7 +21,7 @@ ts_check_prog "mkfs.ext4"
ts_scsi_debug_init dev_size_mb=50
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -27,7 +27,7 @@ fi
ts_scsi_debug_init dev_size_mb=50
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -23,7 +23,7 @@ ts_log "Init device"
ts_scsi_debug_init dev_size_mb=50
ts_log "Create partitions"
$TS_CMD_FDISK ${TS_DEVICE} &> /dev/null <<EOF
$TS_CMD_FDISK --noauto-pt ${TS_DEVICE} &> /dev/null <<EOF
o
n
p

View File

@ -22,7 +22,6 @@ TS_DESC="script"
ts_init "$*"
ts_check_test_command "$TS_CMD_SFDISK"
ts_check_test_command "$TS_CMD_FDISK"
ts_check_test_command "$TS_CMD_WIPEFS"
ts_skip_nonroot

View File

@ -22,7 +22,6 @@ TS_DESC="script"
ts_init "$*"
ts_check_test_command "$TS_CMD_SFDISK"
ts_check_test_command "$TS_CMD_FDISK"
ts_check_test_command "$TS_CMD_WIPEFS"
ts_skip_nonroot