Bug 28911 - usb disk should be detected like usb keyboard/mouse
Summary: usb disk should be detected like usb keyboard/mouse
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-02-22 19:49 UTC by Marty Shannon
Modified: 2014-03-17 02:19 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2001-02-23 00:01:27 UTC

Attachments (Terms of Use)

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.

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