On Tue, 11 Jul 2006, Holger Eitzenberger wrote:

> Hi list,
> 
> I have a USB device which consists of three logical units.  unit_1 
> registers as a cdrom device, unit_2 as disk device, unit_3 is a "hidden" 
> partition AFAIK only accessible by a special windows software (never tried).
> 
> I have an installer which requires to boot from unit_1 (logical CDROM) 
> and access unit_2 later on.  Installation will go onto the first block 
> device.
> 
> I have to use the usb-storage driver for both unit_1 and unit_2 because 
> of its support for the builtin USB-to-IDE bridge.  I have build 
> usb-storage statically into kernel because that's the easiest way for me 
> to boot from unit_1.  Problem: currently unit_2 is assigned as /dev/sda, 
>   another SCSI device is assigned /dev/sdb (driver as module).

Why is this a problem?

Do you know that you can use udev to change the device names as they are 
assigned?  Or if you prefer, you can set up symbolic links in /dev.

> Is there a way for usb-storage to not use /dev/sda for its block device 
> and instead start from a user-defined block device, such as /dev/sdb?

No, this is not handled within usb-storage.  In fact, it is not handled 
within the kernel at all -- it is a question about what device entries 
exist in /dev, which is determined entirely by user programs.  Go read the 
documentation for udev.

Alan Stern



-------------------------------------------------------------------------
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

Reply via email to