Bug 134900 - Mkinitrd uses deprecated /proc/scsi
Summary: Mkinitrd uses deprecated /proc/scsi
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-07 01:21 UTC by W. Michael Petullo
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-07 01:32:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description W. Michael Petullo 2004-10-07 01:21:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.2)
Gecko/20040809 Epiphany/1.3.8

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):
mkinitrd-4.1.14-1

How reproducible:
Always

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.

Additional info:

Comment 1 Jeremy Katz 2004-10-07 01:32:35 UTC
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)


Note You need to log in before you can comment on or make changes to this bug.