Skip to content

Instantly share code, notes, and snippets.

@bronze
Last active March 9, 2021 00:04
Show Gist options
  • Save bronze/c528c96cc7566dafc64c4fd77cadecf2 to your computer and use it in GitHub Desktop.
Save bronze/c528c96cc7566dafc64c4fd77cadecf2 to your computer and use it in GitHub Desktop.
automount
UUID=554d70bb-d070-49ea-975c-50e57ea897b6 /coding ext4 defaults,noatime 0 2
UUID=0d060313-aa09-4cd9-9baa-0627cf36b6ea /files ext4 defaults,noatime 0 2
https://github.com/coldfix/udiskie
https://unix.stackexchange.com/questions/170549/how-to-disable-automount-for-external-devices-in-opensuse-13-2
https://archived.forum.manjaro.org/t/wiki-howto-permanent-mount-for-partition/26187
systemctl stop udisks2.service
systemctl mask udisks2
echo "UUID=$(lsblk -no UUID /dev/sda5) /coding $(lsblk -no FSTYPE /dev/sda5) defaults,noatime 0 2" >> /etc/fstab
echo "UUID=$(lsblk -no UUID /dev/sda6) /files $(lsblk -no FSTYPE /dev/sda6) defaults,noatime 0 2" >> /etc/fstab
su bronze
sudo nano /etc/fstab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment