Alan Stern wrote: > On Wed, 12 Jul 2006, Stephen J. Gowdy wrote: > > >>Can you not use labels instead of /dev/XX nodes? >> >>On Wed, 12 Jul 2006, Holger Eitzenberger wrote: >> >> >>>Stephen J. Gowdy wrote: >>> >>> >>>>I don't think so, they are just used in order of need. What problem are you >>>>actually trying to solve? >>> >>>I have an installer which in one mode should be able to do an unattended >>>installation from this USB stick by booting into unit_1 (logical CDROM). >>>Installation is then done onto the first (!) available block device, that >>>is: >>>either /dev/hda or /dev/sda. After installation unit_2 (logical disk) of >>>the >>>Stick is mounted and a user-defined configuration is applied if present. >>> >>>Problem here: unit_2 of the stick is always the first block device >>>(/dev/sda), because usb-storage is statically build into kernel, while the >>>SCSI drivers are not. > > > Or can you change the installer so that it uses the second available block > device instead of the first?
Possible but not perfect since I would have to mount /dev/sdb but write /dev/sda in every config file. Also note that hen the USB stick has to be removed before reboot as otherwise /dev/sda in the config files would not be correct. I will take a look at the udev/symlink approach and see if it helps. /h -- Holger Eitzenberger <[EMAIL PROTECTED]> | Kernel Developer Astaro AG | www.astaro.com | Phone +49-721-25516-246 | Fax -200 Astaro Security Linux - PC Magazine Best of the Year 2004/2005 - CRN Best of the Year 2005 - SC Magazine "Best Buy" & 5 star rating - October 2005, Best of the Year 2005 - Internet Professionell "Empfehlung der Redaktion" - November 2005 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
