Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2009 00:02:03 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        "J.R. Oldroyd" <fbsd@opal.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: hal truncating block.device on freebsd-8.0rc1
Message-ID:  <1256270523.54447.113.camel@shumai.marcuscom.com>
In-Reply-To: <20091022212532.23a0b972@shibato.opal.com>
References:  <20091022212532.23a0b972@shibato.opal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-HThqFWZxW8we4gH6pgit
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Thu, 2009-10-22 at 21:25 -0400, J.R. Oldroyd wrote:
> Attached USB camera in umass mode.  Doesn't automount.
>=20
> Running hald --verbose shows:
>=20
> ...
> 21:02:23.301 [W] hf-block.c:49: unable to stat /dev/msdosfs/NIKON: No suc=
h file or directory
> Run started hald-probe-volume (60000) (0)=20
> !  full path is '/usr/local/libexec/hald-probe-volume', program_dir is '/=
usr/local/libexec'
> pid 6469: rc=3D1 signaled=3D0: /usr/local/libexec/hald-probe-volume
> 21:02:23.313 [I] hald.c:108: Added device to GDL; udi=3D/org/freedesktop/=
Hal/devices/volume_part2_size_4095705600_block
> 21:02:23.322 [I] hf-devd.c:316: received devd event: !system=3DDEVFS subs=
ystem=3DCDEV type=3DCREATE cdev=3Dpass1
> 21:02:23.330 [I] hf-devd.c:316: received devd event: !system=3DDEVFS subs=
ystem=3DCDEV type=3DCREATE cdev=3Dda1
> 21:02:23.331 [I] hf-devd.c:316: received devd event: !system=3DDEVFS subs=
ystem=3DCDEV type=3DCREATE cdev=3Dda1s1
> 21:02:23.331 [I] hf-devd.c:316: received devd event: !system=3DDEVFS subs=
ystem=3DCDEV type=3DCREATE cdev=3Dmsdosfs/NIKON D300
> ...
>=20
> # ls -l /dev/msdosfs
> total 0
> crw-r-----  1 root  operator    0, 110 Oct 22 21:02 NIKON D300
>=20
> # lshal
> ...
> udi =3D '/org/freedesktop/Hal/devices/volume_part2_size_4095705600_block'
>   block.device =3D '/dev/msdosfs/NIKON'  (string)
>   block.is_volume =3D false  (bool)
>   block.storage_device =3D '/org/freedesktop/Hal/devices/storage_model_D3=
00'  (string)
>   info.capabilities =3D {'block'} (string list)
>   info.category =3D 'block'  (string)
>   info.parent =3D '/org/freedesktop/Hal/devices/volume_part2_size_4095705=
600'  (string)
>   info.product =3D 'Block Device'  (string)
>   info.subsystem =3D 'block'  (string)
>   info.udi =3D '/org/freedesktop/Hal/devices/volume_part2_size_4095705600=
_block'  (string)
> ...
>=20
> 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

>=20
> 	-jr
> _______________________________________________
> freebsd-gnome@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
>=20
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-HThqFWZxW8we4gH6pgit
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEABECAAYFAkrhKrkACgkQb2iPiv4Uz4cZMQCcDF2NH0rsOqFMcPflTEPs35/l
2sUAoJWYJIGx7mx6OX1/PkBE4+MJujsK
=HRSN
-----END PGP SIGNATURE-----

--=-HThqFWZxW8we4gH6pgit--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1256270523.54447.113.camel>