[Parted-maintainers] Bug#379405: parted does not always display partitions

Michael Tautschnig tautschn at model.in.tum.de
Sun Jul 23 12:17:40 BST 2006


Package: parted
Version: 1.7.1-2.1

As shown below, the partition table is not always shown, depending on the units
being used. This is probably related to #369583, #374001, and others.

Regards,
Michael

michael at l03[13:12]:~/svnhome/proj/fai/trunk$ /sbin/parted /dev/hda 
WARNING: You are not superuser.  Watch out for permissions.
GNU Parted 1.7.1
Using /dev/hda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) help unit                                                        
  unit UNIT                                set the default unit to UNIT

        UNIT is one of: s, B, kB, MB, GB, TB, compact, cyl, chs, %, kiB, MiB, GiB, TiB
(parted) print                                                            

Disk /dev/hda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: mac

(parted) unit MB                                                          
(parted) print                                                            

Disk /dev/hda: 80026MB
Sector size (logical/physical): 512B/512B
Partition Table: mac

Number  Start    End      Size     File system  Name     Flags
 1      0.00MB   0.03MB   0.03MB                primary       
 5      0.03MB   1.03MB   1.00MB   hfs          primary  boot 
 3      134MB    32212MB  32078MB  hfs+         primary       
 6      32212MB  46212MB  14000MB  ext3         primary       
 2      46212MB  47212MB  1000MB   linux-swap   primary  swap 
 4      47212MB  80026MB  32814MB  ext3         primary       

(parted) unit TB                                                          
(parted) print                                                            

Disk /dev/hda: 0.08TB
Sector size (logical/physical): 512B/512B
Partition Table: mac

(parted) unit GB                                                          
(parted) print                                                            

Disk /dev/hda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: mac

(parted) unit B                                                           
(parted) print                                                            

Disk /dev/hda: 80026361855B
Sector size (logical/physical): 512B/512B
Partition Table: mac

Number  Start         End           Size          File system  Name     Flags
 1      512B          32767B        32256B                     primary       
 5      32768B        1033215B      1000448B      hfs          primary  boot 
 3      134250496B    32212287487B  32078036992B  hfs+         primary       
 6      32212287488B  46212287487B  14000000000B  ext3         primary       
 2      46212287488B  47212287999B  1000000512B   linux-swap   primary  swap 
 4      47212288000B  80026361855B  32814073856B  ext3         primary       

(parted)                                                                  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20060723/6b7589d1/attachment.pgp


More information about the Parted-maintainers mailing list