automount-sd/README.md

14 lines
581 B
Markdown
Raw Permalink Normal View History

2025-05-29 12:40:39 +03:00
# Automagic SD card import
I'll most likely forget this, so I'll have this documentation available for later use.
But tl;dr this is for no GUI automount of SD card, run copy and umount automagically.
Requires following packages: `udiskie`, `udisks2`
- polkit-rule goes to polkit folder, say `/etc/polkit-1/rules.d/69-mounter.rules` on Debian based polkitted things
- service units go to `/usr/lib/systemd/system` and change the user on udiskie.service
- copy file goes where ever the files are (edit the unit sd-copy and script)
- no udev bullshit required (yay)