Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Nov 2006 14:04:12 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        gnome@freebsd.org
Subject:   Re: HAL taking over
Message-ID:  <1162580652.4927.55.camel@shumai.marcuscom.com>
In-Reply-To: <20061103185438.D073D45053@ptavv.es.net>
References:  <20061103185438.D073D45053@ptavv.es.net>

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

--=-05AgSqAEE9IHPaAY/awr
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2006-11-03 at 10:54 -0800, Kevin Oberman wrote:
> > From: Joe Marcus Clarke <marcus@marcuscom.com>
> > Date: Thu, 02 Nov 2006 23:29:29 -0500
> >=20
> > On Thu, 2006-11-02 at 19:53 -0800, Kevin Oberman wrote:
> > >=20
> > > The partition that did not show a label looks fine when I do a dumpfs=
 on
> > > it, so the tunefs did the trick.
> >=20
> > You need to restart hald, and re-login to GNOME for this to take effect=
.
> > lshal should show a volume.label property with your label.  If it does
> > not, then gnome-vfs will not show a name.
>=20
> But I did and it does! I logged out of Gnome and restarted all three
> daemons in order dbus, polkitd, and hald. Then I restarted Gnome.

You might want to make sure gnome-vfs-daemon actually died, and was
respawned.  If not, it will hold on to the old volume name.

>=20
> udi =3D '/org/freedesktop/Hal/devices/volume_label_aux'
>   volume.mount.valid_options =3D {'ro', 'noexec'} (string list)
>   org.freedesktop.Hal.Device.Volume.method_execpaths =3D {'hal-storage-mo=
unt', 'hal-system-storage-unmount', 'hal-system-storage-eject'} (string lis=
t)
>   org.freedesktop.Hal.Device.Volume.method_signatures =3D {'ssas', 'as', =
'as'} (string list)
>   org.freedesktop.Hal.Device.Volume.method_names =3D {'Mount', 'Unmount',=
 'Eject'} (string list)
>   info.interfaces =3D {'org.freedesktop.Hal.Device.Volume'} (string list)
>   block.storage_device =3D '/org/freedesktop/Hal/devices/storage_serial_N=
T02T53258CW'  (string)
>   info.product =3D 'aux'  (string)
>   info.udi =3D '/org/freedesktop/Hal/devices/volume_label_aux'  (string)
>   block.is_volume =3D true  (bool)
>   volume.mount_point =3D ''  (string)
>   volume.is_mounted_read_only =3D false  (bool)
>   volume.is_mounted =3D false  (bool)
>   volume.num_blocks =3D 1048576  (0x100000)  (uint64)
>   volume.size =3D 536870912  (0x20000000)  (uint64)
>   volume.block_size =3D 512  (0x200)  (uint64)
>   volume.uuid =3D ''  (string)
>   volume.label =3D 'aux'  (string)
>   volume.fsversion =3D '2'  (string)
>   volume.fstype =3D 'ufs'  (string)
>   volume.fsusage =3D 'filesystem'  (string)
>   volume.ignore =3D false  (bool)
>   volume.is_partition =3D false  (bool)
>   volume.is_disc =3D false  (bool)
>   block.minor =3D 97  (0x61)  (int)
>   block.major =3D 0  (0x0)  (int)
>   block.device =3D '/dev/ad2s1a'  (string)
>   info.category =3D 'volume'  (string)
>   info.bus =3D 'block'  (string)
>   info.capabilities =3D {'block', 'volume'} (string list)
>   info.parent =3D
> '/org/freedesktop/Hal/devices/volume_part1_size_39999504384'  (string)

On what mount point will this volume be mounted?  At this point, it's
not mounted at all.

>=20
> I also checked and the disk is labeled under Windows, but the lshal
> does not show any information on the label of that slice. The only udi
> is the volume_part_4_size_41974571520. It has no children. Looks like
> hald is not understanding FAT disks quite well enough.

I don't see that UDI in your output at all.  I do see a FAT32 partition
without a label (ad0s4), and one called SERVICEV001 (ad0s2).  Only the
former is mounted.

>=20
> If a volume name is not available, then using either volume.mount_point
> or even block.device would be far more useful than using the size of th
> partition. (But I don't know if that is a FreeBSD thing or something that
> goes back to Gnome.)

That is controlled by gnome-vfs, and is not FreeBSD-specific.

Joe

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

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

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

iD8DBQBFS5Ksb2iPiv4Uz4cRAmfzAJ9aupfxnko8Mm8D0OakdTs7WGfsNQCeOnws
bUWXLTFLsxx+UmlUtpwGRU0=
=kuq+
-----END PGP SIGNATURE-----

--=-05AgSqAEE9IHPaAY/awr--




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