BSD 4_3_Tahoe development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 16 Nov 1986 13:09:20 +0000 (05:09 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 16 Nov 1986 13:09:20 +0000 (05:09 -0800)
Work on file usr/src/sys/tahoedist/README
Work on file usr/src/sys/tahoedist/group
Work on file usr/src/sys/tahoedist/inetd.conf
Work on file usr/src/sys/tahoedist/printcap
Work on file usr/src/sys/tahoedist/shells
Work on file usr/src/sys/tahoedist/motd
Work on file usr/src/sys/tahoedist/tape3

Synthesized-from: CSRG/cd2/4.3tahoe

usr/src/sys/tahoedist/README [new file with mode: 0644]
usr/src/sys/tahoedist/group [new file with mode: 0644]
usr/src/sys/tahoedist/inetd.conf [new file with mode: 0644]
usr/src/sys/tahoedist/motd [new file with mode: 0644]
usr/src/sys/tahoedist/printcap [new file with mode: 0644]
usr/src/sys/tahoedist/shells [new file with mode: 0644]
usr/src/sys/tahoedist/tape3 [new file with mode: 0644]

diff --git a/usr/src/sys/tahoedist/README b/usr/src/sys/tahoedist/README
new file mode 100644 (file)
index 0000000..eed878c
--- /dev/null
@@ -0,0 +1,21 @@
+Sun Jun 23 16:31:26 PDT 1985
+
+The scripts needed to build a boot tape for 4.2 and beyond
+live here.  Before trying anything look at the scripts 
+
+       buildmini
+       get
+       maketape
+
+To construct a tape suitable for bootstrapping a system
+first find a spare file system for a ``mini root'' and
+patch the buildmini shell script to reflect its location.
+Second, decide where your ``distribution'' source is located
+and patch the get and maketape scripts.  Then do the following:
+       % buildmini
+       % maketape [ 6250 | 1600 [ tapename [ remotetapemachine ] ] ]
+This builds a distribution on one tape at 6250bpi, two tapes at 1600bpi.
+The tape drive  may be on a remote machine if the last optional arg is given.
+For 1600bpi, be sure and check whether /usr/src will fit on one tape.
+The current distribution is about 80+ megabytes and easily fits on one tape
+at 6250bpi with a blocking factor of 20.
diff --git a/usr/src/sys/tahoedist/group b/usr/src/sys/tahoedist/group
new file mode 100644 (file)
index 0000000..aa54340
--- /dev/null
@@ -0,0 +1,9 @@
+wheel:*:0:root
+daemon:*:1:daemon
+kmem:*:2:root
+sys:*:3:root
+tty:*:4:root
+operator:*:5:root
+staff:*:10:root
+guest:*:31:root
+ingres:*:74:ingres
diff --git a/usr/src/sys/tahoedist/inetd.conf b/usr/src/sys/tahoedist/inetd.conf
new file mode 100644 (file)
index 0000000..d5cda94
--- /dev/null
@@ -0,0 +1,25 @@
+#
+# Internet server configuration database
+#
+ftp    stream  tcp     nowait  root    /etc/ftpd       ftpd
+telnet stream  tcp     nowait  root    /etc/telnetd    telnetd
+shell  stream  tcp     nowait  root    /etc/rshd       rshd
+login  stream  tcp     nowait  root    /etc/rlogind    rlogind
+exec   stream  tcp     nowait  root    /etc/rexecd     rexecd
+# Run as user "uucp" if you don't want uucpd's wtmp entries.
+#uucp  stream  tcp     nowait  root    /etc/uucpd      uucpd
+finger stream  tcp     nowait  nobody  /etc/fingerd    fingerd
+#tftp  dgram   udp     wait    nobody  /etc/tftpd      tftpd
+comsat dgram   udp     wait    root    /etc/comsat     comsat
+talk   dgram   udp     wait    root    /etc/talkd      talkd
+ntalk  dgram   udp     wait    root    /etc/ntalkd     ntalkd
+echo   stream  tcp     nowait  root    internal
+discard        stream  tcp     nowait  root    internal
+chargen        stream  tcp     nowait  root    internal
+daytime        stream  tcp     nowait  root    internal
+time   stream  tcp     nowait  root    internal
+echo   dgram   udp     wait    root    internal
+discard        dgram   udp     wait    root    internal
+chargen        dgram   udp     wait    root    internal
+daytime        dgram   udp     wait    root    internal
+time   dgram   udp     wait    root    internal
diff --git a/usr/src/sys/tahoedist/motd b/usr/src/sys/tahoedist/motd
new file mode 100644 (file)
index 0000000..3bd7bdd
--- /dev/null
@@ -0,0 +1,4 @@
+4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
+
+Would you like to play a game?
+
diff --git a/usr/src/sys/tahoedist/printcap b/usr/src/sys/tahoedist/printcap
new file mode 100644 (file)
index 0000000..1a0b58f
--- /dev/null
@@ -0,0 +1,2 @@
+lp|local line printer:\
+       :lp=/dev/lp:sd=/usr/spool/lpd:lf=/usr/adm/lpd-errs:
diff --git a/usr/src/sys/tahoedist/shells b/usr/src/sys/tahoedist/shells
new file mode 100644 (file)
index 0000000..236dd2b
--- /dev/null
@@ -0,0 +1,5 @@
+# List of acceptable shells for chsh/passwd -s
+# Ftpd will not allow users to connect who do not have one of these shells
+#
+/bin/sh
+/bin/csh
diff --git a/usr/src/sys/tahoedist/tape3 b/usr/src/sys/tahoedist/tape3
new file mode 100644 (file)
index 0000000..2d62569
--- /dev/null
@@ -0,0 +1,42 @@
+#!/bin/sh
+#
+# Copyright (c) 1980 Regents of the University of California.
+# All rights reserved.  The Berkeley software License Agreement
+# specifies the terms and conditions for redistribution.
+#
+#      %W% (Berkeley) %G%
+#
+#      %M% [ 6250 | 1600 [ tapename [ remotetapemachine ] ] ]
+miniroot=hp0d
+tape=/dev/rmt12
+type=6250
+if [ $# -gt 0 ]; then type=$1; fi
+if [ $# -gt 1 ]; then tape=$2; fi
+tartape=$tape
+if [ $# -gt 2 ]; then remote=$3; tartape='-'; fi
+#
+trap "rm -f /tmp/tape.$$; exit" 0 1 2 3 13 15
+$remote mt -t ${tape} rew
+date
+echo "Add user contributed software"
+if [ ${type} != '6250' ]
+then
+       cd /nbsd/usr/src/new; eval tar cf ${tartape} \
+               B X ansi apl bib courier cpm dipress dsh emacs enet help \
+               hyper icon jove kermit mh mkmf mmdf.tar.Z news notes \
+               np100 patch pathalias rcs rn spms sumacc.tar.Z sunrpc \
+               tac tools umodem xns \
+               ${remote+'| $remote /usr/local/20b ">" $tape'}
+else
+       cd /nbsd/usr/src/new; eval tar cf ${tartape} \
+               B X ansi apl bib courier cpm dipress dsh emacs enet help \
+               hyper icon jove kermit mh mkmf mmdf news notes \
+               np100 patch pathalias rcs rn spms sumacc sunrpc \
+               tac tools umodem xns \
+               ${remote+'| $remote /usr/local/20b ">" $tape'}
+fi
+echo "Add ingres source"
+cd /nbsd/usr/ingres; eval tar cf ${tartape} . \
+       ${remote+'| $remote /usr/local/20b ">" $tape'}
+echo "Done, rewinding tape"
+$remote mt -t ${tape} rew &