Mailinglist Archive: opensuse (963 mails)

< Previous Next >
Re: [opensuse] Re: Using more than 1 USB port
On Thursday, April 21, 2011 03:57:25 PM Wolfgang Mueller wrote:
On 04/21/11 15:27, İsmail Dönmez wrote:
On Thursday, April 21, 2011 03:26:14 PM Wolfgang Mueller wrote:
I plugged in two usb sticks and invoked 'ls /dev/disk/by-id'.
A list appeared referring to the first stick as


This is the disk name, i.e /dev/sdb


This is the partition name, ie. /dev/sdb1

They are not supposed to be directories, what do you mean by that?

For example on my computer I see that:

ls -al /dev/disk/by-id

lrwxrwxrwx 1 root root 9 Apr 21 15:21 usb-
SanDisk_Cruzer_200443244318A2E1B093-0:0 -> ../../sdd

lrwxrwxrwx 1 root root 10 Apr 21 15:21 usb-
SanDisk_Cruzer_200443244318A2E1B093-0:0-part1 -> ../../sdd1

lrwxrwxrwx 1 root root 10 Apr 21 15:21 usb-
SanDisk_Cruzer_200443244318A2E1B093-0:0-part2 -> ../../sdd2

Now, I have understood: My error was doing a simple 'ls' instead
of 'ls -a'. So, thanks to your tip, I found that my second stick
corresponds to /dev/sdc1.

Just forget about /dev/sdc1 and always use the device id :-)


İsmail Dönmez - openSUSE Booster
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
< Previous Next >