hal truncating block.device on freebsd-8.0rc1
Joe Marcus Clarke
marcus at marcuscom.com
Fri Oct 23 04:01:55 UTC 2009
On Thu, 2009-10-22 at 21:25 -0400, J.R. Oldroyd wrote:
> Attached USB camera in umass mode. Doesn't automount.
>
> Running hald --verbose shows:
>
> ...
> 21:02:23.301 [W] hf-block.c:49: unable to stat /dev/msdosfs/NIKON: No such file or directory
> Run started hald-probe-volume (60000) (0)
> ! full path is '/usr/local/libexec/hald-probe-volume', program_dir is '/usr/local/libexec'
> pid 6469: rc=1 signaled=0: /usr/local/libexec/hald-probe-volume
> 21:02:23.313 [I] hald.c:108: Added device to GDL; udi=/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block
> 21:02:23.322 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=pass1
> 21:02:23.330 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=da1
> 21:02:23.331 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=da1s1
> 21:02:23.331 [I] hf-devd.c:316: received devd event: !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/NIKON D300
> ...
>
> # ls -l /dev/msdosfs
> total 0
> crw-r----- 1 root operator 0, 110 Oct 22 21:02 NIKON D300
>
> # lshal
> ...
> udi = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block'
> block.device = '/dev/msdosfs/NIKON' (string)
> block.is_volume = false (bool)
> block.storage_device = '/org/freedesktop/Hal/devices/storage_model_D300' (string)
> info.capabilities = {'block'} (string list)
> info.category = 'block' (string)
> info.parent = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600' (string)
> info.product = 'Block Device' (string)
> info.subsystem = 'block' (string)
> info.udi = '/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block' (string)
> ...
>
> Looks like hal is truncating the device name from "NIKON D300" to
> just "NIKON" so the mount is failing.
Hal doesn't support volumes with spaces in their names. This is
documented in the FreeBSD HAL FAQ at
http://www.freebsd.org/gnome/docs/halfaq.html . Patches to add support
for this are very welcome.
Joe
>
> -jr
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"
>
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20091023/064a993c/attachment.pgp
More information about the freebsd-gnome
mailing list