Public bug reported:

I've a problem with usbmount having mounted an usb drive with ntfs.
I'm using Ubuntu 16.04 (4.4.0-24-generic) and usbmount version 0.0.22.

Comparing to the default configuration, I added the the options ntfs and 
fuseblk to FILESYSTEMS in /etc/usbmount/usbmount.conf, so now it looks like:
FILESYSTEMS="ntfs fuseblk vfat ext2 ext3 ext4 hfsplus"

When plugging in an usb drive with a ntfs partition on the usb drive, it is 
mounted via the command (have used usbmount debug and syslog to get the mount 
command):
mount -tntfs -osync,noexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
That command is perfectly okay. But access to the mount point is not possible:
ls -lah /media
ls: cannot access '/media/usb0': Transport endpoint is not connected
total 36K
drwxr-xr-x 10 root root 4.0K Jun 25 20:29 .
drwxr-xr-x 23 root root 4.0K Jun 25 21:06 ..
lrwxrwxrwx  1 root root    4 Jun 25 20:29 usb -> usb0
d?????????  ? ?    ?       ?            ? usb0
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb1
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb2
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb3
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb4
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb5
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb6
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb7

And listing ntfs processes with
ps ax|grep ntfs
results in:
 1961 pts/1    S+     0:00 grep --color=auto ntfs

After unmounting the usb drive andrun the above mount command as root, "ps 
ax|grep ntfs" lists as follows:
 1969 ?        Ss     0:00 /sbin/mount.ntfs-3g /dev/sdb1 /media/usb0 -o 
rw,sync,noexec,nodev,noatime,nodiratime
 1973 pts/1    S+     0:00 grep --color=auto ntfs

Now access to the usb drive is possible:
ls -lah /media
total 40K
drwxr-xr-x 10 root root 4.0K Jun 25 20:29 .
drwxr-xr-x 23 root root 4.0K Jun 25 21:06 ..
lrwxrwxrwx  1 root root    4 Jun 25 20:29 usb -> usb0
drwxrwxrwx  1 root root 4.0K Jun 24 16:11 usb0
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb1
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb2
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb3
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb4
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb5
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb6
drwxr-xr-x  2 root root 4.0K Jun 25 20:29 usb7

So mounting the drive manually perfectly works, using usbmount does not,
although the same mount was used. Why?

** Affects: usbmount (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mount ntfs udev usb

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

Title:
  NTFS-3g mounting by usbmount does not work

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to