1 #!/bin/sh 2 # 3 # Here is a generic script that makes a Sun2 boot tape using 4 # the files in ../binary 5 # 6 # $NetBSD: MakeInstTape,v 1.2 2019/10/02 11:16:00 maya Exp $ 7 8 T=${1:-/dev/nrst0} 9 10 # Remember, skip "etc" for an upgrade. 11 sets="etc base comp games man misc rescue 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