Red Hat Bugzilla – Bug 134900
Mkinitrd uses deprecated /proc/scsi
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.2)
Description of problem:
Linux 2.6 says the following about /proc/scsi:
This option enables support for the various files in
/proc/scsi. In Linux 2.6 this has been superceeded by
files in sysfs but many legacy applications rely on this.
Mkinitrd continues to use the deprecated /proc/scsi to determine if a
system needs its USB drivers to boot.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Execute mkinitrd using a kernel with no support for /proc/scsi on a
system that needs its USB drivers to boot.
Actual Results: /proc/scsi/usb-storage does not exist so mkinitrd can
not determine if /dev/sdX is a USB disk.
Expected Results: Mkinitrd should use /sys instead of /proc/scsi.
sysfs doesn't have the required information for not using /proc/scsi.
And it's hardly deprecated when kernel developers are still changing
it (cf the change from /proc/scsi/usb-storage-$host to
/proc/scsi/usb-storage/$host a few months ago)