1

[kubuntu] USB automount getting double bump

view story
linux-howto

http://ubuntuforums.org – All, I have been searching for and found a udev script which seems to automount USB sticks to /media. The only problem, and I don't think it is a problem with this script directly, is each drive gets a "double bump". Watching /media shows sdb briefly, then it is replaced by sdb1 (when the stick has no label). Code: KERNEL!="sd*[!0-9]|sr*", GOTO="media_label_end" KERNEL=="sd*[!0-9]|sr*", ATTR{removable}=="0" ENV{ID_SERIAL}!="?*", SUBSYSTEMS=="usb", IMPORT{program}="/sbin/blkid -o udev -p %N" ENV{ID_F (Hardware)