Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prtvtoc(1m) — Atari System V 1.1-06

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setvtoc(1M)





   prtvtoc(1M)                                                     prtvtoc(1M)


   NAME
         prtvtoc - print the VTOC of a block device

   SYNOPSIS
         /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
         /dev/rdsk/c?d?s?.

   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
         *
         * Start of allocatable disk 0
         * End of allocatable disk   148895
         *
         *
         *                           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
         #







   8/91                                                                 Page 1









   prtvtoc(1M)                                                     prtvtoc(1M)


         Codes for TAG are:
                               NAME           |  NUMBER
                               |
                               UNASSIGNED     |  0
                               BOOT           |  1
                               ROOT           |  2
                               SWAP           |  3
                               USR            |  4
                               VAR            |  5
                               STAND          |  6
                               FULLDISK/BACKUP|  7
                               HOME           |  8
                               OVERLAP        |  9

         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
         setvtoc(1M).

   CAVEAT
         The mount command does not check the "not mountable" bit.



























   Page 2                                                                 8/91





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