I checked lshal output, this is what I get:

udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0'
  info.claimed.uid = 65535  (0xffff)  (int)
  info.claimed.service = 'gnome-volume-manager'  (string)
  info.claimed = true  (bool)
  info.addons = {'hald-addon-storage'} (string list)
  storage.solaris.nicknames = {'rmdisk', 'rmdisk0'} (string list)
  storage.solaris.legacy.symdev = 'rmdisk0'  (string)
  storage.solaris.legacy.media_num = 0  (0x0)  (int)
  storage.solaris.legacy.media_type = 'rmdisk'  (string)
  storage.removable.solaris.read_only = false  (bool)
  storage.removable.media_available = true  (bool)
  storage.solaris.num_dos_partitions = 2  (0x2)  (int)
  storage.solaris.vtoc_slices = false  (bool)
  storage.partitioning_scheme = 'mbr'  (string)
  block.no_partitions = false  (bool)
  storage.no_partitions_hint = false  (bool)
  storage.serial = ''  (string)
  storage.firmware_revision = '<683'  (string)
  storage.model = 'USB to Serial-AT'  (string)
  storage.vendor = 'Sunplus'  (string)
  storage.bus = 'usb'  (string)
  storage.physical_device = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0'  
(string)
  block.is_volume = false  (bool)
  block.solaris.raw_device = '/dev/rdsk/c1t0d0p0'  (string)
  block.device = '/dev/dsk/c1t0d0p0'  (string)
  block.minor = 16  (0x10)  (int)
  block.major = 30  (0x1e)  (int)
  storage.drive_type = 'disk'  (string)
  storage.media_check_enabled = true  (bool)
  storage.requires_eject = false  (bool)
  storage.removable = true  (bool)
  storage.hotpluggable = true  (bool)
  storage.lun = 0  (0x0)  (int)
  info.capabilities = {'storage', 'block'} (string list)
  info.category = 'storage'  (string)
  info.solaris.driver = 'sd'  (string)
  solaris.devfs_path = '/[EMAIL PROTECTED],0/pci1458,[EMAIL PROTECTED],7/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0:q'  (string)
  info.product = 'USB to Serial-AT'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0'
  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0'
  (string)

udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0/p0_2'
  info.claimed.uid = 65535  (0xffff)  (int)
  info.claimed.service = 'gnome-volume-manager'  (string)
  info.claimed = true  (bool)
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'foldcase', 'nofoldcase'} 
(string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 
'hal-storage-unmount', 'hal-storage-eject'} (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_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)
  volume.partition.start = 286099946496  (0x429ce2bc00)  (uint64)
  volume.partition.scheme = 'mbr'  (string)
  volume.size = 0  (0x0)  (uint64)
  volume.block_size = 512  (0x200)  (int)
  volume.partition.number = 2  (0x2)  (int)
  volume.is_partition = true  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.mount_point = ''  (string)
  volume.label = 'ALTOS'  (string)
  volume.uuid = ''  (string)
  volume.fsversion = ''  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fstype = 'pcfs'  (string)
  block.storage_device = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0'
  (string)
  block.is_volume = true  (bool)
  block.solaris.slice = 'p0:2'  (string)
  block.solaris.raw_device = '/dev/rdsk/c1t0d0p0:2'  (string)
  block.device = '/dev/dsk/c1t0d0p0:2'  (string)
  block.minor = 16  (0x10)  (int)
  block.major = 30  (0x1e)  (int)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.solaris.driver = 'sd'  (string)
  solaris.devfs_path = '/[EMAIL PROTECTED],0/pci1458,[EMAIL PROTECTED],7/[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0:q/p0:2'  (string)
  info.product = 'ALTOS'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0/p0_2'
  (string)
  info.parent = 
'/org/freedesktop/Hal/devices/pci_0_0/pci1458_5006_1d_7/storage_2_0_if0/scsi_host0/disk0/sd0'
  (string)

Indeed, as you suspected, it shows block.solaris.slice as p0:2.

Any idea on how to correct this?
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to