Created
March 1, 2012 21:49
-
-
Save theirix/1953462 to your computer and use it in GitHub Desktop.
pmount udev rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# automounting usb flash drives | |
ACTION=="add", SUBSYSTEM=="block", KERNEL=="[sh]d[b-z][0-9]*",RUN+="/usr/bin/pmount --sync --umask 000 %k %c" | |
ACTION=="remove", SUBSYSTEM=="block", KERNEL=="[sh]d[b-z][0-9]*",RUN+="/usr/bin/pumount /dev/%k" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment