[BusyBox 0001393]: fdisk -l does not handle extended partition tables (completely)

bugs at busybox.net bugs at busybox.net
Fri Jun 15 21:10:09 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1393 
====================================================================== 
Reported By:                dirk
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1393
Category:                   Standards Compliance
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             06-15-2007 09:45 PDT
Last Modified:              06-15-2007 14:10 PDT
====================================================================== 
Summary:                    fdisk -l does not handle extended partition tables
(completely)
Description: 
busybox fdisk -l (tested in 1.4.x, 1.5.x, 1.6.0)
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1           5       40131  de Unknown
/dev/sda2   *           6        1311    10490445   7 HPFS/NTFS
/dev/sda3            1312        1573     2104515  82 Linux swap
/dev/sda4            1574        9726    65488972+  f Win95 Ext'd (LBA)
/dev/sda5   ?       35443       69328   272183986  6c Unknown

The normal fdisk -l output

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           5       40131   de  Dell Utility
/dev/sda2   *           6        1311    10490445    7  HPFS/NTFS
/dev/sda3            1312        1573     2104515   82  Linux swap /
Solaris
/dev/sda4            1574        9726    65488972+   f  W95 Ext'd (LBA)
/dev/sda5            1574        2226     5245191   44  Unknown
/dev/sda6            2227        4707    19928601   83  Linux
/dev/sda7            4708        7188    19928601   83  Linux
/dev/sda8            7189        9726    20386453+  8e  Linux LVM

Running on a OpenSuSE Linux 10.2, 32bit system. Not only this partion
setup, but similar too on other machines. Commands just run one after the
other without changing anything in the environment.

====================================================================== 

---------------------------------------------------------------------- 
 vda - 06-15-07 14:10  
---------------------------------------------------------------------- 
svn log:

------------------------------------------------------------------------
r18727 | vda | 2007-06-02 14:46:55 +0200
(&http://busybox.net/bugs/view.php?id=1057;&http://busybox.net/bugs/view.php?id=1073;&http://busybox.net/bugs/view.php?id=1090;,
02
&http://busybox.net/bugs/view.php?id=1048;&http://busybox.net/bugs/view.php?id=1102;&http://busybox.net/bugs/view.php?id=1085;
2007) | 3 lines

fdisk: make it work with big disks (read: typical today's disks)
even if CONFIG_LFS is unset.

------------------------------------------------------------------------
r18721 | vda | 2007-06-01 16:40:03 +0200
(&http://busybox.net/bugs/view.php?id=1055;&http://busybox.net/bugs/view.php?id=1090;&http://busybox.net/bugs/view.php?id=1085;,
01
&http://busybox.net/bugs/view.php?id=1048;&http://busybox.net/bugs/view.php?id=1102;&http://busybox.net/bugs/view.php?id=1085;
2007) | 2 lines

website: announce 1.6.0

IOW: it was fixed just after 1.6.0.

In 1.6.0, it should works just fine with CONFIG_LFS=y. Can you test that? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-15-07 09:45  dirk           New Issue                                    
06-15-07 09:45  dirk           Status                   new => assigned     
06-15-07 09:45  dirk           Assigned To               => BusyBox         
06-15-07 14:10  vda            Note Added: 0002483                          
======================================================================




More information about the busybox-cvs mailing list