prtvtoc(1M) MISC. REFERENCE MANUAL PAGES prtvtoc(1M)
NAME
prtvtoc - print the VTOC of a block device
SYNOPSIS
/usr/sbin/prtvtoc device
DESCRIPTION
The prtvtoc command allows the contents of the VTOC (volume
table of contents) to be viewed. The command can be used
only by the super-user.
The device name must be the file name of a raw device in the
form of /dev/rdsk/c?d?s? or /dev/rdsk/c?t?d?s6?.
EXAMPLE
The command line entry and system response shown below are
for a 72-megabyte hard disk:
# prtvtoc /dev/rdsk/c1d0s6
* /dev/rdsk/c1d0s6 partition map
*
* Dimension:
* 512 bytes/sector
* 18 sectors/track
* 11 tracks/cylinder
* 198 sectors/cylinder
* 754 cylinders
* 754 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 19040 23460 42499 /
1 3 01 100 18940 19039
2 4 00 29552 119344 148895 /usr
3 6 00 24552 5000 29551 /stand
6 0 01 0 148896 148895
7 1 01 0 100 99
#
Last change: Essential Utilities 1
prtvtoc(1M) MISC. REFERENCE MANUAL PAGES prtvtoc(1M)
Codes for TAG are:
NAME | NUMBER
|
|
UNASSIGNED| 0
BOOT | 1
ROOT | 2
SWAP | 3
USR | 4
BACKUP | 5
STAND | 6
FLAG indicates how the partition is to be mounted.
NAME | NUMBER
|
MOUNTABLE, READ AND WRITE| 00
NOT MOUNTABLE | 01
MOUNTABLE, READ ONLY | 10
SEE ALSO
fmthard(1M).
CAVEAT
The mount command does not check the "not mountable" bit.
Last change: Essential Utilities 2