File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / MAKE / mkrootape.all
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, HEAD
Power 6/32 Unix version 1.2b

RELSRC= (source file area)
tape=/dev/rcy0s
distdisk= ("make" binaries output area i.e. /dev/xfd4a)
DIST= ("make" binaries output area i.e. /DIST)
if [ -z "$DIST" ]
then
    echo"No DIST directory specified!"
    exit 1
fi
if [ -z "$RELSRC" ]
then
    echo"No RELSRC directory specified!"
    exit 1
fi
if [ -z "$distdisk" ]
then
    echo"No distdisk device specified!"
    exit 1
fi
rm $DIST/vmunix*
cp $RELSRC/SRC/sys/GENERIC/vmunix $DIST/genvmunix
cp $RELSRC/SRC/sys/BELL128-4/vmunix $DIST/vmunix128
cp $RELSRC/SRC/sys/BELL64-4/vmunix $DIST/vmunix64
cp $RELSRC/SRC/sys/BELL32-4/vmunix $DIST/vmunix32
ln $DIST/vmunix128 $DIST/vmunix
echo Please load root file system tape
echo type cr when tape is ready
read x
rm $DIST/usr
mkdir $DIST/usr
/etc/umount $distdisk
echo copying dist root system
dd if=$distdisk of=$tape bs=10k count=960
/etc/mount $distdisk $DIST
rmdir $DIST/usr
mt rewind
mt -f /dev/rncy0s fsf 1
(cd $DIST; tar c .)
ln -s $REL/usr $DIST/usr

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.