Package: usbmount
Version: 0.0.22
Severity: important
Dear Maintainer,
I'm trying to use usbmount to automount my pendrive formatted as ntfs.
For that I only added ntfs to list of filesystems to /etc/usbmount config.
Unfortunately, it doesn't work. After plugging in the device what I get is:
[carramba@~]$ ls -la /media
ls: cannot access /media/usb0: Transport endpoint is not connected
total 1
drwxr-xr-x 13 root root 336 gru 28 13:30 .
drwxr-xr-x 24 root root 712 gru 29 13:23 ..
drwxr-xr-x 2 root root 88 sty 2 2010 hdc
drwxr-xr-x 2 root root 88 gru 26 21:05 sdb1
drwxr-xr-x 2 root root 88 mar 5 2012 sr0
lrwxrwxrwx 1 root root 4 gru 28 13:30 usb -> usb0
?????????? ? ? ? ? ? usb0
drwxr-xr-x 2 root root 48 gru 28 13:30 usb1
drwxr-xr-x 2 root root 48 gru 28 13:30 usb2
drwxr-xr-x 2 root root 48 maj 17 2014 usb3
drwxr-xr-x 2 root root 48 gru 28 13:30 usb4
drwxr-xr-x 2 root root 48 gru 28 13:30 usb5
drwxr-xr-x 2 root root 48 gru 28 13:30 usb6
drwxr-xr-x 2 root root 48 gru 28 13:30 usb7
The device seems to be mounted, though:
/dev/sdb1 on /media/usb0 type fuseblk
(rw,nodev,noexec,noatime,user_id=0,group_id=0,allow_other,blksize=4096)
/var/log/user.log contains the following (don't know why the device is
present twice):
Dec 28 13:55:50 dom mtp-probe: checking bus 2, device 3:
"/sys/devices/pci0000:00/0000:00:06.1/usb2/2-3"
Dec 28 13:55:50 dom mtp-probe: bus: 2, device: 3 was not an MTP device
Dec 28 13:55:52 dom usbmount[2330]: /dev/sdc does not contain a filesystem
or disklabel
Dec 28 13:55:52 dom usbmount[2360]: executing command: mount -tntfs
-onoexec,nodev,noatime,nodiratime /dev/sdc1 /media/usb1
Dec 28 13:55:52 dom usbmount[2360]: executing command: run-parts
/etc/usbmount/mount.d
Dec 28 13:57:37 dom mtp-probe: checking bus 2, device 4:
"/sys/devices/pci0000:00/0000:00:06.1/usb2/2-3"
Dec 28 13:57:37 dom mtp-probe: bus: 2, device: 4 was not an MTP device
Dec 28 13:57:38 dom usbmount[2479]: /dev/sdb does not contain a filesystem
or disklabel
Dec 28 13:57:39 dom usbmount[2509]: executing command: mount -tntfs
-onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0
Dec 28 13:57:39 dom usbmount[2509]: executing command: run-parts
/etc/usbmount/mount.d
When executing the command above manually (after umount/pumount)
(mount -tntfs -onoexec,nodev,noatime,nodiratime /dev/sdb1 /media/usb0)
everything is fine.
The device is reported by dmesg as:
[ 3.454987] scsi 6:0:0:0: Direct-Access Generic Flash Disk
8.07 PQ: 0 ANSI: 4
[ 3.456324] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 3.457985] sd 6:0:0:0: [sdb] 15687680 512-byte logical blocks: (8.03
GB/7.48 GiB)
[ 3.459325] sd 6:0:0:0: [sdb] Write Protect is off
[ 3.459334] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 3.461438] sd 6:0:0:0: [sdb] Write cache: disabled, read cache:
enabled, doesn't support DPO or FUA
[ 3.481088] sdb: sdb1
[ 3.487444] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Best regards,
Robert
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages usbmount depends on:
ii lockfile-progs 0.1.17
ii udev 215-8
ii util-linux 2.25.2-4
Versions of packages usbmount recommends:
ii pmount 0.9.23-3+b1
usbmount suggests no packages.
-- Configuration Files:
/etc/usbmount/usbmount.conf changed:
ENABLED=1
MOUNTPOINTS="/media/usb0 /media/usb1 /media/usb2 /media/usb3
/media/usb4 /media/usb5 /media/usb6 /media/usb7"
FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs"
MOUNTOPTIONS="noexec,nodev,noatime,nodiratime"
FS_MOUNTOPTIONS=""
VERBOSE=yes
-- no debconf information