|
|
1.1 root 1: #! /bin/sh
2: # @(#)maketape 4.14 8/14/83
3: #
4: miniroot=hp0g
5: #
6: trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
7: mt rew
8: date
9: umount /dev/hp2g /dev/hp2h
10: umount /dev/hp2a
11: mount -r /dev/hp2a /nbsd
12: mount -r /dev/hp2g /nbsd/usr
13: mount -r /dev/hp2h /nbsd/a
14: cd /nbsd/tp
15: tp cmf /tmp/tape.$$ boot copy format
16: cd /nbsd/sys/mdec
17: echo "Build 1st level boot block file"
18: cat tsboot htboot tmboot mtboot utboot noboot noboot /tmp/tape.$$ | \
19: dd of=/dev/rmt12 bs=512 conv=sync
20: cd /nbsd
21: sync
22: echo "Add dump of mini-root file system"
23: dd if=/dev/r${miniroot} of=/dev/rmt12 bs=20b count=205 conv=sync
24: echo "Add full dump of real file system"
25: /etc/dump 0uf /dev/rmt12 /nbsd
26: echo "Add tar image of system sources"
27: cd /nbsd/a/sys; tar cf /dev/rmt12 .
28: echo "Add tar image of /usr"
29: cd /nbsd/usr; tar cf /dev/rmt12 adm bin dict doc games \
30: guest hosts include lib local man mdec msgs new \
31: preserve pub spool tmp ucb
32: echo "Add varian fonts"
33: cd /usr/lib/vfont; tar cf /dev/rmt12 .
34: echo "Done, rewinding first tape"
35: mt rew
36: echo "Mount second tape and hit return when ready"; read x
37: echo "Add user source code"
38: cd /nbsd/usr/src; tar cf /dev/rmt12 .
39: echo "Add user contributed software"
40: cd /nbsd/a/new; tar cf /dev/rmt12 .
41: echo "Add ingres source"
42: cd /nbsd/usr/ingres; tar cf /dev/rmt12 .
43: echo "Done, rewinding second tape"
44: mt rew
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.