From owner-freebsd-gnome@FreeBSD.ORG Fri Oct 23 04:01:55 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E41121065670 for ; Fri, 23 Oct 2009 04:01:54 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 2FAE98FC18 for ; Fri, 23 Oct 2009 04:01:54 +0000 (UTC) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n9N42Fic003725; Fri, 23 Oct 2009 00:02:15 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: "J.R. Oldroyd" In-Reply-To: <20091022212532.23a0b972@shibato.opal.com> References: <20091022212532.23a0b972@shibato.opal.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HThqFWZxW8we4gH6pgit" Organization: MarcusCom, Inc. Date: Fri, 23 Oct 2009 00:02:03 -0400 Message-Id: <1256270523.54447.113.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-gnome@freebsd.org Subject: Re: hal truncating block.device on freebsd-8.0rc1 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Oct 2009 04:01:55 -0000 --=-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--