> 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' ... > storage.solaris.num_dos_partitions = 2 (0x2) (int) > storage.partitioning_scheme = 'mbr' (string) ... > info.category = 'storage' (string)
The "storage.solaris.num_dos_partitions == 2" property also tells us that there are two dos partitions available on that device. The "2" seems to be set here, as the return value from get_num_dos_drives(fd): http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/probing/storage/probe-storage.c#429 429 dos_cnt = get_num_dos_drives(fd); Looking at the code get_num_dos_drives(), it seems that your disk defines two fdisk partitions that have a system id of 1, 4, 5, 6 or 0x08 .. 0x0f http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/utils/fsutils.c#get_num_dos_drives http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/utils/fsutils.c#is_dos_drive So, it would certainly be interesting to have a look at the fdisk partition table of the disk. This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
