summaryrefslogblamecommitdiffstats
path: root/tests/expected/fdisk/gpt
blob: 3244874a3bc241c32a6b591e8a4b70eb875ccece (plain) (tree)
1
2
3
4
5
6
7
8
9



                              

                                                     
                                                     
                                                       
                   
                          





                               

                                                     
                                                     
                                                       
                   

                          








                                                    




                             

                                                     
                                                     
                                                       
                   

                          








                                                    




                   

                                                     
                                                     
                                                       
                   
                          
 







                                                    




                      

                                                     
                                                     
                                                       
                   

                          








                                                    

                   





                                                     
                                                       


                          








                                                    







                                                     
                                                       


                          








                                                    
                   
 
Initialize empty image
Create new GPT partition table

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>
-------------------

Create partitions
Change partition type by number

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>2  4096  6143    2048   1M Linux filesystem
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux filesystem
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------

Change partition type by UUID

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>2  4096  6143    2048   1M Linux filesystem
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux swap
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------

Delete partition

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux swap
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------

Create again partition

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>2  4096  6143    2048   1M Linux filesystem
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux swap
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------

Corrupt primary table

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>2  4096  6143    2048   1M Linux filesystem
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux swap
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------

Corrupt backup table

---layout----------
Disk <removed>: 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 / <removed> bytes
Disklabel type: gpt
Disk identifier: <removed>

Device             Start   End Sectors Size Type
<removed>1  2048  4095    2048   1M EFI System
<removed>2  4096  6143    2048   1M Linux filesystem
<removed>3  6144  8191    2048   1M Linux filesystem
<removed>4  8192 10239    2048   1M Linux filesystem
<removed>5 10240 12287    2048   1M Linux swap
<removed>6 12288 14335    2048   1M Linux filesystem
<removed>7 14336 16383    2048   1M Linux filesystem
<removed>8 16384 18431    2048   1M Linux filesystem
-------------------