You are not logged in.

#1 2010-06-20 13:44:11

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

[solved] Using pmount - how?

It seems like I am not able to use pmount:

$ pmount /dev/sdg1 
lock_dir(): creat: No such file or directory
Error: could not lock the mount directory. Another pmount is probably running for this mount point.

The same thing with the --debug option:

$ pmount --debug /dev/sdg1 
resolved /dev/sdg1 to device /dev/sdg1
Checking for device '/dev/sdg1' in '/etc/fstab'
 -> not found
mount point to be used: /media/sdg1
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_sdg1
Checking for device '/dev/sdg1' in '/etc/mtab'
 -> not found
Checking for device '/dev/sdg1' in '/proc/mounts'
 -> not found
device_whitelist: checking /etc/pmount.allow...
device_whitlisted(): nothing matched, returning 0
find_sysfs_device: looking for sysfs directory for device 8:97
found block subsystem at: /sys/class/block
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/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/sdg1 matches partition 8:0
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:1
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:2
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:3
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:4
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sr0 (11:0)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sr1 (11:1)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sda1 (8:1)
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/sdg1 matches partition 8:1
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:0
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sda2 (8:2)
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/sdg1 matches partition 8:2
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:0
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sda3 (8:3)
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/sdg1 matches partition 8:3
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:0
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sda4 (8:4)
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/sdg1 matches partition 8:4
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:0
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop0 (7:0)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop1 (7:1)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop2 (7:2)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop3 (7:3)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop4 (7:4)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop5 (7:5)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop6 (7:6)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/loop7 (7:7)
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/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/sdg1 matches partition 8:16
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sdc (8:32)
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/sdg1 matches partition 8:32
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sdd (8:48)
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/sdg1 matches partition 8:48
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sde (8:64)
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/sdg1 matches partition 8:64
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sdf (8:80)
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/sdg1 matches partition 8:80
find_sysfs_device: checking whether /dev/sdg1 is on /sys/class/block/sdg (8:96)
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/sdg1 matches partition 8:96
find_sysfs_device: checking whether device /dev/sdg1 matches partition 8:97
find_sysfs_device: -> partition matches, belongs to block device /sys/class/block/sdg
device_removable: corresponding block device for /dev/sdg1 is /sys/class/block/sdg
is_blockdev_attr_true: value of /sys/class/block/sdg/removable == 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdg1'
spawn(): /sbin/cryptsetup terminated with status 234
device is not LUKS encrypted, or cryptsetup with LUKS support is not installed
locking mount point directory
lock_dir(): creat: No such file or directory
Error: could not lock the mount directory. Another pmount is probably running for this mount point.

Last edited by Stalafin (2010-06-20 19:16:10)

Offline

#2 2010-06-20 18:29:21

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] Using pmount - how?

Hrm, please check ls -l /media , ls -dl /media , and according to this check ls -dl /var/lock .


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2010-06-20 19:15:59

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: [solved] Using pmount - how?

Haha, thanks; I followed the advice given in the link you posted. Everything is alright now.

Offline

Board footer

Powered by FluxBB