Re: usb-Platte: sda oder uba?
On Mon, 08 Oct 2007 the mental interface of
Michael Renner told:
> Moin,
>
> wo ist eigentlich festgelegt wie das Device einer USB-Platte (oder eines
> USB-Menorysticks etc) heisst?
>
> Ich hab hier 3 Debian-Systeme:
> 2.6.8: /dev/sda
> 2.6.13: /dev/uba
> 2.6.18: /dev/sda
>
> Da keine Systematik erkennbar ist wird's nicht der Kernel sein.
> Hintergrund: mein 3ware RAID Controller mappt die zwei IDE-Platten als als
> RAID 1 nach /dev/sda zum Bootzeitpunkt. Steckt jedoch zum Bootzeitpunkt ein
> externes Speicherdevice am Rechner wird das als /dev/sda eingebunden, der
> Mount der Rootpartition geht entsprechend schief.
> Das Problem wäre aus der Welt, wenn der Rechner mit dem Kernel 2.6.18 /dev/uba
> verwendet!
Du kannst das Problem systematisch lösen, indem Du entsprechende
udev Regeln vergibst:
http://www.reactivated.net/writing_udev_rules.html
Elimar
--
Never make anything simple and efficient when a way
can be found to make it complex and wonderful ;-)
Reply to: