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
usb-Generic_USB_Flash_Disk_00000000000064-0:0 This is the disk name, i.e /dev/sdb
usb-Generic_USB_Flash_Disk_00000000000064-0:0-part1 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. Thanks a lot, İsmail, you helped me very much! Bye, Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org