Automount hotplug eSATA disk in OpenSUSE 11.1?

Robert Krawitz rlk-FrUbXkNCsVf2fBVCVOL8/A at public.gmane.org
Fri Oct 2 21:01:00 EDT 2009


I just bought an eSATA/USB disk that (of course) I want to use as
eSATA.  It hotplugs just fine from the kernel perspective -- plug it
in and it sees it, unplug it and it goes away cleanly.  All the right
links get created in /dev/disk, also.

However, KDE doesn't recognize it as a removable disk.  I can
certainly work around this, but I'd rather not have to.  If I do a
hardware inventory under YaST, it doesn't think that it's
hotpluggable:

  6: udi = '/org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDT7210_STF605MS1310HK'
  block.device = '/dev/sdg'
  block.major = 8 (0x8)
  block.minor = 96 (0x60)
  block.is_volume = false
  storage.bus = 'pci'
  storage.no_partitions_hint = false
  storage.media_check_enabled = false
  info.udi = '/org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDT7210_STF605MS1310HK'
  storage.automount_enabled_hint = true
  storage.model = 'Hitachi HDT72101'
  storage.vendor = 'ATA'
  storage.drive_type = 'disk'
  storage.serial = 'SATA_Hitachi_HDT7210_STF605MS1310HK'
  storage.lun = 0 (0x0)
  storage.originating_device = '/org/freedesktop/Hal/devices/computer'
  storage.firmware_version = 'ST6O'
  storage.removable.media_available = true
  storage.removable = false
  storage.hotpluggable = false
  storage.requires_eject = false
  block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_SATA_Hitachi_HDT7210_STF605MS1310HK'
  info.product = 'Hitachi HDT72101'
  storage.size = 1000204886016ull (0xe8e0db6000ull)
  storage.removable.media_size = 1000204886016ull (0xe8e0db6000ull)
  storage.partitioning_scheme = 'mbr'
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1f.2/host7/target7:0:0/7:0:0:0/block/sdg'
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2922_scsi_host_5_scsi_device_lun0'
  info.category = 'storage'
  info.capabilities = { 'storage', 'block' }
  info.vendor = 'ATA'
  linux.hotplug_type = 3 (0x3)

Any thoughts on this?

-- 
Robert Krawitz                                     <rlk-FrUbXkNCsVf2fBVCVOL8/A at public.gmane.org>

Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom  --  http://ProgFree.org
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net

"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton





More information about the Discuss mailing list