dosfloppy(CDMT)
dosfloppy --
place a custom-installable distribution image on an existing DOS floppy filesystem
Description
The
custom(ADM)
utility supports installation of SCO OpenServer System-compatible products
from a DOS floppy filesystem (version 5.0 or earlier).
Use this feature to distribute both DOS and UNIX
versions of a single-floppy product, such as a device driver,
on one floppy disk, thus reducing media costs.
To install a product from a single DOS floppy,
first generate the distribution image using either
the Software Mastering Toolkit (SMT)
or the Custom Distribution Mastering Toolkit (CDMT),
then copy the custom-installable image to an existing
DOS floppy filesystem and use custom to install it.
NOTE:
The target SCO OpenServer system does not require DOS filesystem support
linked into the kernel;
custom uses the SCO OpenServer UNIX
doscmd(C)
utilities to manage the DOS floppy.
The custom utility supports all standard installation
features for a product distributed on a DOS filesystem floppy,
with the restriction that the distribution size be smaller
than a single floppy.
Only one image per product is supported
and the image must fit on a single floppy volume.
You should be familiar with the concepts and tools
required to cut custom-installable
distributions on media other than DOS floppies.
To cut, create, and install a custom-installable product
on a DOS floppy:
-
Use the distribution mastering tools to cut the
custom-installable distribution image:
Software Mastering Toolkit-
For a
perms(F)
list-based product, use the SMT to cut the distribution image.
See the Software Mastering Toolkit Guide for details.
Given the desired floppy device and media size, the
mkcuts(SMT) utility generates enough media-sized
tar(C)
images to contain the entire distribution.
Because the SMT-generated images are padded to the
specified media size (for example, 1.44MB),
you must use tar to extract the files
from the generated image into a directory.
You can then use tar to re-archive the directory
into a new nonpadded product image to copy to the DOS floppy.
Custom Distribution Mastering Toolkit-
For a Software Storage Object (SSO)-based distribution,
use the CDMT.
See
``Custom Distribution Mastering Toolkit'' in Developer's Topics.
CDMT generates a
cpio(C)
archive image.
NOTE:
If more than one image is generated, the product is too large to
use the DOS floppy distribution feature.
-
Format the DOS floppy using either the format
command from DOS or the
dosformat(C)
command from your SCO OpenServer system:
dosformat /dev/fd0
-
Create a directory called /SCO in the DOS filesystem.
To create the directory on the DOS floppy,
use either the mkdir command from DOS
or the
dosmkdir(C)
command from your SCO OpenServer system:
dosmkdir /dev/fd0:/SCO
-
Copy the single-volume media image that you generated
using the mastering tools onto the DOS floppy as /SCO/CUSTOM.DST.
Use the
doscp(C)
command from your SCO OpenServer system to copy the image:
doscp /SCO/CUSTOM.DST /dev/fd0:/SCO/CUSTOM.DST
Once you place the custom-installable distribution
on a DOS floppy, it can be installed using
custom on an SCO OpenServer system.
Use one of the following methods to install the product:
Install from the command line:-
-
Insert the floppy into the floppy drive.
-
Enter:
custom -p product_name -i -m floppy_device
Install using the Software manager:-
-
In the Software manager, select Run Installation from
the Software menu.
-
Insert the floppy disk into a drive and select that device from
the menu.
-
Click on Full.
Limitations
The following limitations apply to custom-installable
DOS floppy filesystem distributions:
-
custom only recognizes a single distribution archive
named /SCO/CUSTOM.DST on a DOS floppy.
-
The /SCO/CUSTOM.DST distribution image must
be a valid tar or cpio archive.
-
The custom-installable image must fit a single floppy volume.
-
The DOS commands,
doscp(C)
and
dosdir(C),
must exist on the target SCO OpenServer system in the /usr/bin directory.
Make sure that these utilities have been installed.
-
The DOS floppy must be formatted with DOS version 5.0 or earlier.
Files
/etc/custom
See also
custom(ADM)
``Installing and managing software components'' in the SCO OpenServer Handbook
and
``Custom Distribution Mastering Toolkit'' in Developer's Topics
Standards conformance
dosfloppy is not part of any currently supported standard;
it is an extension of AT&T System V provided
by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003