MakeBootTape revision 1.3
1#!/bin/sh 2# 3# Here is a generic script that makes a Sun3 boot tape using 4# the files in this directory. 5# 6# $NetBSD: MakeBootTape,v 1.3 1997/12/20 02:52:49 gwr Exp $ 7 8T=${1:-/dev/nrst0} 9 10# Entertain... 11set -x 12 13# Make sure we start at the beginning. 14mt -f $T rewind 15 16# Segment 1 is the tapeboot program. 17dd if=tapeboot of=$T obs=8k conv=sync 18 19# Segment 2 is the ramdisk kernel. 20gzip -d -c ../../binary/kernel/netbsd-rd.gz | 21 dd of=$T obs=8k conv=sync 22 23# Segment 3 is the miniroot image, unzipped! 24gzip -d -c ../miniroot/miniroot.gz | 25 dd of=$T obs=8k 26 27# Done! 28mt -f $T rewind 29 30