Red Hat Bugzilla – Bug 9755
"fdisk -l" doesn't work as it did in previous version
Last modified: 2008-05-01 11:37:54 EDT
/sbin/fdisk included with util-linux-2.9w-28, when invoked with the "-l"
switch, does not work as it does under RHL 6.0. The newer version appears
to require a device specification, whereas older versions would list
partition information for all connected IDE and SCSI drives if no device
specification is given.
It appears that this change in behavior was introduced in RHL 6.1. The man
page suggests that the device specification isn't necessary with the "-l"
*** Bug 8226 has been marked as a duplicate of this bug. ***
This was fixed with the introduction of /proc/partitions, but the parsing didn't
always worked properly so I went ahead and fixed that for 2.10p-6