How do I display the device information for a physical disk on solaris 10?
-
This is a command which is not widely used, as there are probably better ways to get this information, but just in case here it is:
# devinfo -i /dev/rdsk/c1t2d0s6 /dev/rdsk/c1t2d0s6 0 0 20352 512 4
Device name
Software version (not supported and prints as 0)
Drive id number (not supported and prints as 0)
Device blocks per cylinder
Device bytes per block
Number of device partitions with a block size greater than zero# devinfo -p /dev/rdsk/c1t2d0s6 /dev/rdsk/c1t2d0s6 76 36 529152 286169472 0 4
Device name
Device major and minor numbers (in hexadecimal)
Partition start block
Number of blocks allocated to the partition
Partition flag
Partition tag
© Lightnetics 2024