fdisk -l regression between v2.24.2 and v2.25
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Jos van Wolput!
Thanks for your bug report.
On Sun, Jul 27, 2014 at 03:29:38PM +0800, Jos van Wolput wrote:
[...]
Quoted 2 lines
After upgrading util-linux 2.20.1-5.8 (sid) to version 2.25-3 (experimental) fdisk -l ends with the following error: cannot open
/dev/sr0: No medium found
[...]
Quoted 5 lines
fdisk: cannot open
/dev/sr0: No medium found
---
and the other devices/dev/sdb*are not shown.Indeed I don't use the cdrom (sr0) but using fdisk -l from util-linux 2.20.1-5.8 (sid) there is no such issue, all disks are shown:
[...]
This seems to be a regression between 2.24.2 and 2.25 and git bisect tells me the first bad commit is: a22c6eb206fb716fa4
Reverting a22c6eb206fb716fa4 and reviving wholedisk.h from 62acb047a625059e77 makes v2.25 fdisk -l work as expected for me.
I'm CCing the upstream developer mailing list to hopefully have some help on finding the proper fix.
Regards,
Andreas Henriksson
Karel Zak
maintainerQuoted 16 lines · Andreas Henriksson
Hello Jos van Wolput!
Thanks for your bug report.
On Sun, Jul 27, 2014 at 03:29:38PM +0800, Jos van Wolput wrote:
[...]Quoted 2 lines
After upgrading util-linux 2.20.1-5.8 (sid) to version 2.25-3 (experimental) fdisk -l ends with the following error: cannot open
/dev/sr0: No medium found[...]
Quoted 5 lines
fdisk: cannot open
/dev/sr0: No medium found
---
and the other devices/dev/sdb*are not shown.Indeed I don't use the cdrom (sr0) but using fdisk -l from util-linux 2.20.1-5.8 (sid) there is no such issue, all disks are shown:
[...]
Quoted 8 lines
This seems to be a regression between 2.24.2 and 2.25 and git bisect tells me the first bad commit is:
a22c6eb206fb716fa4Reverting
a22c6eb206fb716fa4and revivingwholedisk.hfrom62acb047a625059e77makes v2.25 fdisk -l work as expected for me.I'm CCing the upstream developer mailing list to hopefully have some help on finding the proper fix.
Already fixed in upstream tree. The patch will be in 2.25.1 (probably at the end of the next month).
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com