If you add an external drive to your linux system using fstab, use the uuid of the drive instead of the /dev/sdb1 (or whatever it is called).
After a reboot your system might just swap around those identifiers for different drives and you've got a wonderful mess.

You can find out your drive uuid by listing your drives `lsblk` and then `blkid /dev/sdb1` (replace sdb1 with your device name from lsblk.
Then you can reference the drive in your fstab like so:
`/dev/disk/by-uuid/<UUID> /media/MOUNT`

· · Web · 0 · 3 · 1
Sign in to participate in the conversation

Generic Mastodon instance hosted by the FairSocialNet association.