HAL taking over
Kevin Oberman
oberman at es.net
Fri Nov 3 18:55:03 UTC 2006
> From: Joe Marcus Clarke <marcus at marcuscom.com>
> Date: Thu, 02 Nov 2006 23:29:29 -0500
>
> On Thu, 2006-11-02 at 19:53 -0800, Kevin Oberman wrote:
> >
> > The partition that did not show a label looks fine when I do a dumpfs on
> > it, so the tunefs did the trick.
>
> 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.
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.
udi = '/org/freedesktop/Hal/devices/volume_label_aux'
volume.mount.valid_options = {'ro', 'noexec'} (string list)
org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 'hal-system-storage-unmount', 'hal-system-storage-eject'} (string list)
org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} (string list)
org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 'Eject'} (string list)
info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_NT02T53258CW' (string)
info.product = 'aux' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_label_aux' (string)
block.is_volume = true (bool)
volume.mount_point = '' (string)
volume.is_mounted_read_only = false (bool)
volume.is_mounted = false (bool)
volume.num_blocks = 1048576 (0x100000) (uint64)
volume.size = 536870912 (0x20000000) (uint64)
volume.block_size = 512 (0x200) (uint64)
volume.uuid = '' (string)
volume.label = 'aux' (string)
volume.fsversion = '2' (string)
volume.fstype = 'ufs' (string)
volume.fsusage = 'filesystem' (string)
volume.ignore = false (bool)
volume.is_partition = false (bool)
volume.is_disc = false (bool)
block.minor = 97 (0x61) (int)
block.major = 0 (0x0) (int)
block.device = '/dev/ad2s1a' (string)
info.category = 'volume' (string)
info.bus = 'block' (string)
info.capabilities = {'block', 'volume'} (string list)
info.parent =
'/org/freedesktop/Hal/devices/volume_part1_size_39999504384' (string)
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.
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.)
The complete lshal output is available at:
http://home.comcast.net/~ykoberman/FreeBSD/lshal.out
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061103/56f1f173/attachment.pgp
More information about the freebsd-gnome
mailing list