[Thunar-dev] Thunar and removable disks on firewire

Stavros Giannouris stavrosg at hellug.gr
Thu Jan 18 14:31:36 CET 2007


Στις Wed, 17 Jan 2007 13:40:33 -0800
Ο/Η "Brian J. Tarricone" <bjt23 at cornell.edu> έγραψε:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
> Stavros Giannouris wrote:
> > ???? Wed, 17 Jan 2007 22:03:27 +0100
> > ?/? Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> ??????:
> >
> >> Stavros Giannouris wrote:
> >>>   storage.removable = false  (bool)
> >>     ^^^^^^^^^^^^^^^^^^^^^^^^^
> >>> What's amiss?
> >
> > Interesting. So this is probably a HAL issue, and I have to take the
> > issue upon them?
>
> In the meantime you can create a .fdi file to override the
> storage.removable attribute.  Something like this:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <deviceinfo version="0.2">
>     <device>
>         <match key="storage.serial" string="0090a990e011379d:1:0">
>             <merge key="storage.removable" type="bool">true</merge>
>         </match>
>     </device>
> </deviceinfo>
>
> On my system, that goes in /usr/share/hal/fdi/information/90local/.
> Create 90local (directory) if it doesn't exist.  I don't recall if you
> need to restart hal, but you definitely need to unplug and replug the
> device.
>
Thanks for the tip. Now the disk is recognized as removable[1], but
still doesn't show up in thunar. What else should I look for?

> 	-brian
>
[1] hal-device output:
----%C------%C-----------
0: udi =
'/org/freedesktop/Hal/devices/volume_uuid_1bce07fc_a938_4295_8b9b_950176b97975'
volume.unmount.valid_options = { 'lazy' } (string list)
volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime',
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'data=' } (string
list) org.freedesktop.Hal.Device.Volume.method_execpaths =
{ 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' }
(stri ng list) org.freedesktop.Hal.Device.Volume.method_argnames =
{ 'mount_point fstype extra_options', 'extra_options',
'extra_options' } ( 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) volume.ignore =
false  (bool) info.udi =
'/org/freedesktop/Hal/devices/volume_uuid_1bce07fc_a938_4295_8b9b_950176b97975'  (string)
volume.partition.flags = {  } (string list) volume.partition.uuid =
''  (string) volume.partition.label = ''  (string)
volume.partition.type = '0x83'  (string) volume.partition.scheme =
'mbr'  (string) info.product = 'bifteki2'  (string)
volume.partition.media_size = 320072933376  (0x4a85d56000)  (uint64)
volume.partition.start = 32256  (0x7e00)  (uint64) volume.size =
320070288384  (0x4a85ad0400)  (uint64) volume.num_blocks = 625137282
(0x2542d682)  (int) volume.block_size = 512  (0x200)  (int)
  volume.partition.number = 1  (0x1)  (int)
  info.capabilities = { 'volume', 'block' } (string list)
  info.category = 'volume'  (string)
  volume.is_partition = true  (bool)
  volume.is_disc = false  (bool)
  volume.linux.is_device_mapper = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_mounted = false  (bool)
  volume.mount_point = ''  (string)
  volume.label = 'bifteki2'  (string)
  volume.uuid = '1bce07fc-a938-4295-8b9b-950176b97975'  (string)
  volume.fsversion = '1.0'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'ext3'  (string)
  storage.model = ''  (string)
  block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_0090a990e011379d_1_0'  (string)
block.is_volume = true  (bool) block.minor = 33  (0x21)  (int)
  block.major = 8  (0x8)  (int)
  block.device = '/dev/sdc1'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/storage_serial_0090a990e011379d_1_0'  (string)
linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)

1: udi =
'/org/freedesktop/Hal/devices/storage_serial_0090a990e011379d_1_0'
block.storage_device =
'/org/freedesktop/Hal/devices/storage_serial_0090a990e011379d_1_0'  (string)
info.udi =
'/org/freedesktop/Hal/devices/storage_serial_0090a990e011379d_1_0'  (string)
storage.partitioning_scheme = 'mbr'  (string)
storage.removable.media_size = 320072933376  (0x4a85d56000)  (uint64)
storage.requires_eject = false  (bool) storage.hotpluggable = true
(bool) info.capabilities = { 'storage', 'block' } (string list)
info.category = 'storage'  (string) info.product = '3200JS
External'  (string) info.vendor = 'WD'  (string) storage.size =
320072933376  (0x4a85d56000)  (uint64) storage.removable = true  (bool)
  storage.removable.media_available = true  (bool)
  storage.physical_device =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d'  (string)
storage.lun = 0  (0x0)  (int) storage.serial =
'0090a990e011379d:1:0'  (string) storage.vendor = 'WD'  (string)
  storage.model = '3200JS External'  (string)
  storage.drive_type = 'disk'  (string)
  storage.automount_enabled_hint = true  (bool)
  storage.media_check_enabled = false  (bool)
  storage.no_partitions_hint = false  (bool)
  storage.bus = 'ieee1394'  (string)
  block.is_volume = false  (bool)
  block.minor = 32  (0x20)  (int)
  block.major = 8  (0x8)  (int)
  block.device = '/dev/sdc'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0'  (string)
linux.sysfs_path_device = '/sys/block/sdc'  (string) linux.sysfs_path =
'/sys/block/sdc'  (string)

2: udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0_scsi_generic'
info.udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0_scsi_generic'  (string)
linux.device_file = '/dev/sg2'  (string) linux.subsystem =
'scsi_generic'  (string) linux.hotplug_type = 2  (0x2)  (int)
scsi_generic.device = '/dev/sg2'  (string) info.product = 'SCSI Generic
Interface'  (string) info.capabilities = { 'scsi_generic' } (string
list) info.category = 'scsi_generic'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0'  (string)
linux.sysfs_path = '/sys/class/scsi_generic/sg2'  (string)

3: udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0'
info.udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host_scsi_device_lun0'  (string)
linux.subsystem = 'scsi'  (string) linux.hotplug_type = 1  (0x1)  (int)
scsi.type = 'disk'  (string) scsi.vendor = 'WD'  (string)
  scsi.model = '3200JS External'  (string)
  info.product = 'SCSI Device'  (string)
  info.linux.driver = 'sd'  (string)
  scsi.lun = 0  (0x0)  (int)
  scsi.target = 1  (0x1)  (int)
  scsi.bus = 0  (0x0)  (int)
  scsi.host = 9  (0x9)  (int)
  info.parent =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host'  (string)
info.bus = 'scsi'  (string) linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:09.2/fw-host0/0090a990e011379d/0090a990e011379d-1/host9/target9:0:1 /9:0:1:0'  (string)
  linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:09.2/fw-host0/0090a990e011379d/0090a990e011379d-1/host9/target9:0:1/9:0:1:
0'  (string)

4: udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host'
info.udi =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d_scsi_host'  (string)
linux.subsystem = 'scsi_host'  (string) linux.hotplug_type = 2  (0x2)
(int) scsi_host.host = 9  (0x9)  (int) info.product = 'SCSI Host
Adapter'  (string) info.capabilities = { 'scsi_host' } (string list)
  info.category = 'scsi_host'  (string)
  info.parent =
'/org/freedesktop/Hal/devices/ieee1394_guid_90a990e011379d'  (string)
linux.sysfs_path_device =
'/sys/devices/pci0000:00/0000:00:09.2/fw-host0/0090a990e011379d/0090a990e011379d-1/host9'  (string)
linux.sysfs_path = '/sys/class/scsi_host/host9'  (string)
----%C------%C-----------

--
Stavros Giannouris                          Jabber: stavrosg at jabber.org
PGP Key: http://members.hellug.gr/stavrosg/GnuPG.key
"Hello. I'm a signature virus.
Please copy me to your signature  to help me spread"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20070118/2448f52f/attachment.pgp>


More information about the Thunar-dev mailing list