*doesn't* unmount something if it is listed in fstab

because in this last version too
http://git.debian.org/?p=usbmount/usbmount.git;a=blob_plain;f=usbmount;hb=HEAD
I see

elif [ "$1" = remove ]; then

    # A block or partition device has been removed.
    # Test if it is mounted.
    while read device mountpoint fstype remainder; do
        if [ "$DEVNAME" = "$device" ]; then
            # If the mountpoint and filesystem type are maintained by
            # this script, unmount the filesystem.
            if in_list "$mountpoint" "$MOUNTPOINTS" &&
                in_list "$fstype" "$FILESYSTEMS"; then

but "$mountpoint" not in "$MOUNTPOINTS", it mountpoint in fstab and different 
from default
MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
             /media/usb4 /media/usb5 /media/usb6 /media/usb7"
(from usbmount.conf)

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to