: SCCS_ID - '@(#)mkmedia        2.1      09:01:51 - 88/11/02 '

#
#   @(#) Copyright (c) 1985  The Wollongong Group, Inc.  All Rights Reserved
#

echo	"\tMaking `cat Name`.\n"
echo	"\tUse formatted discs as this program does not format them.\n"

DATE="`cat ./Date`"

echo "\tThis distribution `pwd` was made - \n"
echo "\t\t$DATE\n"
echo "\tIs this the one you want? [y, n]: \c"
read answer
if [ $answer ]
then
	:
else
	answer=n
fi
if [ $answer = y -o $answer = Y -o $answer = yes ]
then
	:
else
	exit
fi

ls Size > Rlist
find . -print >> Rlist

echo "\n\tUsing /dev/rdsk/f0q15d\n"
echo "\tInsert floppy now and hit ENTER \c"
read answer

cat Rlist | cpio -ocdB >/dev/rdsk/f0q15d

echo "\tmedia made goodbye."
exit 0
