I believe recent kernels and mount utilities have added support for mounting based on filesystem labels. However you need to have the drives formatted as ext* for this to work, then use e2label to add the label to each drive, then edit your fstab to change the device name to "LABEL=labelname" instead of /dev/whatever. This will still require that you try to mount both mountpoints when you add a drive, unless you know which label you're putting in there.
I think hotplug also has some features to automatically mount drives like this, and it might work better.
|