3B2 Installation Diskette Format

This file contains a short description of the format used by software package installation floppy disks under System V Release 3 for the AT&T 3B2

Volume Name

File System should be named instal (six letters, no more), volume label should be the name of the product in short format (no more than six letters).

Filesystem Layout

Root Directory

install/
new/

install Directory

INSTALL
Rlist
UNINSTALL

INSTALL Example

#
# Single Floppy INSTALL Script
#
#
# Save mount point of floppy (INSPATH) and package name (PKGNAME)
#

INSPATH=/install/new
PKGNAME=`cat ${INSPATH}/usr/options/ksh.name`

echo "Installing the ${PKGNAME}."
echo "Copyright (c) 1984 AT&T Technologies, Inc."
echo "All Rights Reserved"


cd ${INSPATH}
echo "The following files are being installed:"
find . -print | cpio -pduvm /

#
# Give user closing message
#

chmod 1755 /bin/ksh
echo "Installation of the ${PKGNAME} is complete."
exit

UNINSTALL Example

# UNINSTALL a 3B2 Package
#
# Save mount point of floppy (INSPATH) and package name (PKGNAME)
#

INSPATH=/install/new
PKGNAME=`cat ${INSPATH}/usr/options/ksh.name`

#
# Remove the files found in the Rlist file from the hard disk.
#

echo "Removing the ${PKGNAME}."
echo "The following files are being removed:"
for i in `cat /install/install/Rlist`
do
    echo $i
    rm -f $i
done
echo "The ${PKGNAME} has been removed."

Rlist Example

Assuming the package name is foo, and it installs a single binary file in /usr/bin, then an example might be:

/usr/bin/foo
/usr/options/foo.name

new Directory

This directory holds all the files to be installed.

Note that there must be a file named /usr/options/<pkg>.name. This file identifies the package, and should contain a single line with a human-readable format, e.g. “AT&T Foo Shell”