On 29/12/2007, murf <murf at syndicate7.net> wrote:
> In my experience, there's no way (that I know of) to pre-determine which
> USB disk is detected first on a system boot. The only way around this is
> to power them on in sequence. I have a machine with three USB drives, and
We've moved off the topic of swap, but nevertheless..
> if it powercycles ofr any reason, the USB drives are invariably detected
> in $random order, and mounted wrong. I suspect this is a limitation of
> USB, but I'd like to stand corrected on this if anyone knows any better!
Yes and no. Yes there is no way to reliably detect what order the USB
storage devices get detected in. However, no there are in fact ways
around this. Namely, one can use udev to create custom /dev/whatever
files specific to model/serial numbers of each device. This way the
order does not matter as you use the device specific /dev/ files and
not sdXX for mounting.
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug> Who we are : http://www.linux.ie/> Where we are : http://www.linux.ie/map/>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!