summaryrefslogblamecommitdiffstats
path: root/tests/expected/fdisk/align-512-4K
blob: 615d6096d124e61088d3087ffd6ac02347ecbf5b (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                                                  





                                                                              



                                                                   

                                              
               
                                                                                                                         

                                                                                                                        

                                              
               
                                                                                                                            

                                                                                                                         

                                              
               
                                                                                                                            

                                                                                                                         

                                              
               
                                        

                                                                                                
                                                      
 


                                                                     

                                                                                                                        


                                                                     

                                                                                                                        


                                                                     
                                                                                                
                                                  

                      
                                    






                                                               






                                                                












                                                           
Create partitions
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel

Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

The device presents a logical sector size that is smaller than
the physical sector size. Aligning to a physical sector (or optimal
I/O) size boundary is recommended, or performance may be impacted.


Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): Partition type:
   p   primary (0 primary, 0 extended, 4 free)
   e   extended
Select (default p): Partition number (1-4, default 1): First sector (2048-102399, default 2048): Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-102399, default 102399): Partition 1 of type Linux and of size 10 MiB is set

Command (m for help): Partition type:
   p   primary (1 primary, 0 extended, 3 free)
   e   extended
Select (default p): Partition number (1-4, default 2): First sector (22528-102399, default 22528): Using default value 22528
Last sector, +sectors or +size{K,M,G} (22528-102399, default 102399): Partition 2 of type Linux and of size 10 MiB is set

Command (m for help): Partition type:
   p   primary (2 primary, 0 extended, 2 free)
   e   extended
Select (default p): Partition number (1-4, default 3): First sector (43008-102399, default 43008): Using default value 43008
Last sector, +sectors or +size{K,M,G} (43008-102399, default 102399): Partition 3 of type Linux and of size 10 MiB is set

Command (m for help): Partition type:
   p   primary (3 primary, 0 extended, 1 free)
   e   extended
Select (default e): Selected partition 4
First sector (63488-102399, default 63488): Using default value 63488
Last sector, +sectors or +size{K,M,G} (63488-102399, default 102399): Using default value 102399
Partition 4 of type Extended and of size 19 MiB is set

Command (m for help): All primary partitions are in use
Adding logical partition 5
First sector (65536-102399, default 65536): Using default value 65536
Last sector, +sectors or +size{K,M,G} (65536-102399, default 102399): Partition 5 of type Linux and of size 5 MiB is set

Command (m for help): All primary partitions are in use
Adding logical partition 6
First sector (77824-102399, default 77824): Using default value 77824
Last sector, +sectors or +size{K,M,G} (77824-102399, default 102399): Partition 6 of type Linux and of size 5 MiB is set

Command (m for help): All primary partitions are in use
Adding logical partition 7
First sector (90112-102399, default 90112): Using default value 90112
Last sector, +sectors or +size{K,M,G} (90112-102399, default 102399): Using default value 102399
Partition 7 of type Linux and of size 6 MiB is set

Command (m for help): 
Disk /dev/...: 52 MB, 52428800 bytes
32 heads, 32 sectors/track, 100 cylinders, total 102400 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 32768 bytes


   Device Boot      Start         End      Blocks   Id  System
/dev/...1            2048       22527       10240   83  Linux
/dev/...2           22528       43007       10240   83  Linux
/dev/...3           43008       63487       10240   83  Linux
/dev/...4           63488      102399       19456    5  Extended
/dev/...5           65536       75775        5120   83  Linux
/dev/...6           77824       88063        5120   83  Linux
/dev/...7           90112      102399        6144   83  Linux

Command (m for help): The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
Alignment offsets:
0
0
0
0
0
0
0