MakeInstTape revision 1.2 1 #!/bin/sh
2 #
3 # Here is a generic script that makes a Sun3 boot tape using
4 # the files in ../binary
5 #
6 # $NetBSD: MakeInstTape,v 1.2 1997/12/20 02:52:54 gwr Exp $
7
8 T=${1:-/dev/nrst0}
9
10 # Remember, skip "etc" for an upgrade.
11 sets="etc base comp games man misc text"
12
13 # Entertain...
14 set -x
15
16 # Make sure we start at the beginning.
17 mt -f $T rewind
18
19 # Write each *.tgz file into a tape segment.
20 for f in $sets
21 do
22 dd if=../../binary/sets/${f}.tgz of=$T obs=8k conv=sync
23 done
24
25 # Done!
26 mt -f $T rewind
27