# @(#)maketape 4.8 3/8/83
trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
umount
/dev
/hp2g
/dev
/hp2h
mount
-r /dev
/hp2g
/nbsd
/usr
mount
-r /dev
/hp2h
/nbsd
/a
tp cmf
/tmp
/tape.$$ boot copy format
echo "Build 1st level boot block file"
cat tsboot htboot tmboot mtboot utboot noboot noboot
/tmp
/tape.$$ | \
dd of
=/dev
/rmt12 bs
=512 conv
=sync
echo "Add dump of mini-root file system"
dd if=/dev
/r
${miniroot} of
=/dev
/rmt12 bs
=20b count
=205 conv
=sync
echo "Add full dump of real file system"
/etc
/dump
0uf
/dev
/rmt12
/nbsd
echo "Add tar image of system sources"
cd /nbsd
/a
/sys
; tar cf
/dev
/rmt12 .
echo "Add tar image of /usr"
cd /nbsd
/usr
; tar c adm bill bin dict doc games \
hosts include ingres lib
local man mdec msgs net new \
preserve pub spool tmp ucb