hard drive device assignment - question
Can someone give a basic description of how linux assigns drive letters?
I understand that a drive letter assignment is not static. If I add a drive between /dev/sda and /dev/sdb, my /dev/sdb will become /dev/sdc and the new drive will become /dev/sdb.
I have a hot swap tray and have come into some unexpected behavior. I removed /dev/sde from the hot swap tray and then loaded another drive into this same tray. When I mounted the new drive with options in fstab, it wouldn't mount because the new drive was /dev/sdf, not /dev/sde. Apparently, linux is looking at the id of the drive in addition to it's place in the BIOS chain.
My fstab entry is:
/dev/sde /backups auto noauto,rw,noexec,async,user 0 0
I was avoiding using UUIDs in the fstab so that new HDDs would not have to be "registered" in the fstab prior to use.
Is there a way to tell linux (or fstab) whatever drive is plugged into SATA channel X mount to /mountpoint?