I have an pcmcia sata card, which is detected and seems to work just fine. But it only detects the attached hard drive after i disconnect it and plug it back in. just switching the drive on and off will not help. Is there a way i can get the hard drive detected (and subsequently mounted) at boot time?
"hal-device" says after a boot for the PCMCIA card:
2: udi = '/org/freedesktop/Hal/devices/pci_1095_3112'
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'pci' (string)
pci.subsys_vendor = 'Silicon Image, Inc.' (string)
storage.hotpluggable = true (bool)
storage.automount_enabled_hint = true (bool)
info.udi = '/org/freedesktop/Hal/devices/pci_1095_3112' (string)
storage.removable = true (bool)
storage.policy.should_mount = true (bool)
info.subsystem = 'pci' (string)
info.product = 'SiI 3112 [SATALink/SATARaid] Serial ATA Controller' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/0000:03:00.0' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_104c_ac44' (string)
pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/0000:03:00.0' (string)
info.linux.driver = 'sata_sil' (string)
pci.product_id = 12562 (0x3112) (int)
pci.vendor_id = 4245 (0x1095) (int)
pci.subsys_product_id = 12562 (0x3112) (int)
pci.subsys_vendor_id = 4245 (0x1095) (int)
pci.device_class = 1 (0x1) (int)
pci.device_subclass = 128 (0x80) (int)
pci.device_protocol = 0 (0x0) (int)
pci.vendor = 'Silicon Image, Inc.' (string)
info.vendor = 'Silicon Image, Inc.' (string)
pci.product = 'SiI 3112 [SATALink/SATARaid] Serial ATA Controller' (string)
storage.media_check_enabled = true (bool)
only after i reconnect the hard drive it also has this entry:
0: udi = '/org/freedesktop/Hal/devices/volume_uuid_0ce6a07f_899c_4b8f_8330_5636025a9d20'
info.category = 'volume' (string)
linux.hotplug_type = 3 (0x3) (int)
info.capabilities = { 'volume', 'block' } (string list)
info.interfaces = { 'org.freedesktop.Hal.Device.Volume' } (string list)
info.product = 'Volume (ext4)' (string)
info.udi = '/org/freedesktop/Hal/devices/volume_uuid_0ce6a07f_899c_4b8f_8330_5636025a9d20' (string)
block.device = '/dev/sdb1' (string)
block.major = 8 (0x8) (int)
block.minor = 17 (0x11) (int)
block.is_volume = true (bool)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721010CLA332_JP2911HQ0DW L6A' (string)
volume.fstype = 'ext4' (string)
volume.fsusage = 'filesystem' (string)
volume.fsversion = '1.0' (string)
volume.uuid = '0ce6a07f-899c-4b8f-8330-5636025a9d20' (string)
volume.label = '' (string)
volume.mount_point = '' (string)
volume.is_mounted = false (bool)
volume.is_mounted_read_only = false (bool)
volume.linux.is_device_mapper = false (bool)
volume.is_disc = false (bool)
volume.is_partition = true (bool)
volume.partition.number = 1 (0x1) (int)
volume.block_size = 512 (0x200) (int)
volume.num_blocks = 1953520002 (0x74705982) (uint64)
volume.size = 1000202241024 (0xe8e0b30400) (uint64)
volume.partition.start = 32256 (0x7e00) (uint64)
volume.partition.media_size = 1000204886016 (0xe8e0db6000) (uint64)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/0000:03:00.0/host5/target5:0:0/5:0:0:0/block/sdb/sdb1' (string)
info.parent = '/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721010CLA332_JP2911HQ0DW L6A' (string)
volume.ignore = false (bool)
org.freedesktop.Hal.Device.Volume.method_names = { 'Mount', 'Unmount', 'Eject' } (string list)
org.freedesktop.Hal.Device.Volume.method_signature s = { 'ssas', 'as', 'as' } (string 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_execpaths = { 'hal-storage-mount', 'hal-storage-unmount', 'hal-storage-eject' } (string list)
volume.mount.valid_options = { 'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'relatime', 'noexec', 'quiet', 'remount', 'exec' } (string list)
volume.unmount.valid_options = { 'lazy' } (string list)
1: udi = '/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721010CLA332_JP2911HQ0DW L6A'
info.vendor = 'ATA' (string)
info.category = 'storage' (string)
linux.hotplug_type = 3 (0x3) (int)
storage.removable.media_size = 1000204886016 (0xe8e0db6000) (uint64)
storage.partitioning_scheme = 'mbr' (string)
info.capabilities = { 'storage', 'block' } (string list)
info.product = 'Hitachi HDS72101' (string)
info.udi = '/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721010CLA332_JP2911HQ0DW L6A' (string)
block.device = '/dev/sdb' (string)
block.major = 8 (0x8) (int)
block.minor = 16 (0x10) (int)
block.is_volume = false (bool)
storage.bus = 'pci' (string)
storage.no_partitions_hint = false (bool)
storage.drive_type = 'disk' (string)
storage.model = 'Hitachi HDS72101' (string)
storage.vendor = 'ATA' (string)
block.storage_device = '/org/freedesktop/Hal/devices/storage_serial_Hitachi_HDS721010CLA332_JP2911HQ0DW L6A' (string)
storage.lun = 0 (0x0) (int)
storage.originating_device = '/org/freedesktop/Hal/devices/computer' (string)
storage.removable.media_available = true (bool)
storage.size = 1000204886016 (0xe8e0db6000) (uint64)
storage.requires_eject = false (bool)
storage.serial = 'Hitachi_HDS721010CLA332_JP2911HQ0DWL6A' (string)
storage.firmware_version = 'JP4OA3AE' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1e.0/0000:02:04.0/0000:03:00.0/host5/target5:0:0/5:0:0:0/block/sdb' (string)
info.parent = '/org/freedesktop/Hal/devices/pci_1095_3112_scsi_host_1_scsi_device_lun0' (string)
storage.removable = false (bool)
storage.media_check_enabled = false (bool)
storage.hotpluggable = false (bool)
storage.automount_enabled_hint = true (bool)



Adv Reply
Bookmarks