Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / distrib / sun3 / MakeInstTape
blob545937be9f1b0f5b0ba165f4d7a67f278c0591ea
1 #!/bin/sh
3 # Here is a generic script that makes a Sun3 boot tape using
4 # the files in ../binary
6 # $NetBSD: MakeInstTape,v 1.1 1997/12/18 20:17:49 gwr Exp $
8 T=${1:-/dev/nrst0}
10 # Remember, skip "etc" for an upgrade.
11 sets="etc base comp games man misc text"
13 # Entertain...
14 set -x
16 # Make sure we start at the beginning.
17 mt -f $T rewind
19 # Write each *.tgz file into a tape segment.
20 for f in $sets
22 dd if=../../binary/sets/${f}.tgz of=$T obs=8k conv=sync
23 done
25 # Done!
26 mt -f $T rewind