디스크 레이블 정보를 표시하려면 prtvtoc 명령을 사용합니다.
# prtvtoc path/device-name
여기서 device-name은 patch에서 검사하려는 원시 디스크 장치입니다.
표시되는 정보는 디스크의 현재 레이블에 따라 달라집니다. VTOC 레이블 디스크의 경우 트랙 및 실린더에 대한 정보가 포함됩니다. EFI 레이블 디스크의 경우 트랙 또는 실린더 정보가 제공되지 않습니다.
예 6-5 VTOC 레이블이 있는 디스크의 레이블 정보# prtvtoc /dev/rdsk/c2t3d0s0 * /dev/rdsk/c2t3d0s0 partition map * * Dimensions: * 512 bytes/sector * 848 sectors/track * 24 tracks/cylinder * 20352 sectors/cylinder * 14089 cylinders * 14087 accessible cylinders * * Flags: * 1: unmountable * 10: read-only * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 2 00 0 286698624 286698623 2 5 01 0 286698624 286698623예 6-6 EFI 레이블이 있는 루트 풀 디스크의 레이블 정보
# prtvtoc /dev/dsk/c7t0d0s1 * /dev/dsk/c7t0d0s1 partition map * * Dimensions: * 512 bytes/sector * 156301488 sectors * 156301421 accessible sectors * * Flags: * 1: unmountable * 10: read-only * * Unallocated space: * First Sector Last * Sector Count Sector * 34 222 255 * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 24 00 256 524288 524543 1 4 00 524544 155760527 156285070 8 11 00 156285071 16384 156301454 ~#예 6-7 EFI 레이블이 있는 비루트 풀 디스크의 레이블 정보
# prtvtoc /dev/dsk/c8t3d0 * /dev/dsk/c8t3d0 partition map * * Dimensions: * 512 bytes/sector * 143374738 sectors * 143374671 accessible sectors * * Flags: * 1: unmountable * 10: read-only * * Unallocated space: * First Sector Last * Sector Count Sector * 34 222 255 * * First Sector Last * Partition Tag Flags Sector Count Sector Mount Directory 0 4 00 256 143358065 143358320 8 11 00 143358321 16384 143374704