HAL taking over
Joe Marcus Clarke
marcus at marcuscom.com
Fri Nov 3 19:04:56 UTC 2006
On Fri, 2006-11-03 at 10:54 -0800, Kevin Oberman wrote:
> > 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.
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.
>
> 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)
On what mount point will this volume be mounted? At this point, it's
not mounted at all.
>
> 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.
>
> 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
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20061103/3987fc83/attachment.pgp
More information about the freebsd-gnome
mailing list