Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Nov 2006 10:54:38 -0800
From:      "Kevin Oberman" <oberman@es.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        gnome@freebsd.org
Subject:   Re: HAL taking over 
Message-ID:  <20061103185438.D073D45053@ptavv.es.net>
In-Reply-To: Your message of "Thu, 02 Nov 2006 23:29:29 EST." <1162528169.8125.3.camel@shumai.marcuscom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1162580078_48489P
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> From: Joe Marcus Clarke <marcus@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@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

--==_Exmh_1162580078_48489P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFFS5Bukn3rs5h7N1ERAjhDAJ0WTHxKXCbsZg0U2VLVrcoGqsfW8ACgi4vJ
K/vbEa/XZTbY7IHcJLqAyAQ=
=HpO+
-----END PGP SIGNATURE-----

--==_Exmh_1162580078_48489P--



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