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.3 2019/10/02 11:16:00 maya Exp $
7
8T=${1:-/dev/nrst0}
9
10# Remember, skip "etc" for an upgrade.
11sets="etc base comp games man misc rescue text"
12
13# Entertain...
14set -x
15
16# Make sure we start at the beginning.
17mt -f $T rewind
18
19# Write each *.tgz file into a tape segment.
20for f in $sets
21do
22  dd if=../../binary/sets/${f}.tgz of=$T obs=8k conv=sync
23done
24
25# Done!
26mt -f $T rewind
27