Bug 28911

Summary: usb disk should be detected like usb keyboard/mouse
Product: [Retired] Red Hat Linux Reporter: Marty Shannon <martys>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-23 00:01:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marty Shannon 2001-02-22 19:49:38 UTC
In the same place in rc.sysinit that USB keyboard and mouse are detected
(in order to load modules), USB disks should be detected (to modprobe
usb-storage).  This would allow such disks to be mounted in the normal
sequence at boot time based on their entries in /etc/fstab.  The code is
cut & paste from the keyboard or mouse code.

Comment 1 Bill Nottingham 2001-02-22 23:10:03 UTC
updfstab (from kudzu) should write the appropriate entries into /etc/fstab.

Comment 2 Marty Shannon 2001-02-23 00:01:23 UTC
That's fine if kudzu is going to "modprobe usb-storage".  But what happens (as
in a laptop situation) when I boot with drive present, then boot without, then
boot with?  I'm still not convinced that kudzu is the answer for disk-like
devices.  I already have an issue with my Dell laptop when I shuffle a drive out
to put a battery in (usually it's on AC).

Comment 3 Bill Nottingham 2001-02-23 05:31:20 UTC
updfstab is run on

a) boot
b) hotplug events

Still, perhaps loading usb-storage could be useful. Added; will be
in next initscripts build, but it really should go off to
its own script at some point.