{snip it all!}
You should be able to force a specific mount point just by adding a UUID line
to fstab or cryptab. I believe (okay, can’t remember) that will also stop
the "device inserted .."-dialog.
Note: These have been modified from my actual entries, so use only as a guide,
do not copy/paste. Copy/paste will most likely fubar your system.
(Especially if your external drive is formatted something other than ext4.)
Examples:
UnEncrypted:
- ADD to /etc/fstab
UUID={huge UUID number} /media/michael/hdsda ext4 defaults,noatime,nofail 1 2
Encrypted:
- ADD to /etc/crypttab
lesda /dev/disk/by-uuid/{huge UUID number} /root/.luks/keyfile.sda luks,nofail
- ADD to /etc/fstab
/dev/mapper/lesda /media/michael/hdsda ext4 defaults,noatime,nofail 1 2
See the last LUKS post I made for more details on encrypted.
Best,
Michael