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
# /etc/udev/rules.d/10-my-media-automount.rules | |
# start at sdb to ignore the system hard drive | |
KERNEL!="sd[b-z]*", GOTO="my_media_automount_end" | |
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end" | |
# import some useful filesystem info as variables | |
IMPORT{program}="/sbin/blkid -o udev -p %N" |