Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkcuts(SCO) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought


     UNIX System V (XENIX or UNIX)          MKCUTS(SCO)



     Name
          mkcuts - makes custom installable distributions


     Syntax
          mkcuts [-cis]


     Options
          -c   compress the distribution files.

          -i   create a disk image.

          -s   create a sum list.


     Description
          This utility copies the files from the distribution  to  the
          output media.

          The -c option requires  access  to  the  CDISTDIR  variable,
          which  contains  the directory in which the compressed files
          are stored. Only versions of tar(C) that have the  C  option
          can  uncompress these files.  Most XENIX and UNIX systems do
          not support this option.   If  the  target  system  may  not
          support  this  capability,  do  not  use  mkcuts -c.  If the
          CDISTDIR  directory  exists,  then  you  are   prompted   to
          determine  if  you want to place your files in the specified
          directory.  Responding with ``y'' causes the hierarchy to be
          compressed  and new label and permlist files to be added. If
          you respond with ``n'' to the previous  compression  prompt,
          mkcuts does not compress the directory.

          The -i option causes mkcuts to create a disk image that  can
          then  be  copied  to  floppy disk using the mkflops utility.
          This option requires that the IMAGEDIR variable contain  the
          name  of  an  existing  directory  from which the image file
          directories are built.  The actual directory  in  which  the
          image file is stored is four levels lower than whatever name
          you specify.  The  directory  names  are  derived  from  the
          following  variables.   Even  though this seems complex, the
          mkflops utility accesses this path directly  if  mkflops  is
          called without a pathname argument.  The directory structure
          is:

            <IMAGEDIR>/<PRODPRD>/<PRODTYP>/<media-type>/<PRODREL>

          The <media-type> directory tests the  value  of  the  DEVICE
          variable and then translates it into the following values:

                          DEVICE          Resulting
                          Value           <media-type>
                          ____________________________
                          /dev/*48ds9     48dsdd

                          /dev/*96ds8     96dsdd
                          /dev/*96ds15    96dshd

                          /dev/*135ds9    135dsdd
                          /dev/*135ds18   135dshd

                          /dev/*rct0      tape
                          /dev/*rctmini   mini

          If a device cannot be found in the mkcuts translation table,
          ``unknown''  is  entered.   If  ``unknown''  is undesirable,
          change the OTHER_MEDIA variable to a device name (basename).
          This  name  will  be  used  in  the  image  directory  name.
          OTHER_MEDIA is defined in the site_variables file.

          In addition to the image file, an additional file,  mapping,
          is  inserted  in  the  same directory.  This file contains a
          single line, which is a formatted date string.  If  you  are
          requesting a sum list in addition to the disk image, the sum
          information is also stored in the mapping file.  When the -i
          option  is  selected,  a message is displayed to provide the
          image file name and directory path.

          If you did not specify the -i option, the  following  prompt
          is   displayed:  C)ontinue,  F)ormat,  A)bort  or  S)kip  to
          summing:

          Enter ``c'' to tar the distribution  files  to  your  output
          media.  You are prompted successively for each volume master
          in your distribution.

          Enter ``f'' to format a volume before archiving files.   The
          string  entered in the FORMAT variable is executed to format
          your media.  This variable  is  set  in  the  site_variables
          file.

          Enter ``a'' to  stop  processing  for  the  current  master.
          Abort makes it easy to skip to a specific volume if you need
          to recut a single volume (this is only viable as long as the
          permissions list and file sizes have not been changed).

          Enter ``s'' to not  tar  your  distribution  files  to  your
          output media.  All other processing is performed, except for
          this aspect.  Skip completes the current volume and lets you
          skip to the prompt for the next master in your distribution.

          Choose an option, and press <Return>.   Continue  to  insert
          volumes as you are prompted for them.

          When all volumes have been handled, mkcuts exits.

          The mkcuts -s option creates a sum(C) -r checksum  for  each
          file in the distribution.  This option depends on the SUMDIR
          variable being set to the name of the directory in which you
          want the output of the summing stored.


     Files
          /etc/default/petkit
          /usr/lib/site_variables


     See Also
          docut(SCO), mkflops(SCO)


     (printed 5/17/90) (XENIX or UNIX)                MKCUTS(SCO)

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