πŸ“• Node [[autofs]]
↳ πŸ““ Projection [[@flancian/autofs]]
πŸ““ File autofs.md (text) by @flancian ️本 πŸ“

Autofs

  • I use this to automount SD cards.
    • In /etc/auto.master: /media /etc/auto.removable --timeout=2,sync
    • In /etc/auto.removable: sd -fstype=vfat,uid=$my_user_id :/dev/mmcblk0p1
  • As of [[2020-12-25]] this no longer works.
    • Instead I just use fstab and mount/unmount as needed:
    • 64gb
      • UUID=6139-3034 /mnt/sd exfat noauto,x-systemd.automount,uid=UID_HERE,user
    • 32gb
      • UUID=03BE-BBB1 /mnt/sd exfat noauto,x-systemd.automount,uid=UID_HERE,user
    • An alternative is to set up both systemd/udev rules, seems like hassle right now.
Receiving pushes... (requires JavaScript)
Loading context... (requires JavaScript)
πŸ›οΈ Stoas for [[@flancian/autofs]]
πŸ“– Open document (Hedgedoc) at https://doc.anagora.org/autofs
πŸ“– Open document (Etherpad) at https://stoa.anagora.org/p/autofs