NetBSD/distrib/sun2/MakeInstTape

27 lines
500 B
Plaintext
Raw Permalink Normal View History

2001-05-18 04:16:36 +04:00
#!/bin/sh
#
# Here is a generic script that makes a Sun2 boot tape using
# the files in ../binary
#
# $NetBSD: MakeInstTape,v 1.2 2019/10/02 11:16:00 maya Exp $
2001-05-18 04:16:36 +04:00
T=${1:-/dev/nrst0}
# Remember, skip "etc" for an upgrade.
sets="etc base comp games man misc rescue text"
2001-05-18 04:16:36 +04:00
# 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
dd if=../../binary/sets/${f}.tgz of=$T obs=8k conv=sync
done
# Done!
mt -f $T rewind