Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prtvtoc(1a) — NEWS-os 5.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fmthard(1M)



prtvtoc(1M)      SYSTEM ADMINISTRATION COMMANDS       prtvtoc(1M)



NAME
     prtvtoc - print the disk partition table of a hard disk

SYNOPSIS
     /usr/sbin/prtvtoc device

DESCRIPTION
     The prtvtoc command allows the contents of the  disk  parti-
     tion table to be viewed.

     The device name must be the file name of a raw device (i.e.,
     /dev/rdsk/c0d0s0).

EXAMPLE
     The command line entry and system response shown  below  are
     for a 780-megabyte hard disk:

     # prtvtoc /dev/rdsk/c0d0s0
     # /dev/rdsk/c0d0s0 partition map
     *
     * Dimension:
     *     512 bytes/sector
     *      69 sectors/track
     *      14 tracks/cylinder
     *     966 sectors/cylinder
     *     1356 cylinders
     *     1356 accessible cylinders
     *
     * Flags:
     *   1: unmountable
     *  10: read-only
     *
     *                           First    Sector    Last
     * Partition   Tag   Flags   Sector   Count     Sector    Mount Directory
          0         0     00          0     15884     15883   /
          1         1     00      15884    133760    149643
          2         0     00          0   1309896   1309895
          3         0     00     517484     15884    533367   /var
          4         0     00     533368    307200    840567   /home
          5         0     00     840568    469328   1309895   /usr
          6         0     00     517484    792412   1309895
          7         0     00     149644    367840    517483
     #












                                                                1





prtvtoc(1M)      SYSTEM ADMINISTRATION COMMANDS       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.
































                                                                2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026