Re: Hotplug Device assignment inconsistant

Lawrence MacIntyre <[email protected]>
Newsgroups gmane.linux.hardware.sony
Message-ID <1056758476.18116.3.camel@nautique>
I've noticed that if you use the same exact piece of hardware, it will
always be the same exact device (e.g. /dev/sda1).  However, if you have
several piece of hardware that use scsi-emulation, each of them will be
a different device.  The order in which you introduce them to the system
determines the device name.  I would think that the
/etc/sysconfig/hwconf file would make that work correctly, but it
doesn't seem to use that information to determine the device name.  I
suppose that it is a work in progress...

On Fri, 2003-06-27 at 19:27, John Andersen wrote:
> I'm running SuSE 8.2 and i have a GRX570. It has 3 usb ports and a FireWire 
> port. I use a couple of those thumb drives on the usb port and a external 
> FireWire hard drive on the firewire port. I also have a seldome used usb 
> floppy drive that works well.
> 
> When you plug them in SuSE's hotplug services senses the devices and assigns 
> them to a some scsi emulation device. Most of the time it will place a 
> mount/demount icon on the desktop, but this seems to fail after more than one 
> physical disconnects in the same boot session.
> 
> Here's the problem.... I can never be sure what scsi device it will choose to 
> assign. For instance, my firewire drive usually comes up as /dev/sdb1 and the 
> thumb drives usually come up as /dev/sda1. But this is quite inconsistant, 
> and there is no way I can build a KDE desktop mounting/unmounting icon that 
> mounts these things nor can i write any backup scripts that I can trust 
> because I can never be sure the firewire will be /dev/sdb1. It might come up 
> as /dev/sdc1 next time.
> 
> Is there any way anyone knows to lock these 4 ports to a given
> device name, one each?
> 
> I typically use a usb mouse, plugged in to one of the three usb ports.
-- 
    Lawrence MacIntyre     865.574.8696     [email protected]
               Oak Ridge National Laboratory
High Performance Information Infrastructure Technology Group
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA+/NrMCNjP8rawCW4RAndKAKCUZkj2XVKy8PyUjmIKA1lKy10RXQCfZ2gt
RLi4JxZHM8pQWc0jZnZRHP0=
=2rLn
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.