cyan Posted November 29, 2015 Share Posted November 29, 2015 just wondering why /dev/sd* (* as a-z) not in the order of drive connected ? I always thought /dev/sda = flash disk /dev/sdb = hdd on sata1 /dev/sdc = hdd on sata2 Quote Link to comment
trurl Posted November 29, 2015 Share Posted November 29, 2015 I think it's in the order of drive responding when booting. The order can even change from one boot to another. It is not important unless you actually need to refer to the sd*, which is usually never. You should usually refer to md*, which will be in the correct order. If you do need to refer to sd* you just have to check the webUI to see which is which disk. Quote Link to comment
c3 Posted November 29, 2015 Share Posted November 29, 2015 It's called udev. Which arrived with the 2.6 kernel. http://www.redhat.com/magazine/002dec04/features/udev/ http://www.linux.com/news/hardware/peripherals/180950-udev basically you should be writing udev rules, or never use things /dev/sda without some verification logic. Sounds like you are wanting to use /dev/disk/by-path since you are referencing ports. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.