Multiple cdrom icons showing up in Nautilus

Jon Nettleton jon.nettleton at gmail.com
Mon Oct 24 19:53:01 PDT 2005


On Mon, 2005-10-24 at 22:38 -0400, David Zeuthen wrote:
> On Mon, 2005-10-24 at 22:16 -0400, Jon Nettleton wrote:
> > Hal is presenting gnome-vfs2 with the
> > volume=/org/freedesktop/Hal/devices/temp/109/ while it polls the device
> > to see what volumes it has.
> 
> Are you sure about this, e.g. do you have evidence in forms of debug
> logs from gnome-vfs or lshal that this is the case? 
> 
> To explain: we have two device stores - the temporary device list and
> the global device list. It's true you can SetProperty() and
> GetProperty() on devices in the TDL but they should never be announced
> as being added.
> 
> Cheers,
> David
> 
> 

Amazingly enough...for once yes I do.  attached is the relevant output
from gnome-vfs-daemon with HAL_SHOW_DEBUG defined.  The device
is /dev/hdc.   I can get more complete debug output if you would like,
but this does show that the temporary device list is being acted upon by
gnome-vfs-daemon.

-Jon
-------------- next part --------------
(process:24893): libgnomevfs-DEBUG: into the volume loop
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSVolume for device path /dev/hda6
(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_TSSTcorpCD/DVDW_TS_H552U'
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/temp/109'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_model_TSSTcorpCD/DVDW_TS_H552U'
  volume udi '/org/freedesktop/Hal/devices/temp/109'

(process:24893): libgnomevfs-DEBUG: Removing GnomeVFSDrive for device path /dev/hdc
(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hdc
(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_2'
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_uuid_3272_15F7'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_2'
  volume udi '/org/freedesktop/Hal/devices/volume_uuid_3272_15F7'

(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_1'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_drive_without_volumes for
  drive udi '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_1'

(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_0'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_drive_without_volumes for
  drive udi '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE_0'

(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_drive_without_volumes for
  drive udi '/org/freedesktop/Hal/devices/storage_model_STORAGE_DEVICE'


(process:24893): libgnomevfs-DEBUG: entering _hal_update_all
(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_uuid_28a1c266_ff77_45d5_b88a_165766261527'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_uuid_28a1c266_ff77_45d5_b88a_165766261527'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda1
(process:24893): libgnomevfs-DEBUG: into the volume loop
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSVolume for device path /dev/hda1
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_uuid_af5e9ec4_c09b_471a_9af3_efb45913bbe5'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_uuid_af5e9ec4_c09b_471a_9af3_efb45913bbe5'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda2
(process:24893): libgnomevfs-DEBUG: into the volume loop
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSVolume for device path /dev/hda2
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_label_SWAP_hda3'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_label_SWAP_hda3'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda3
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_part4_size_1024'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_part4_size_1024'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda4
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_uuid_4e3d8bab_28f6_492c_b672_69c0c5c67e64'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_uuid_4e3d8bab_28f6_492c_b672_69c0c5c67e64'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda5
(process:24893): libgnomevfs-DEBUG: into the volume loop
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSVolume for device path /dev/hda5
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_uuid_b49345ad_36c7_47f5_bdc4_2e9ffd29efe8'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_serial_3HV0N1TC'
  volume udi '/org/freedesktop/Hal/devices/volume_uuid_b49345ad_36c7_47f5_bdc4_2e9ffd29efe8'

(process:24893): libgnomevfs-DEBUG: guess what our drive is null
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSDrive for device path /dev/hda6
(process:24893): libgnomevfs-DEBUG: into the volume loop
(process:24893): libgnomevfs-DEBUG: Adding GnomeVFSVolume for device path /dev/hda6
(process:24893): libgnomevfs-DEBUG: drive = '/org/freedesktop/Hal/devices/storage_model_TSSTcorpCD/DVDW_TS_H552U'
(process:24893): libgnomevfs-DEBUG:   volume = '/org/freedesktop/Hal/devices/volume_label_FC/4_i386_ftp__1'
(process:24893): libgnomevfs-DEBUG: entering _hal_add_volume for
  drive udi '/org/freedesktop/Hal/devices/storage_model_TSSTcorpCD/DVDW_TS_H552U'
  volume udi '/org/freedesktop/Hal/devices/volume_label_FC/4_i386_ftp__1'


More information about the hal mailing list