UNIX System V (XENIX or UNIX) MKFLOPS(SCO)
Name
mkflops - creates floppy disks from mkcuts(SCO) output
Syntax
mkflops [-fsrlR] [-k key] <prd> <type> <media> <rel> key
Options
//<computer-name>
Other computer access. This option followed by a
computer name permits the image directory to be on
another computer attached to yours with XENIX-Net.
The other computer must have an
/etc/default/petkit file from which the IMAGEDIR
variable is checked to find the image file.
-f Format. This option formats the disks before
writing to them. Default interleave is 2.
-f1 Format interleave of 1. Same as -f option, only an
interleave of 1 is used instead of 2.
-f2 Format interleave of 2. Same as -f option.
-k <key> Key descriptor. Use image files with only the key
specified. This key is a two- or three-character
string used for updates that is specified in the
PRODUPD variable described in the
./usr/lib/site_variables file.
-l Local. This option causes mkflops to treat the
local directory as the image directory instead of
looking in the site file that mkcuts uses. To use
mkflops over a network, work from the machine that
the floppy images are stored on and then cd to the
$image directory before typing mkflops.
-o Other drive. Indicates that drive 1 is to be the
output drive for cutting the distribution floppy
disks.
-r Release. This option causes mkflops to generate
label templates in the image/labels directory as
well as a KEYsrf file. mkflops prompts you for a
long and a short name for the disk labels. Enter
the information, which is used in a file that
lists all the information for the distribution.
This information is stored as a printer-ready form
and is called the Standard Release Form (SRF).
The ``label'' feature described in the prompts is
unusable outside of SCO, but the information is
shared with the SRF capability. After creating
all of the floppies, mkflops asks you for more
information for the Standard Release Form. If you
do not know the answer to a question, press return
and mkflops leaves that answer blank. The
Standard Release Form output file is stored in the
same directory as the disk image file.
-R Release Form Only. This is just like the -r
option, only it does not create disks, only the
Standard Release Form information. However, the
program still prompts you to insert a floppy disk.
When this prompt occurs, simply press return and
the disk drive is not activated.
-s Sum. This option causes mkflops to compare the
sums left in the KEYsums file. If an error is
detected, you are prompted to retry writing to the
disk.
<prd> This option and those that follow let you indicate
that a specific product should be used for the
distribution cut. ``prd'' is the same as the
PRODPRD value in the site_variables file.
<type> ``type'' is the same as PRODTYPE from
site_variables.
<media> ``media'' is: 48dsdd, 96dsdd, 96dshd, 135dsdd,
135dshd, or the contents of OTHER_MEDIA (from
site_variables).
<rel> ``rel'' is the same as PRODREL from
site_variables.
Description
The mkflops utility takes disk images created by mkcuts and
creates floppy disks using these images. mkflops finds the
image files using the IMAGEDIR variable that is set in the
/etc/default/petkit file. This variable indicates the
starting directory from which the image directory hierarchy
is based.
In addition, you can specify an absolute pathname for the
image file directory, but mkflops still expects the
hierarchy to be in the same format as that created by
mkcuts.
The directory tree for mkflops is in this format:
<IMAGEDIR>/<PRODPRD>/<PRODTYP>/<media-type>/<PRODREL>
These variables are described in the
./usr/lib/site_variables file. Although the site_variables
file is not used by mkflops to determine the directory
structure, you should examine this file to see where the
image files are stored.
mkflops is capable of accessing an image directory on
another computer that utilizes XENIX-Net for communications.
This permits you to cut distributions when the floppy disk
drive on your local machine is already in use, or when you
are cutting a distribution onto floppy disks of a different
type than the unit on your local machine.
mkflops has the additional capability of being able to
create a printer-ready form that lists all of the
information relevant to your distribution. This form is
used by the SCO Quality Assurance department for evaluating
both in-house and third-party software. While the
information is arranged in a format specific to SCO, the
listing can be used as a logging mechanism for maintaining
audit trails of your distribution activities. This form is
referred to as the Standard Release Form, or SRF.
Notes
mkflops uses an interleave of two as standard formatting on
disks.
mkflops has a problem dealing with productions made with an
empty KEY variable. Some editing of files (and file names)
in the image directory may be needed in this situation.
Files
/usr/bin/mkflops
/usr/lib/site_variables
/etc/default/petkit
image/KEYsums
image/KEYdevs
image/KEY[0-9][0-9]
See Also
mkcuts(SCO)
(printed 5/17/90) (XENIX or UNIX) MKFLOPS(SCO)