Eric S. Johansson wrote: > in playing with USB flash drives on systems with SCSI disks, every time > I boot with the flagstick installed, it gets assigned to /dev/sda and > the SCSI drives are assigned to subsequent /dev/sdX device names. But > when I remove the USB drive, all assignments shift down and things like > mount points get royally screwed up. > > is there any way I can assign the usb flash drive to some guaranteed to > be unused sdX device name and let the SCSI devices be allocated normally > or force the USB flash device to be detected after the SCSI disks so > that it is assigned to the end of the list of SCSI devices? > > my goal is to get the SCSI disk device name assignments to be the same > whether or not the flash drive is present. > > ---eric > >
Better idea: Write a udev rule so that you'll get symlinks, such as: /dev/usbkey /dev/camera /dev/widget /dev/foo /dev/bar ... -- [Name ] :: [Matan I. Peled ] [Location ] :: [Israel ] [Public Key] :: [0xD6F42CA5 ] [Keyserver ] :: [keyserver.kjsl.com] encrypted/signed plain text preferred
signature.asc
Description: OpenPGP digital signature