MakeInstTape revision 1.1
11.1Sgwr#!/bin/sh
21.1Sgwr#
31.1Sgwr# Here is a generic script that makes a Sun3 boot tape using
41.1Sgwr# the files in ../binary
51.1Sgwr#
61.1Sgwr# $NetBSD: MakeInstTape,v 1.1 1997/12/18 20:17:49 gwr Exp $
71.1Sgwr
81.1SgwrT=${1:-/dev/nrst0}
91.1Sgwr
101.1Sgwr# Remember, skip "etc" for an upgrade.
111.1Sgwrsets="etc base comp games man misc text"
121.1Sgwr
131.1Sgwr# Entertain...
141.1Sgwrset -x
151.1Sgwr
161.1Sgwr# Make sure we start at the beginning.
171.1Sgwrmt -f $T rewind
181.1Sgwr
191.1Sgwr# Write each *.tgz file into a tape segment.
201.1Sgwrfor f in $sets
211.1Sgwrdo
221.1Sgwr  dd if=../binary/${f}.tgz of=$T obs=8k conv=sync
231.1Sgwrdone
241.1Sgwr
251.1Sgwr# Done!
261.1Sgwrmt -f $T rewind
27