#!/bin/sh

#tar cfvb /dev/rst8 200\
# mktape\
# MANIFEST\
# README\
# dist1.1\
# cosmosV1R1\

IBS_EXB=/dev/rst1
PRO_1_4=/dev/rst0
FSO_1_4=/dev/rst8

if   [ `hostname` = "etlibs" ]; then
	DEV=$IBS_EXB
elif [ `hostname` = "etlpro" ]; then
	DEV=$PRO_1_4
elif [ `hostname` = "etlfs-old" ]; then
	DEV=$FSO_1_4
else
	echo "unknown host"
	exit
fi

echo "***************************"
echo DEV=$DEV
echo "***************************"

cd dist

tar cfv $DEV \
 MANIFEST.jp \
 create \
 ALL.tar \
 COMMON.tar.Z \
 SYS.SUN4.tar.Z \
 SYS.SUN3.tar.Z \
 SYS.DECS.tar.Z \
 SYS.NEWS.tar.Z \
 EXT.MIME.tar.Z \
 EXT.NNTP.tar.Z \
 EXT.ONEW.tar.Z \
 EXE/cosmos.env.tar.Z \
 EXE/cosmos.SUN4OS4.Z \
 EXE/cosmos.SUN3OS4.Z \
 EXE/cosmos.DECSUL4.Z \
 EXE/cosmos.NEWS4.0.Z

tar tfv $DEV

