Affects me as well.
Patch works for me too.
Since you beat me on reporting it and fixing it first I'll give a slightly 
cleaner solution instead:

FSTYPE=$(echo "$DEVINFO" | sed 's/.*\<TYPE="\([^"]*\)".*/\1/g;
s/[[:blank:]]*//g;')

Using \< instead of a space will work even if TYPE= is at the beginning on the 
line in blkid's output (in the case it will change again in the future).
I would also suggest to change UUID and USAGE lines below in this manner for 
the same reason.
Keep up the good work!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/875636

Title:
  usbmount doesn't auto-mount external harddrive anymore in oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usbmount/+bug/875636/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to