Comment on How I accidentally wiped my server by having a typo in my Nextcloud docker config
yiliu@informis.land 1 year agoYou can label your devices. When formatting, do mkfs.ext4 -l my-descriptive-name /dev/whatever
. Now, refer to it exclusively by /dev/disk/by-label/my-descriptive-name
. Much harder to mix up home
and swap
than sdc2
and sdc3
(or, for that matter, two UUIDs).