LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] System boots with disks in random order...

[ILUG] System boots with disks in random order...

Daniel Shaw dshaw78 at gmail.com
Tue Jan 1 19:58:40 GMT 2008


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.

Cheers,
Daniel


>
> cheers,
> Murf
>
> --
> 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/
>



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell