Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ prtvtoc(1M) — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dvhtool(1M)



PRTVTOC(1M)         RISC/os Reference Manual          PRTVTOC(1M)



NAME
     prtvtoc - print the volume header of a disk

SYNOPSIS
     /etc/prtvtoc [ -f ] [ -h ] [ -s ] [ -t fstab ] [ -l ] [ -o ]
     [ -O ] device...

DESCRIPTION
     prtvtoc allows the contents of the VTOC (volume table of
     contents), also known as the volume header, to be viewed by
     the super-user for reference or verification.  If the -l
     flag is used, the user can also get a reliable status and
     usage for each disk partition.  The command can be used only
     by the super-user.

     The device name must be the file name of a raw disk device.

OPTIONS
     -f   Print sh(1) variable assignments for information
          regarding the free space area.

     -h   Omit all headers.

     -s   Omit all but the column headers.

     -t fstab
          Use the named file instead of /etc/fstab.

     -l   Show the live usage of the disk partitions of the dev-
          ice.  Prtvtoc first inquires the partition usage from
          the device driver. Partitions that are opened for write
          are marked as Block Dev, Char Dev, Swap Dev, Mounted fs
          or Virtual Dev.  The root device is shown as Root Dev
          and the primary swap device is shown as Primary Swap
          Dev.  Then prtvtoc scans the swap table to double check
          swap usage.  Finally it gets the mount table from
          /etc/mtab and shows the directories on which the parti-
          tions are mounted.

     -o   Show the overlap information.  For example, if parti-
          tions 0,2,10,11,14 overlap partition 0, prtvtoc shows
          +-2-------ab--e- under the Overlap column for partition
          0.  This flag must be used together with the -l flag.

     -O   Same as the -o flag but the active partitions will be
          marked by a X.  For example, if partitions 0,2,10,11,14
          overlap partition 0 and partitions 0,6,11 are in use,
          prtvtoc shows +-2-------aX--e- under the Overlap column
          for partition 0.

SEE ALSO
     dvhtool(1M).



                        Printed 11/19/92                   Page 1



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