Package: pmount
Version: 0.9.18-2
Followup-For: Bug #495458
I tried using 'pmount' to mount a Sansa e260 MP3 player (configured
to appear as a generic USB storage volume). 'pmount' refused, claiming the
device was not removable:
----
$ pmount --debug /dev/disk/by-label/Sansa\\x20e260
resolved /dev/disk/by-label/Sansa\x20e260 to device /dev/sdb1
Checking for device '/dev/sdb1' in '/etc/fstab'
-> not foundmount point to be used: /media/disk_by-label_Sansa\x20e260
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
locale encoding uses UTF-8: will mount FAT with utf8 optionCleaning lock
directory /var/lock/pmount_dev_sdb1
Checking for device '/dev/sdb1' in '/etc/mtab'
-> not foundChecking for device '/dev/sdb1' in '/proc/mounts'
-> not founddevice_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:17
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram0 (1:0)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram1 (1:1)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram2 (1:2)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram3 (1:3)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram4 (1:4)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram5 (1:5)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram6 (1:6)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram7 (1:7)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram8 (1:8)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram9 (1:9)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram10 (1:10)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram11 (1:11)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram12 (1:12)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram13 (1:13)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram14 (1:14)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/ram15 (1:15)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/sda (8:0)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:0
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:1
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:2
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:3
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:5
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:6
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/hda (3:0)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop0 (7:0)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop1 (7:1)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop2 (7:2)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop3 (7:3)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop4 (7:4)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop5 (7:5)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop6 (7:6)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/loop7 (7:7)
find_sysfs_device: checking whether /dev/sdb1 is on /sys/block/sdb (8:16)
find_sysfs_device: major device numbers match
find_sysfs_device: minor device numbers do not match, checking partitions...
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:16
find_sysfs_device: checking whether device /dev/sdb1 matches partition 8:17
find_sysfs_device: -> partition matches, belongs to block device /sys/block/sdb
device_removable: could not find a sysfs device for /dev/sdb1
Error: device /dev/sdb1 is not removable
policy check failed
----
sysfs quite clearly shows the device as removable:
----
$ cat /sys/block/sdb/removable
1
----
This exact same device mounts without issue using 'gnome-mount' and
plain old vanilla 'mount'.
Please investigate thie matter.
Schwab
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages pmount depends on:
ii libblkid1 1.40.5-1 block device id library
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-4 simple interprocess messaging syst
ii libhal-storage1 0.5.11-6 Hardware Abstraction Layer - share
ii libhal1 0.5.11-6 Hardware Abstraction Layer - share
ii libsysfs2 2.1.0-5 interface library to sysfs
pmount recommends no packages.
Versions of packages pmount suggests:
pn cryptsetup <none> (no description available)
ii hal 0.5.11-6 Hardware Abstraction Layer
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]