Code:
$ pmount -d -t ntfs-3g /dev/sdb1
resolved /dev/sdb1 to device /dev/sdb1
mount point to be used: /media/sdb1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount_dev_sdb1
device_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/dm-0 (254:0)
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: corresponding block device for /dev/sdb1 is /sys/block/sdb
get_blockdev_attr: value of /sys/block/sdb/removable == 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdb1'
spawn(): /sbin/cryptsetup terminated with status 0
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' '/dev/sdb1' '_dev_sdb1'
Enter LUKS passphrase:
spawn(): /sbin/cryptsetup terminated with status 0
locking mount point directory
mount point directory locked
filesystem is ntfs-3g. Setting locale to de_DE.UTF-8
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs-3g' '-o' 'nosuid,nodev,user,nonempty,async,atime,noexec,uid=1000,gid=1000,umask=077,locale=de_DE.UTF-8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked
$ mount
[...]
/dev/mapper/_dev_sdb1 on /media/sdb1 type fuse (rw,nosuid,nodev,noexec,noatime,allow_other)
As a reference, here is the output when I don't specify ntfs-3g:
Code:
$ pmount -d /dev/sdb1
resolved /dev/sdb1 to device /dev/sdb1
mount point to be used: /media/sdb1
no iocharset given, current locale encoding is UTF-8
locale encoding uses UTF-8, setting iocharset to 'utf8'
Cleaning lock directory /var/lock/pmount_dev_sdb1
device_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/dm-0 (254:0)
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: corresponding block device for /dev/sdb1 is /sys/block/sdb
get_blockdev_attr: value of /sys/block/sdb/removable == 1
policy check passed
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'isLuks' '/dev/sdb1'
spawn(): /sbin/cryptsetup terminated with status 0
spawnv(): executing /sbin/cryptsetup '/sbin/cryptsetup' 'luksOpen' '/dev/sdb1' '_dev_sdb1'
Enter LUKS passphrase:
spawn(): /sbin/cryptsetup terminated with status 0
locking mount point directory
mount point directory locked
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=000,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'udf' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=000' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'iso9660' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'vfat' '-o' 'nosuid,nodev,user,quiet,shortname=mixed,async,atime,noexec,uid=1000,gid=1000,umask=077' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 32
spawnv(): executing /bin/mount '/bin/mount' '-t' 'ntfs' '-o' 'nosuid,nodev,user,async,atime,noexec,uid=1000,gid=1000,umask=077,iocharset=utf8' '/dev/mapper/_dev_sdb1' '/media/sdb1'
spawn(): /bin/mount terminated with status 0
unlocking mount point directory
mount point directory unlocked
$ mount
[...]
/dev/mapper/_dev_sdb1 on /media/sdb1 type ntfs (rw,noexec,nosuid,nodev,uid=1000,gid=1000,umask=077,iocharset=utf8)
So who calls pmount? gnome-volume-manager? Where could I override ntfs with ntfs-3g? Come on, it's linux, there must be a config file ;).
Bookmarks