NetBSD/distrib/sun3/MakeInstTape

27 lines
492 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Here is a generic script that makes a Sun3 boot tape using
# the files in ../binary
#
1997-12-20 05:52:49 +03:00
# $NetBSD: MakeInstTape,v 1.2 1997/12/20 02:52:54 gwr Exp $
T=${1:-/dev/nrst0}
# Remember, skip "etc" for an upgrade.
sets="etc base comp games man misc text"
# Entertain...
set -x
# Make sure we start at the beginning.
mt -f $T rewind
# Write each *.tgz file into a tape segment.
for f in $sets
do
1997-12-20 05:52:49 +03:00
dd if=../../binary/sets/${f}.tgz of=$T obs=8k conv=sync
done
# Done!
mt -f $T rewind