when be "add" in this script now write:
if [ "$1" = add ]; then
blablabla
# Try to use specifications in /etc/fstab first.
if egrep -q "^[[:blank:]]*$DEVNAME" /etc/fstab; then
log info "executing command: mount $DEVNAME"
mount $DEVNAME || log err "mount by DEVNAME wan't successful; return
code $?"
elif grep -q "^[[:blank:]]*UUID=$UUID" /etc/fstab; then
log info "executing command: mount -U $UUID"
mount -U $UUID || log err "mount by UUID wan't successful; return code
$?"
else
(and I find old bug here for this part
https://bugs.launchpad.net/ubuntu/+source/usbmount/+bug/534532 )
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/690288
Title:
don't unmount usb if it in fstab
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs