I can't mount vfat/msdos USB drivers in KDE4. But I can mount ufs drives. After HOURS of trying to figure this out (which users should never have to do) I discover that the -L option to mount_msdosfs does not work. When I try to mount by hand I get the following:
This is the exact same debug message I get out of HAL when I try to mount the drive in KDE using the Device Notifier. I don't use the -u or -L options by hand, but that's what KDE tells HAL to use, which I didn't find out until debugging HAL. Here is the HAL debug output:
I am using FreeBSD 7.1-STABLE. Did something change with the mount_msdosfs command? Unfortunately, mount options for HAL are hardcoded into KDE, making this a very annoying bug.
Help, fixes, workarounds wanted! Many thanks in advance!
Code:
$ mount_msdosfs -u 1001 -L C /dev/da0s1 mnt
mount_msdosfs: C: No such file or directory
This is the exact same debug message I get out of HAL when I try to mount the drive in KDE using the Device Notifier. I don't use the -u or -L options by hand, but that's what KDE tells HAL to use, which I didn't find out until debugging HAL. Here is the HAL debug output:
Code:
mount_point = ''
mount_fstype = 'vfat'
mount_options = '-u=1001 -L=C '
trying dir /media/disk
given_options[0] = '-u=1001'
given_options[1] = '-L=C'
allowed_options[0] = 'ro'
allowed_options[1] = 'noexec'
allowed_options[2] = 'noatime'
allowed_options[3] = 'longnames'
allowed_options[4] = 'shortnames'
allowed_options[5] = 'nowin95'
allowed_options[6] = '-u='
allowed_options[7] = '-g='
allowed_options[8] = '-m='
allowed_options[9] = '-M='
allowed_options[10] = '-L='
allowed_options[11] = '-D='
allowed_options[12] = 'large'
using action org.freedesktop.hal.storage.mount-removable for uid 1001, system_bus_connection :1.32
23:09:32.678 [I] device.c:1894: Removing locks from ':1.68'
passed privilege
2757: XYA creating /media/.hal-mtab~
2757: XYA closing /media/.hal-mtab~
/sbin/mount error 19968, stdout='', stderr='mount_msdosfs: C: No such file or directory
'
pid 2757: rc=1 signaled=0: /usr/local/libexec/hal-storage-mount
23:09:32.686 [I] device.c:1894: Removing locks from ':1.67'
23:09:32.686 [I] hald_dbus.c:4042: No more methods in queue
23:09:32.686 [I] hald_dbus.c:4105: failed with 'org.freedesktop.Hal.Device.Volume.UnknownFailure' 'mount_msdosfs: C: No such file or directory '
I am using FreeBSD 7.1-STABLE. Did something change with the mount_msdosfs command? Unfortunately, mount options for HAL are hardcoded into KDE, making this a very annoying bug.
Help, fixes, workarounds wanted! Many thanks in advance!