Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In what order do Linux SCSI disk IDs appear? I recently found out that sometimes, hdc1 and hdd1 come without hdb1. What's the reason for this?

share|improve this question

This scheme can be found here HDA is your master on primary controller, hdb is a slave. For SCSI it should be sdX.

share|improve this answer
Hi tdi, thankx for your concern. But here is my situation, I am writing a c program in linux and in the program I am mounting 2 usb devices attached to 2 specific ports in the computer. (eg : I have to mount the usb attached to the left port in to /mnt/left and the right port to /mnt/right) and the attachment order of those devices may differ (eg: left port usb may or may not be attached before the right.) In this case what should i do? – gosk Mar 27 '11 at 10:04
You can use another method. In newer linux there is a way to uniquely identify disc device. Check this link…. In general you can access diks by their ID. /dev/disk/by-id. Aslso by path and uuid. – tdi Mar 27 '11 at 16:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .