[Eug-lug] usb floppy??
Allen Brown
abrown at peak.org
Mon Aug 30 20:45:45 PDT 2004
On Mon, 30 Aug 2004, Bob Miller wrote:
> Max Lemieux wrote:
>
> > Ah. Thanks for the correction. I've noticed that all USB storage devices
> > (generally memory cards) load as /dev/sda, didn't think about floppies
> > falling under that category. Guess I shouldn't complain unless I'm willing
> > to rewrite usb-storage. ;)
>
> If you have an external USB drive, a memory stick, an iPod, and a
> floppy, they ALL show up as /dev/sda. Unless you have more than one
> plugged in at once, then the later ones are /dev/sdb, /dev/sdc, ...
>
> This makes it hard to write scripts that access the transient
> peripherals -- their names keep changing.
>
> You'll have the same problem when you use extra network interface in
> your laptop. Mine has two built in, and I can see legitimate reasons
> for using three at once.
>
> Is there any good solution?
> --
> Bob Miller K<bob>
The 2.6 kernel has a mechanism for dealing with this. I don't
remember all the details. But it involves providing more useful
information in the replacement for /proc. Or something like that.
--
Allen Brown
work: Agilent Technologies non-work: http://www.peak.org/~abrown/
allen_brown at agilent.com abrown at peak.org
Q: What has 10 heads and no brains? A: a committee.
More information about the EUGLUG
mailing list