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