Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mtvol — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

6.0;mtvol (mount_volume), revision 6.0, 83/04/21
MTVOL (MOUNT_VOLUME) -- Mount a logical volume.
usage:  MTVOL  {W | S | F}[unit]  [log_vol_number]  [pathname]
               [-F | -NQ | -PR]


FORMAT

  MTVOL disk_type[unit] [log_vol_number] [pathname] [options]


  A logical volume is a named storage area on a disk.  MTVOL mounts a
  logical volume, making the files and directories it contains accessible.

  Before a new volume can be mounted for the first time, you must initialize
  it.  Type HELP INVOL for details.


ARGUMENTS

  disk_type
  (required)       Specify the type of disk on which the volume being
                   mounted resides.  Valid disk types are: W (Winchester),
                   S (Storage Module), or F (Floppy).

  unit
  (optional)       Specify disk unit number (0 or 1).  If you use this
                   argument, the unit number must follow the disk_type id
                   immediately: no blanks in between. For example, "S1"
                   denotes storage module unit 1.
                   Default if omitted: 0

  log_vol_number
  (optional)       Specify the disk volume number.  This is the same number
                   that you assigned when you formatted the disk using INVOL
                   see HELP INVOL.  The first logical volume is numbered 1,
                   the second 2, and so forth.
                   Default if omitted: 1

  pathname
  (optional)       Specify the name of the volume entry directory.  This is
                   the logical volume's top-level directory.  Specify this
                   pathname only if the entry directory is not already
                   cataloged in the naming tree.  If the pathname you choose
                   already exists, an error will result.

                   If you omit the pathname argument, MTVOL assumes that the
                   entry directory already exists, and searches the naming
                   tree for it.  If it finds the entry directoy, MTVOL mounts
                   the volume and prints the full entry directory pathname.
                   If MTVOL does not find the entry directory, it prints an
                   error message, and does not mount the volume.

                   Default if omitted: see above


OPTIONS

  -F               Force -- Mount the volume whether or not it needs salvaging,
                   and do not ask for permission.

  -NQ              No query -- Suppress query if a volume needs salvaging.
                   Instead, mount the volume ONLY if it does not need salvaging.

  -PR              Protect -- Mount the volume with write protection.  Any
                   attempts to write on the volume will fail.

  CAUTION: Before removing a floppy disk volume mounted with MTVOL, you MUST
           use DMTVOL to dismount it.  Failure to dismount the volume could
           result in lost or corrupt information.


EXAMPLE

  $ mtvol f /masterfloppy       Mount a floppy and create a new entry directory.
  $ dmtvol f                    Dismount it.
  $ mtvol f                     Remount it using the new entry directory.
  Volume mounted, entry directory is "/masterfloppy"
  $

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