On 4/21/2011 9:26 AM, Wolfgang Mueller wrote:
On 04/21/11 14:45, İsmail Dönmez wrote:
On Thursday, April 21, 2011 02:40:36 PM Wolfgang Mueller wrote:
When I use one USB port only, I mount it as /dev/sdb1. But for simultaneously using two or even three ports, which are the /dev name(s) I have to use? Instead of looking for hardcoded names, look under /dev/disk/by-id so you can see your disks by id. Or if they have labels /dev/disk/by-label etc.
I plugged in two usb sticks and invoked 'ls /dev/disk/by-id'. A list appeared referring to the first stick as
usb-Generic_USB_Flash_Disk_00000000000064-0:0 usb-Generic_USB_Flash_Disk_00000000000064-0:0-part1
and to the second stick as
usb-058f_Spaceloop_8GB_E7B24B26-0:0 usb-058f_Spaceloop_8GB_E7B24B26-0:0-part1
But that does not give me access to the sticks since these names are completely useless because they are no directory names. In other words, neither /dev/usb-Generic_USB_Flash_Disk_00000000000064-0:0 nor /dev/usb-Generic_USB_Flash_Disk_00000000000064-0:0-part1 nor /dev/usb-058f_Spaceloop_8GB_E7B24B26-0:0 nor /dev/sb-058f_Spaceloop_8GB_E7B24B26-0:0-part1 nor /dev/disk/usb-Generic_USB_Flash_Disk_00000000000064-0:0 nor /dev/disk/usb-Generic_USB_Flash_Disk_00000000000064-0:0-part1 nor /dev/disk/usb-058f_Spaceloop_8GB_E7B24B26-0:0 nor /dev/disk/sb-058f_Spaceloop_8GB_E7B24B26-0:0-part1 exists.
Anyway thank you, even though your information did not help.
Bye, Wolfgang
His information may not have helped but in fairness I have to say that his answer _exactly_ answered the question you asked. If you wanted different information, you should have asked for what you actually wanted. You said "/dev/sdb1" in your own question, which is a device node, not a filesystem mount point. These locations above are exactly the same device nodes. You asked for a device node and you got a device node. Now you are asking for a mounted filesystem mount point, which is entirely different. It's ok that you were hazy on the distinction since it's a pretty low level techie thing that the average user is generally protected from having to understand. But I just wanted to say that it was wrong to say the information was not helpful. rather, your question was not. -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org