Solaris Transition Guide

dkinfo Command

The SunOS release 4 dkinfo command is no longer available. To print device information, use prtvtoc(1M) instead of dkinfo.

The prtvtoc command reports the important information stored on a disk's label, including information on the disk's partitions. For more information about prtvtoc, see System Administration Guide, Volume I.

The following screen shows sample output for the SunOS release 5.7 prtvtoc command.


# prtvtoc /dev/rdsk/c0t2d0s2 
* /dev/rdsk/c0t2d0s2 partition map 
* 
* Dimensions: 
*     512 bytes/sector 
*      36 sectors/track 
*       9 tracks/cylinder 
*     324 sectors/cylinder 
*    1272 cylinders 
*    1254 accessible cylinders 
* 
* Flags: 
*   1: unmountable 
*  10: read-only 
*                         First   Sector      Last       Mount
*  Partition  Tag  Flags  Sector   Count    Sector   Directory
        0       0     00       0   32724    32723       / 
        1       0     00   32724   65448    98171
        2       0     00       0  406296   406295
        6       0     00   98172  308124   406295       /usr