@ -0,0 +1,49 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1991 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# @(#)MAKEDEV.local 5.1 (Berkeley) 3/22/91 | |||
# | |||
# Local device MAKEDEV script. | |||
PATH=/sbin:/bin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
*) | |||
echo 'MAKEDEV.local: no such device.' | |||
;; | |||
esac | |||
done |
@ -0,0 +1,147 @@ | |||
# from: @(#)Makefile 5.11 (Berkeley) 5/21/91 | |||
# $Id: Makefile,v 1.1.1.1 1995/10/18 08:37:55 deraadt Exp $ | |||
TZDIR= /usr/share/zoneinfo | |||
LOCALTIME= US/Pacific | |||
NOOBJ= oobj | |||
.if exists(etc.${MACHINE}/Makefile.inc) | |||
.include "etc.${MACHINE}/Makefile.inc" | |||
.endif | |||
# disktab may be wrong -- hcx9 is a tahoe, but gets its own. | |||
# -rw-r--r-- | |||
BINOWN= root | |||
BINGRP= wheel | |||
BIN1= aliases bootptab changelist csh.cshrc csh.login csh.logout daily \ | |||
dm.conf ftpusers ftpchroot gettytab group hosts hosts.equiv hosts.lpd \ | |||
inetd.conf man.conf monthly motd myname netstart newsyslog.conf \ | |||
phones printcap protocols rc rc.local remote rpc security services \ | |||
shells syslog.conf weekly etc.${MACHINE}/ttys etc.${MACHINE}/disktab | |||
# -rw-rw-r-- | |||
BIN2= motd | |||
NAMEDB= localhost.rev named.boot root.cache | |||
PCS= pcs750.bin | |||
WCS1= wcs fppwcs poc poc1 poc2 fppoc | |||
WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual | |||
all clean cleandir depend etc install lint: | |||
.ifndef DESTDIR | |||
distribution distrib-dirs snapshot: | |||
@echo setenv DESTDIR before doing that! | |||
@false | |||
.else | |||
distribution: distrib-dirs | |||
(cd ..; ${MAKE} install) | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc | |||
install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root | |||
install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc | |||
chroot ${DESTDIR}/ pwd_mkdb -p /etc/master.passwd | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ | |||
MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev | |||
(cd root; \ | |||
install -c -o root -g wheel -m 644 dot.cshrc \ | |||
${DESTDIR}/root/.cshrc; \ | |||
install -c -o root -g wheel -m 644 dot.klogin \ | |||
${DESTDIR}/root/.klogin; \ | |||
install -c -o root -g wheel -m 644 dot.login \ | |||
${DESTDIR}/root/.login; \ | |||
install -c -o root -g wheel -m 644 dot.profile \ | |||
${DESTDIR}/root/.profile; \ | |||
rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ | |||
ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ | |||
ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) | |||
(cd mtree; \ | |||
install -c -o root -g wheel -m 600 special \ | |||
${DESTDIR}/etc/mtree; \ | |||
install -c -o root -g wheel -m 444 4.4BSD.dist \ | |||
${DESTDIR}/etc/mtree) | |||
cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ | |||
${DESTDIR}/etc/namedb | |||
/bin/rm -f ${DESTDIR}/etc/localtime | |||
ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime | |||
/bin/rm -f ${DESTDIR}/etc/rmt | |||
ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt | |||
install -c -o ${BINOWN} -g operator -m 664 /dev/null \ | |||
${DESTDIR}/etc/dumpdates | |||
install -c -o ${BINOWN} -g operator -m 644 /dev/null \ | |||
${DESTDIR}/etc/skeykeys | |||
install -c -o root -g wheel -m 600 /dev/null \ | |||
${DESTDIR}/var/cron/log | |||
install -c -o nobody -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/db/locate.database | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/log/lastlog | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/log/lpd-errs | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/log/maillog | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/log/messages | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/log/wtmp | |||
install -c -o daemon -g staff -m 664 /dev/null \ | |||
${DESTDIR}/var/msgs/bounds | |||
install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ | |||
${DESTDIR}/var/run/utmp | |||
(cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ | |||
fstab.* ${DESTDIR}/etc) | |||
(cd ${DESTDIR}/dev; ./MAKEDEV all) | |||
.if ${MACHINE} == "tahoe" | |||
(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \ | |||
${DESTDIR}/) | |||
.endif | |||
.if ${MACHINE} == "vax" | |||
(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \ | |||
${DESTDIR}/) | |||
.endif | |||
(cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution) | |||
hcx9-distribution: | |||
(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \ | |||
${DESTDIR}/) | |||
distrib-dirs: | |||
install -d -o root -g wheel -m 755 ${DESTDIR} | |||
-mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u | |||
cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys | |||
snapshot: distribution snap_pre snap_tar snap_md | |||
cd ${DESTDIR}/snapshot && cksum * > CKSUMS | |||
snap_pre: | |||
/bin/rm -rf ${DESTDIR}/snapshot | |||
install -d -o root -g wheel -m 755 ${DESTDIR}/snapshot | |||
snap_tar: | |||
cd ${DESTDIR} && tar cf - bin | gzip -9 > snapshot/bin.tar.gz | |||
cd ${DESTDIR} && tar cf - dev | gzip -9 > snapshot/dev.tar.gz | |||
cd ${DESTDIR} && tar cf - .profile .cshrc etc mnt root sys tmp | \ | |||
gzip -9 > snapshot/etc.tar.gz | |||
cd ${DESTDIR} && tar cf - sbin | gzip -9 > snapshot/sbin.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/bin | gzip -9 > snapshot/usr.bin.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/games | gzip -9 > \ | |||
snapshot/usr.games.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/include | gzip -9 > \ | |||
snapshot/usr.include.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/lib | gzip -9 > snapshot/usr.lib.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/libexec | gzip -9 > \ | |||
snapshot/usr.libexec.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/mdec usr/local usr/src usr/obj | \ | |||
gzip -9 > snapshot/usr.misc.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/sbin | gzip -9 > snapshot/usr.sbin.tar.gz | |||
cd ${DESTDIR} && tar cf - usr/share | gzip -9 > \ | |||
snapshot/usr.share.tar.gz | |||
cd ${DESTDIR} && tar cf - var | gzip -9 > snapshot/var.tar.gz | |||
snap_md: | |||
# nothing here -- look in the machine-dependent Makefile.inc | |||
.endif # DESTDIR check | |||
.include <bsd.prog.mk> |
@ -0,0 +1,33 @@ | |||
# | |||
# @(#)aliases 5.3 (Berkeley) 5/24/90 | |||
# | |||
# Aliases in this file will NOT be expanded in the header from | |||
# Mail, but WILL be visible over networks or from /bin/mail. | |||
# | |||
# >>>>>>>>>> The program "newaliases" must be run after | |||
# >> NOTE >> this file is updated for any changes to | |||
# >>>>>>>>>> show through to sendmail. | |||
# | |||
# Basic system aliases -- these MUST be present | |||
MAILER-DAEMON: postmaster | |||
postmaster: root | |||
# General redirections for pseudo accounts | |||
bin: root | |||
daemon: root | |||
games: root | |||
ingres: root | |||
nobody: root | |||
system: root | |||
toor: root | |||
uucp: root | |||
# Well-known aliases -- these should be filled in! | |||
# root: | |||
# manager: | |||
# dumper: | |||
# operator: | |||
# uncomment this for msgs: | |||
# msgs: "|/usr/bin/msgs -s" |
@ -0,0 +1,69 @@ | |||
# /etc/bootptab: database for bootp server (/etc/bootpd) | |||
# Last update Mon 11/7/88 18:03 | |||
# Blank lines and lines beginning with '#' are ignored. | |||
# | |||
# Legend: | |||
# | |||
# first field -- hostname | |||
# (may be full domain name and probably should be) | |||
# | |||
# hd -- home directory | |||
# bf -- bootfile | |||
# cs -- cookie servers | |||
# df -- dumpfile | |||
# dn -- domain name | |||
# ds -- domain name servers | |||
# gw -- gateways | |||
# ha -- hardware address | |||
# ht -- hardware type | |||
# im -- impress servers | |||
# ip -- host IP address | |||
# lg -- log servers | |||
# lp -- LPR servers | |||
# ns -- IEN-116 name servers | |||
# rl -- resource location protocol servers | |||
# rp -- root path | |||
# sm -- subnet mask | |||
# sw -- swap server | |||
# tc -- template host (points to similar host entry) | |||
# to -- time offset (seconds) | |||
# ts -- time servers | |||
# | |||
# Be careful about including backslashes where they're needed. Weird (bad) | |||
# things can happen when a backslash is omitted where one is intended. | |||
# | |||
# First, we define a global entry which specifies the stuff every host uses. | |||
global.dummy:\ | |||
:sm=255.255.255.0:\ | |||
:hd=/home/nfsclient:bf=null:\ | |||
:ds=128.32.149.141:\ | |||
:ns=0x80020b4d 0x80020ffd:\ | |||
:ts=0x80020b4d 0x80020ffd:\ | |||
:to=18000: | |||
# Next, we can define different master entries for each subnet. . . | |||
#subnet13.dummy:\ | |||
# :tc=global.dummy:gw=128.2.13.1: | |||
# | |||
# | |||
# We should be able to use as many levels of indirection as desired. Use | |||
# your imagination. . . | |||
# | |||
# Individual entries (could also have different servers for some/all of these | |||
# hosts, but we don't really use this feature at CMU): | |||
#carnegie:tc=subnet13.dummy:ht=ieee802:ha=7FF8100000AF:ip=128.2.11.1: | |||
#baldwin:tc=subnet19.dummy:ht=ethernet:ha=0800200159C3:ip=128.2.11.10: | |||
#example nfs diskless client | |||
#timesink:hd=/home/nfsclient/timesink:\ | |||
# tc=subnet149.dummy:ht=ethernet:ha=0800200168A7:ip=128.32.149.20: |
@ -0,0 +1,48 @@ | |||
# from: @(#)changelist 8.1 (Berkeley) 6/9/93 | |||
# $Id: changelist,v 1.1.1.1 1995/10/18 08:37:56 deraadt Exp $ | |||
# | |||
# List of files which the security script backs up and checks | |||
# for modifications. | |||
/etc/Distfile | |||
/etc/aliases | |||
/etc/changelist | |||
/etc/crontab | |||
/etc/csh.cshrc | |||
/etc/csh.login | |||
/etc/daily | |||
/etc/distfile | |||
/etc/exports | |||
/etc/fstab | |||
/etc/ftpusers | |||
/etc/group | |||
/etc/hosts.equiv | |||
/etc/mail.rc | |||
/etc/master.passwd | |||
/etc/monthly | |||
/etc/named.boot | |||
/etc/netstart | |||
/etc/networks | |||
/etc/nfsstart | |||
/etc/passwd | |||
/etc/printcap | |||
/etc/protocols | |||
/etc/rc | |||
/etc/rc.local | |||
/etc/remote | |||
/etc/security | |||
/etc/sendmail.cf | |||
/etc/sendmail.cw | |||
/etc/services | |||
/etc/shells | |||
/etc/slip.hosts | |||
/etc/slip.login | |||
/etc/start-amd | |||
/etc/syslog.conf | |||
/etc/ttys | |||
/etc/weekly | |||
/root/.cshrc | |||
/root/.klogin | |||
/root/.login | |||
/root/.profile | |||
/root/.rhosts |
@ -0,0 +1,18 @@ | |||
# /var/cron/tabs/root - root's crontab for NetBSD | |||
# $Id: crontab,v 1.1.1.1 1995/10/18 08:37:56 deraadt Exp $ | |||
# | |||
SHELL=/bin/sh | |||
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin | |||
HOME=/var/log | |||
# | |||
#minute hour mday month wday command | |||
# | |||
0-59/10 * * * * /usr/libexec/atrun | |||
# | |||
# rotate log files every hour, if necessary | |||
0 * * * * /usr/bin/newsyslog | |||
# | |||
# do daily/weekly/monthly maintenance | |||
0 2 * * * /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail -s "daily output" root | |||
30 3 * * 6 /bin/sh /etc/weekly 2>&1 | tee /var/log/weekly.out | mail -s "weekly output" root | |||
30 5 1 * * /bin/sh /etc/monthly 2>&1 | tee /var/log/monthly.out | mail -s "monthly output" root |
@ -0,0 +1 @@ | |||
# System-wide .cshrc file for csh(1). |
@ -0,0 +1 @@ | |||
# System-wide .login file for csh(1). |
@ -0,0 +1 @@ | |||
# System-wide .logout file for csh(1). |
@ -0,0 +1,128 @@ | |||
#!/bin/sh - | |||
# | |||
# @(#)daily 5.12 (Berkeley) 5/24/91 | |||
# | |||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local | |||
host=`hostname -s` | |||
echo "Subject: $host daily run output" | |||
echo "" | |||
echo "Removing scratch and junk files:" | |||
if [ -d /tmp -a ! -h /tmp ]; then | |||
cd /tmp && { | |||
find . -type f -atime +3 -exec rm -f -- {} \; | |||
find . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ | |||
>/dev/null 2>&1; } | |||
fi | |||
if [ -d /var/tmp -a ! -h /var/tmp ]; then | |||
cd /var/tmp && { | |||
find . ! -name . -atime +7 -exec rm -f -- {} \; | |||
find . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ | |||
>/dev/null 2>&1; } | |||
fi | |||
if [ -d /scratch -a ! -h /scratch ]; then | |||
cd /scratch && { | |||
find . ! -name . -atime +1 -exec rm -f -- {} \; | |||
find . ! -name . -type d -mtime +1 -exec rmdir -- {} \; \ | |||
>/dev/null 2>&1; } | |||
fi | |||
# XXX should go away/be replaced by nvi version | |||
if [ -d /var/preserve -a ! -h /var/preserve ]; then | |||
cd /var/preserve && { | |||
find . ! -name . -mtime +7 -exec rm -f -- {} \; ; } | |||
fi | |||
if [ -d /var/rwho -a ! -h /var/rwho ] ; then | |||
cd /var/rwho && { | |||
find . ! -name . -mtime +7 -exec rm -f -- {} \; ; } | |||
fi | |||
cd /tmp | |||
TMP=daily.$$ | |||
find / \( ! -fstype local -o -fstype rdonly -o -fstype fdesc \ | |||
-o -fstype kernfs -o -fstype procfs \) -a -prune -o \ | |||
-name 'lost+found' -a -prune -o \ | |||
-name '*.core' -a -print -o \ | |||
\( -name '[#,]*' -o -name '.#*' -o -name a.out \ | |||
-o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \ | |||
-a -atime +3 -exec rm -f -- {} \; -a -print > $TMP | |||
echo "" | |||
echo "Possible core dumps:" | |||
egrep '\.core' $TMP | |||
echo "" | |||
echo "Deleted files:" | |||
egrep -v '\.core' $TMP | |||
rm -f $TMP | |||
msgs -c | |||
if [ -f /etc/news.expire ]; then | |||
/etc/news.expire | |||
fi | |||
if [ -f /var/account/acct ]; then | |||
echo "" ; | |||
echo "Purging accounting records:" ; | |||
mv /var/account/acct.2 /var/account/acct.3 ; | |||
mv /var/account/acct.1 /var/account/acct.2 ; | |||
mv /var/account/acct.0 /var/account/acct.1 ; | |||
cp /var/account/acct /var/account/acct.0 ; | |||
sa -sq ; | |||
fi | |||
echo "" | |||
echo "Running calendar:" | |||
calendar -a | |||
# Rotation of mail log now handled automatically by cron and 'newsyslog' | |||
if [ -d /var/spool/uucp -a -f /etc/uuclean.daily ]; then | |||
echo "" | |||
echo "Cleaning up UUCP:" | |||
echo /etc/uuclean.daily | su daemon | |||
fi | |||
echo "" | |||
echo "" | |||
echo "Checking subsystem status:" | |||
echo "" | |||
echo "disks:" | |||
df -k | |||
echo "" | |||
dump W | |||
echo "" | |||
echo "" | |||
echo "mail:" | |||
mailq | |||
if [ -d /var/spool/uucp ]; then | |||
echo "" | |||
echo "uucp:" | |||
uustat -a | |||
fi | |||
echo "" | |||
echo "network:" | |||
netstat -i | |||
echo "" | |||
ruptime | |||
echo "" | |||
echo "Checking filesystems:" | |||
fsck -n | grep -v '^\*\* Phase' | |||
echo "" | |||
if [ -f /etc/Distfile ]; then | |||
echo "Running rdist:" | |||
rdist -f /etc/Distfile | |||
fi | |||
sh /etc/security 2>&1 | mail -s "daily insecurity output" root |
@ -0,0 +1,19 @@ | |||
# | |||
# Game Control File | |||
# @(#)dm.conf 5.5 (Berkeley) 4/12/89 | |||
# | |||
# TTYNAME | |||
# badtty /dev/tty19 # news | |||
# badtty /dev/tty20 # news/mail | |||
# DAY OF WEEK START STOP | |||
# time Monday 7 16 # 7am to 4pm | |||
# time Tuesday 7 16 | |||
# time Wednesday 7 16 | |||
# time Thursday 7 16 | |||
# time Friday 7 16 | |||
# GAME MAX LOAD MAX USERS PRIORITY | |||
# default must be the last entry for the ``game'' keyword | |||
game default 5 * * |
@ -0,0 +1,260 @@ | |||
#!/bin/sh - | |||
# $NetBSD: MAKEDEV,v 1.5 1995/08/17 18:02:27 thorpej Exp $ | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all makes all known devices, including local devices. | |||
# Tries to make the 'standard' number of each type. | |||
# std standard devices | |||
# local configuration specific devices | |||
# | |||
# Tapes: | |||
# st* SCSI tape | |||
# | |||
# Disks: | |||
# sd* SCSI disks | |||
# cd* SCSI CD-ROM | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk driver | |||
# | |||
# Terminals: | |||
# ttyB? DEC 3000 ZS8530 ("scc") serial ports | |||
# ttyC? AlphaStation NS16550 ("com") serial ports | |||
# ttyE? Workstation console (framebuffer & keyboard) tty emulators | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Special purpose devices: | |||
# ch* SCSI media changer | |||
# bpf* packet filter | |||
# fd file descriptors | |||
# lkm loadable kernel modules interface | |||
# tun* network tunnel driver | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd sd0 sd1 sd2 sd3 sd4 pty0 pty1 | |||
sh MAKEDEV st0 st1 ch0 cd0 cd1 vnd0 vnd1 vnd2 vnd3 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 | |||
sh MAKEDEV ttyB0 ttyB1 ttyC0 ttyC1 ttyE0 ttyE1 lkm local | |||
;; | |||
std) | |||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 10 0 ; chmod 666 stdin | |||
mknod stdout c 10 1 ; chmod 666 stdout | |||
mknod stderr c 10 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 10 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
sd*|vnd*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*d\(.*\)'` | |||
case $i in | |||
sd*) name=sd; blk=8; chr=8;; | |||
vnd*) name=vnd; blk=9; chr=9;; | |||
ccd*) name=ccd; blk=7; chr=27;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
ttyB*|ttyC*|ttyE*) | |||
type=`expr $i : 'tty\(.\).'` | |||
unit=`expr $i : 'tty.\(.\)'` | |||
case $type in | |||
B) major=15; minor=`expr $unit \* 2` ;; | |||
C) major=26; minor=$unit ;; | |||
E) major=25; minor=$unit ;; | |||
esac | |||
rm -f tty$type$unit | |||
mknod tty$type$unit c $major $minor | |||
chown uucp.wheel tty$type$unit | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("rm -f tty%s%x; mknod tty%s%x c 4 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 5 %d; ", \ | |||
n, i, n, i, b+i, n, i, n, i, b+i); }'` | |||
umask 77 | |||
if [ $class = 1 ]; then | |||
mv ttyqf ttyv0; mv ptyqf ptyv0 | |||
fi | |||
;; | |||
esac | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; blk=2; chr=12;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
umask 77 | |||
;; | |||
ch*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
ch*) name=ch; chr=14;; | |||
esac | |||
rm -f $name$unit | |||
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
chgrp operator ${name}${unit} | |||
chmod 640 ${name}${unit} | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=3; chr=13;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 3` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 11 $unit | |||
chmod 600 bpf$unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 7 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 16 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,10 @@ | |||
# $NetBSD: disktab,v 1.1 1995/02/23 05:59:32 cgd Exp $ | |||
# A DEC RZ25, configured so that all of the free partition IDs are at | |||
# the end, etc. A good setup to make a disk image from... | |||
rz25|RZ25|DEC RZ25 SCSI:\ | |||
:ty=winchester:dt=SCSI:ns#62:nt#9:nc#1476:\ | |||
:pa#139500:oa#0:ba#8192:fa#1024:ta=4.2BSD:\ | |||
:pb#139500:ob#139500:tb=swap:\ | |||
:pc#823608:oc#0:\ | |||
:pd#544608:od#279000:bd#8192:fd#1024:td=4.2BSD: |
@ -0,0 +1,3 @@ | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0b none swap sw 0 0 | |||
/dev/sd0d /usr ffs rw 1 2 |
@ -0,0 +1,56 @@ | |||
# | |||
# $NetBSD: ttys,v 1.4 1995/07/30 19:52:13 cgd Exp $ | |||
# | |||
# name getty type status comments | |||
# In normal operation, getty on 'console' pseudo-device is disabled, and is | |||
# enabled for the correct 'real' device (e.g. one of the serial ports). | |||
# console pseudo-device | |||
console "/usr/libexec/getty std.9600" unknown on secure | |||
# Workstation console (framebuffer) ttys | |||
ttyE0 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyE1 "/usr/libexec/getty std.9600" unknown off secure | |||
# DEC 3000 Z8530 ("scc") serial ports | |||
ttyB0 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyB1 "/usr/libexec/getty std.9600" unknown off secure | |||
# AlphaStation NS16550 ("com") serial ports | |||
ttyC0 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyC1 "/usr/libexec/getty std.9600" unknown off secure | |||
# pseudo-ttys | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,434 @@ | |||
#!/bin/sh - | |||
# | |||
# $NetBSD: MAKEDEV,v 1.17 1995/10/09 02:23:07 chopps Exp $ | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# from: | |||
# hp300/MAKEDEV (1/15/94), from: | |||
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all makes all known devices, including local devices, | |||
# Tries to make the ``standard'' number of each. | |||
# fd makes fd/* for the fdescfs. | |||
# floppy devices needed for install floppies | |||
# std standard devices | |||
# local configuration specific devices | |||
# | |||
# Tapes: | |||
# st* SCSI tapes | |||
# | |||
# Disks: | |||
# fd* Floppy disks | |||
# sd* SCSI disks, includes flopticals | |||
# cd* SCSI cdrom discs | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk driver | |||
# | |||
# Console ports: | |||
# ttye* ite bitmapped consoles | |||
# | |||
# Pointing devices: | |||
# mouse* Amiga mice | |||
# | |||
# Terminal ports: | |||
# tty00 standard serial port. | |||
# ttyA* mfc serial ports | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Printers: | |||
# par* motherboard parallel port | |||
# | |||
# Special purpose devices: | |||
# grf* custom chip (grf0), Retina Z2/Z3 (grf1/grf2), | |||
# Cirrus boards (grf3), A2410 (grf4) video or | |||
# CyberVision 64 (grf5) | |||
# kbd Amiga keyboard | |||
# view* generic interface to graphic displays. | |||
# aconf autoconfig information (not yet) | |||
# lkm loadable kernel modules interface. | |||
# bpf* Berkeley Packet Filter | |||
# tun* network tunnel driver | |||
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd st0 ttye0 ttye1 ttye2 ttye3 ttye4 mouse0 mouse1 | |||
sh MAKEDEV tty00 ttyA0 ttyA1 grf0 grf1 grf2 grf3 grf4 grf5 | |||
sh MAKEDEV kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 vnd0 vnd1 vnd2 | |||
sh MAKEDEV vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0 | |||
sh MAKEDEV vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV tun0 tun1 par0 lkm local | |||
;; | |||
floppy) | |||
sh MAKEDEV std kbd pty0 tty00 ttyA0 ttyA1 tun0 tun1 | |||
sh MAKEDEV grf0 grf1 grf2 grf3 grf4 grf5 ttye0 ttye1 ttye2 ttye3 ttye4 | |||
sh MAKEDEV cd0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 st0 | |||
sh MAKEDEV fd0 fd1 fd2 fd3 | |||
;; | |||
std) | |||
rm -f console drum kmem mem reload null zero tty | |||
rm -f klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod reload c 2 20 ; chmod 640 mem ; chgrp kmem mem | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 21 0 ; chmod 666 stdin | |||
mknod stdout c 21 1 ; chmod 666 stdout | |||
mknod stderr c 21 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && i=0 && while [ $i -lt 64 ]; do | |||
mknod $i c 21 $i | |||
i=$(($i+1)) | |||
done) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; blk=5; chr=20;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
;; | |||
*) | |||
echo bad unit for tape in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
fd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
rm -f fd$unit? rfd$unit? | |||
case $unit in | |||
0|1|2|3) | |||
mknod fd${unit}a b 2 `expr $unit '*' 16` | |||
mknod fd${unit}b b 2 `expr $unit '*' 16 + 1` | |||
mknod rfd${unit}a c 18 `expr $unit '*' 16` | |||
mknod rfd${unit}b c 18 `expr $unit '*' 16 + 1` | |||
chgrp operator fd$unit? rfd$unit? | |||
chmod 640 fd$unit? rfd$unit? | |||
;; | |||
*) | |||
echo bad unit for floppy disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
sd*|vnd*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
case $i in | |||
sd*) name=sd; blk=4; chr=8;; | |||
vnd*) name=vnd; blk=6; chr=19;; | |||
ccd*) name=ccd; blk=8; chr=7;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` | |||
if [ $name != cd -a $name != vnd ] | |||
then | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 16 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 16 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 16 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 16 + 7` | |||
mknod ${name}${unit}i b $blk `expr $unit '*' 16 + 8` | |||
mknod ${name}${unit}j b $blk `expr $unit '*' 16 + 9` | |||
mknod ${name}${unit}k b $blk `expr $unit '*' 16 + 10` | |||
mknod ${name}${unit}l b $blk `expr $unit '*' 16 + 11` | |||
mknod ${name}${unit}m b $blk `expr $unit '*' 16 + 12` | |||
mknod ${name}${unit}n b $blk `expr $unit '*' 16 + 13` | |||
mknod ${name}${unit}o b $blk `expr $unit '*' 16 + 14` | |||
mknod ${name}${unit}p b $blk `expr $unit '*' 16 + 15` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 16 + 1` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 16 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 16 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 16 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 16 + 7` | |||
mknod r${name}${unit}i c $chr `expr $unit '*' 16 + 8` | |||
mknod r${name}${unit}j c $chr `expr $unit '*' 16 + 9` | |||
mknod r${name}${unit}k c $chr `expr $unit '*' 16 + 10` | |||
mknod r${name}${unit}l c $chr `expr $unit '*' 16 + 11` | |||
mknod r${name}${unit}m c $chr `expr $unit '*' 16 + 12` | |||
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` | |||
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14` | |||
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` | |||
fi | |||
chgrp operator ${name}${unit}[a-p] r${name}${unit}[a-p] | |||
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=7; chr=9;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
tty0*|ttyA*) | |||
type=`expr $i : 'tty\(.\).'` | |||
unit=`expr $i : 'tty.\(.\)'` | |||
rm -f ser${unit} | |||
case $type in | |||
0) case $unit in | |||
0) | |||
rm -f tty0${unit} ttym${unit} | |||
mknod tty0${unit} c 12 0 | |||
mknod ttym${unit} c 12 128 | |||
chown uucp:wheel tty0${unit} ttym${unit} | |||
;; | |||
*) | |||
echo bad unit for tty0 in: $i | |||
;; | |||
esac | |||
;; | |||
A) case $unit in | |||
0|1) | |||
rm -f ttyA${unit} ttyM${unit} | |||
mknod ttyA${unit} c 17 $unit | |||
mknod ttyM${unit} c 17 `expr 128 + $unit` | |||
chown uucp:wheel ttyA${unit} ttyM${unit} | |||
;; | |||
*) | |||
echo bad unit for ttyA in: $i | |||
;; | |||
esac | |||
;; | |||
*) | |||
echo bad type for tty in: $i | |||
;; | |||
esac | |||
;; | |||
par*) | |||
unit=`expr $i : 'par\(.*\)'` | |||
rm -f par${unit} | |||
case $unit in | |||
0) | |||
mknod par${unit} c 11 ${unit} | |||
;; | |||
*) | |||
echo bad unit for par in: $i | |||
;; | |||
esac | |||
;; | |||
ttye*) | |||
unit=`expr $i : 'ttye\(.*\)'` | |||
rm -f ttye${unit} | |||
rm -f ite* | |||
case $unit in | |||
0|1|2|3|4) | |||
mknod ttye${unit} c 13 ${unit} | |||
;; | |||
*) | |||
echo bad unit for ttye in: $i | |||
;; | |||
esac | |||
;; | |||
grf*) | |||
unit=`expr $i : 'grf\(.*\)'` | |||
rm -f grf${unit} | |||
case $unit in | |||
0|1|2|3|4|5) | |||
mknod grf${unit} c 10 ${unit}; chmod 666 grf${unit} | |||
;; | |||
*) | |||
echo bad unit for grf in: $i | |||
;; | |||
esac | |||
;; | |||
mouse*) | |||
unit=`expr $i : 'mouse\(.*\)'` | |||
rm -f mouse${unit} | |||
case $unit in | |||
0|1) | |||
mknod mouse${unit} c 15 ${unit}; chmod 666 mouse${unit} | |||
if [ $unit = 0 ] | |||
then | |||
rm -f mouse; ln -s mouse${unit} mouse | |||
fi | |||
;; | |||
*) | |||
echo bad unit for mouse in: $i | |||
;; | |||
esac | |||
;; | |||
kbd) | |||
rm -f kbd | |||
mknod kbd c 14 0 | |||
;; | |||
view*) | |||
unit=`expr $i : 'view\(.*\)'` | |||
rm -f view${unit} | |||
case $unit in | |||
00|01|02|03|04|05|06|07|08|09) | |||
mknod view${unit} c 16 ${unit}; chmod 666 view${unit} | |||
;; | |||
*) | |||
echo bad unit for view in: $i | |||
;; | |||
esac | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
(i=0; while [ $i -lt 16 ]; do | |||
eval `printf "rm -f tty%s%x; mknod tty%s%x c 4 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 5 %d" $name $i \ | |||
$name $i $offset $name $i $name $i $offset` | |||
offset=$(($offset+1)) | |||
i=$(($i+1)) | |||
done) | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 22 $unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 23 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 24 0 | |||
chown root:kmem lkm | |||
chmod 640 lkm | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
umask 77 | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,14 @@ | |||
# | |||
# etc.amiga/Makefile.inc -- amiga-specific etc Makefile targets | |||
# | |||
# $NetBSD: Makefile.inc,v 1.6 1995/10/09 02:25:41 chopps Exp $ | |||
.ifdef DESTDIR | |||
snap_md: netbsd-generic | |||
cp ${.CURDIR}/../sys/arch/amiga/compile/GENERIC/netbsd.gz \ | |||
${DESTDIR}/snapshot/netbsd-generic.gz | |||
netbsd-generic: | |||
cd ${.CURDIR}/../sys/arch/amiga/conf && config GENERIC | |||
cd ${.CURDIR}/../sys/arch/amiga/compile/GENERIC && \ | |||
make clean && make depend && make && gzip -9 netbsd | |||
.endif # DESTDIR check |
@ -0,0 +1,45 @@ | |||
# | |||
# $NetBSD: disktab,v 1.3 1995/10/09 02:25:43 chopps Exp $ | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, ns*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# | |||
# All partition sizes reserve space for bad sector tables. | |||
# (5 cylinders needed for maintenance + replacement sectors) | |||
# | |||
floppy|floppy3|3in|Amiga 3.5in Double Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#11:nc#80:\ | |||
:ts#3500:\ | |||
:ta=4.2BSD:pa#1760:oa#0:ba#4096:fa#512:\ | |||
:pb#0:ob#0:\ | |||
:pc#1760:oc#0: | |||
floppyhd|floppy3hd|3inhd|Amiga 3.5in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#22:nc#80:\ | |||
:ts=3500:\ | |||
:pa#3520:oa#0:ba#4096:fa#512:\ | |||
:pb#0:ob#0:\ | |||
:pc#3520:oc#0: |
@ -0,0 +1,20 @@ | |||
# | |||
# $NetBSD: fstab.tmp,v 1.8 1995/10/09 02:25:44 chopps Exp $ | |||
# | |||
# fast file system on / root partition (NBR\7) lowest scsi disk unit | |||
/dev/sd0a / ffs rw 1 1 | |||
# fast file system on /usr (NBU\7) next to lowest scsi disk unit | |||
/dev/sd0d /usr ffs rw 1 2 | |||
# virtual mem file system on /tmp using swap (NBS\0) scsi id 0 size 5M | |||
#/dev/sd0b /tmp mfs rw,-s10240 | |||
# amigados file system on /amiga (DOS/1) | |||
# It is recomended that you mount it on a dir that matches the | |||
# volume name and then slinks will resolve correctly. All ados | |||
# unknonwn and NBU type filesystems are addressed in physical | |||
# offset (on media) order. So in this example the bsd usr part is | |||
# first on the disk followed by the ados. | |||
#/dev/sd0e /amiga ados ro | |||
# process file system | |||
#procfs /proc procfs ro | |||
# kernel file system | |||
#kernfs /kern kernfs ro |
@ -0,0 +1,48 @@ | |||
# | |||
# $NetBSD: ttys,v 1.11 1995/10/09 02:25:46 chopps Exp $ | |||
# | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
# If the console is marked insecure, single-user requires | |||
# the root password. | |||
console "/usr/libexec/getty Pc" vt220 off secure | |||
ttye0 "/usr/libexec/getty Pc" vt220 on secure # custom chips | |||
ttye1 "/usr/libexec/getty Pc" vt220 on secure # retina | |||
ttye2 "/usr/libexec/getty Pc" vt220 on secure # retina | |||
ttye3 "/usr/libexec/getty Pc" vt220 on secure # cirrus logic | |||
ttye4 "/usr/libexec/getty Pc" vt220 on secure # a2410 | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure # int. serial. | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,388 @@ | |||
#!/bin/sh - | |||
# | |||
# $NetBSD: MAKEDEV,v 1.4 1995/08/17 18:02:31 thorpej Exp $ | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# from: | |||
# hp300/MAKEDEV (1/15/94), from: | |||
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all makes all known devices, including local devices, | |||
# Tries to make the ``standard'' number of each. | |||
# fd makes fd/* for the fdescfs. | |||
# floppy devices needed for install floppies | |||
# std standard devices | |||
# local configuration specific devices | |||
# | |||
# Tapes: | |||
# st* SCSI tapes | |||
# | |||
# Disks: | |||
# fd* Floppy disks (fdxa: 360Kb, fdxb: 720Kb, fdxc: 1.44Mb) | |||
# sd* SCSI disks, includes flopticals | |||
# cd* SCSI cdrom discs | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatedated disk driver | |||
# | |||
# Console ports: | |||
# ttye* ite bitmapped consoles | |||
# | |||
# Pointing devices: | |||
# mouse* Atari mice | |||
# | |||
# Terminal ports: | |||
# ser02 serial2 port (channel A on 8530) | |||
# mdm02 modem2 port (channel B on 8530) | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Special purpose devices: | |||
# grf* Motherboard bitmapped video. | |||
# kbd Atari keyboard. | |||
# view* generic interface to graphic displays. | |||
# aconf autoconfig information (not yet) | |||
# lkm loadable kernel modules interface. | |||
# bpf* Berkeley Packet Filter | |||
PATH=/sbin:/bin:/usr/sbin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd st0 ttye0 ttye1 ttye2 mouse0 mouse1 grf0 grf1 grf2 | |||
sh MAKEDEV kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 vnd0 vnd1 vnd2 | |||
sh MAKEDEV vnd3 vnd4 view00 view01 view02 view03 view04 view05 pty0 | |||
sh MAKEDEV vnd5 vnd6 cd0 fd0 fd1 fd2 fd3 bpf0 bpf1 bpf2 bpf3 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV lkm ser02 mdm02 local | |||
;; | |||
floppy) | |||
sh MAKEDEV std st0 ttye0 ttye1 ttye2 grf0 grf1 grf2 kbd | |||
sh MAKEDEV sd0 sd1 sd2 sd3 sd4 sd5 sd6 cd0 fd0 fd1 rd0 | |||
;; | |||
std) | |||
rm -f console drum kmem mem reload null zero tty | |||
rm -f klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod reload c 2 20 ; chmod 640 mem ; chgrp kmem mem | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 18 0 ; chmod 666 stdin | |||
mknod stdout c 18 1 ; chmod 666 stdout | |||
mknod stderr c 18 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && i=0 && while [ $i -lt 64 ]; do | |||
mknod $i c 18 $i | |||
i=$(($i+1)) | |||
done) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
ser02) | |||
rm -f ser02 | |||
mknod ser02 c 7 0 | |||
chown uucp:wheel ser02 | |||
;; | |||
mdm02) | |||
rm -f mdm02 | |||
mknod mdm02 c 7 16 | |||
chown uucp:wheel mdm02 | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; blk=5; chr=10;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
;; | |||
*) | |||
echo bad unit for tape in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
fd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
rm -f fd$unit? rfd$unit? | |||
case $unit in | |||
0|1|2|3) | |||
mknod fd${unit}a b 2 `expr $unit '*' 16` | |||
mknod fd${unit}b b 2 `expr $unit '*' 16 + 1` | |||
mknod fd${unit}c b 2 `expr $unit '*' 16 + 2` | |||
mknod rfd${unit}a c 16 `expr $unit '*' 16` | |||
mknod rfd${unit}b c 16 `expr $unit '*' 16 + 1` | |||
mknod rfd${unit}c c 16 `expr $unit '*' 16 + 2` | |||
chgrp operator fd$unit? rfd$unit? | |||
chmod 640 fd$unit? rfd$unit? | |||
;; | |||
*) | |||
echo bad unit for floppy disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
rd0) # Ramdisk, only usefull for boot-floppy | |||
umask 2; rm -f rd0 | |||
mknod rd0 b 1 0 | |||
umask 77 | |||
;; | |||
sd*|vnd*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
case $i in | |||
sd*) name=sd; blk=4; chr=8;; | |||
vnd*) name=vnd; blk=0; chr=17;; | |||
ccd*) name=ccd; blk=13; chr=27;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15) | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` | |||
if [ $name != cd -a $name != vnd ] | |||
then | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 16 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 16 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 16 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 16 + 7` | |||
mknod ${name}${unit}i b $blk `expr $unit '*' 16 + 8` | |||
mknod ${name}${unit}j b $blk `expr $unit '*' 16 + 9` | |||
mknod ${name}${unit}k b $blk `expr $unit '*' 16 + 10` | |||
mknod ${name}${unit}l b $blk `expr $unit '*' 16 + 11` | |||
mknod ${name}${unit}m b $blk `expr $unit '*' 16 + 12` | |||
mknod ${name}${unit}n b $blk `expr $unit '*' 16 + 13` | |||
mknod ${name}${unit}o b $blk `expr $unit '*' 16 + 14` | |||
mknod ${name}${unit}p b $blk `expr $unit '*' 16 + 15` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 16 + 1` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 16 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 16 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 16 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 16 + 7` | |||
mknod r${name}${unit}i c $chr `expr $unit '*' 16 + 8` | |||
mknod r${name}${unit}j c $chr `expr $unit '*' 16 + 9` | |||
mknod r${name}${unit}k c $chr `expr $unit '*' 16 + 10` | |||
mknod r${name}${unit}l c $chr `expr $unit '*' 16 + 11` | |||
mknod r${name}${unit}m c $chr `expr $unit '*' 16 + 12` | |||
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13` | |||
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14` | |||
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` | |||
fi | |||
chgrp operator ${name}${unit}[a-p] r${name}${unit}[a-p] | |||
chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=6; chr=9;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
ttye*) | |||
unit=`expr $i : 'ttye\(.*\)'` | |||
rm -f ttye${unit} | |||
rm -f ite* | |||
case $unit in | |||
0|1|2) | |||
mknod ttye${unit} c 12 ${unit} | |||
;; | |||
*) | |||
echo bad unit for ttye in: $i | |||
;; | |||
esac | |||
;; | |||
grf*) | |||
unit=`expr $i : 'grf\(.*\)'` | |||
rm -f grf${unit} | |||
case $unit in | |||
0|1|2) | |||
mknod grf${unit} c 11 ${unit}; chmod 666 grf${unit} | |||
;; | |||
*) | |||
echo bad unit for grf in: $i | |||
;; | |||
esac | |||
;; | |||
mouse*) | |||
unit=`expr $i : 'mouse\(.*\)'` | |||
rm -f mouse${unit} | |||
case $unit in | |||
0|1) | |||
mknod mouse${unit} c 15 ${unit}; chmod 666 mouse${unit} | |||
if [ $unit = 0 ] | |||
then | |||
rm -f mouse; ln -s mouse${unit} mouse | |||
fi | |||
;; | |||
*) | |||
echo bad unit for mouse in: $i | |||
;; | |||
esac | |||
;; | |||
kbd) | |||
rm -f kbd | |||
mknod kbd c 14 0 | |||
;; | |||
view*) | |||
unit=`expr $i : 'view\(.*\)'` | |||
rm -f view${unit} | |||
case $unit in | |||
00|01|02|03|04|05|06|07|08|09) | |||
mknod view${unit} c 13 ${unit}; chmod 666 view${unit} | |||
;; | |||
*) | |||
echo bad unit for view in: $i | |||
;; | |||
esac | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
(i=0; while [ $i -lt 16 ]; do | |||
eval `printf "rm -f tty%s%x; mknod tty%s%x c 4 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 5 %d" $name $i \ | |||
$name $i $offset $name $i $name $i $offset` | |||
offset=$(($offset+1)) | |||
i=$(($i+1)) | |||
done) | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 19 $unit | |||
chown root.wheel bpf$unit | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 20 0 | |||
chown root:kmem lkm | |||
chmod 640 lkm | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
umask 77 | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,22 @@ | |||
# | |||
# $NetBSD: Makefile.inc,v 1.1.1.1 1995/03/30 05:44:08 leo Exp $ | |||
# | |||
# etc.atari/Makefile.inc -- atari-specific etc Makefile targets | |||
# | |||
.ifdef DESTDIR | |||
snap_md: netbsd-generic netbsd-ataritt | |||
cp ${.CURDIR}/../sys/arch/atari/compile/GENERIC/netbsd.gz \ | |||
${DESTDIR}/snapshot/netbsd-generic.gz | |||
cp ${.CURDIR}/../sys/arch/atari/compile/ATARITT/netbsd.gz \ | |||
${DESTDIR}/snapshot/netbsd-ataritt.gz | |||
netbsd-generic: | |||
cd ${.CURDIR}/../sys/arch/atari/conf && config.new GENERIC | |||
cd ${.CURDIR}/../sys/arch/atari/compile/GENERIC && \ | |||
make clean && make depend && make && gzip -9 netbsd | |||
netbsd-ataritt: | |||
cd ${.CURDIR}/../sys/arch/atari/conf && config.new ATARITT | |||
cd ${.CURDIR}/../sys/arch/atari/compile/ATARITT && \ | |||
make clean && make depend && make && gzip -9 netbsd | |||
.endif # DESTDIR check |
@ -0,0 +1,51 @@ | |||
# | |||
# $NetBSD: disktab,v 1.1.1.1 1995/03/30 05:44:08 leo Exp $ | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, ns*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# | |||
# All partition sizes reserve space for bad sector tables. | |||
# (5 cylinders needed for maintenance + replacement sectors) | |||
# | |||
floppy|floppy3|3in|Atari 3.5in Double Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\ | |||
:ts#3500:\ | |||
:ta=4.2BSD:pa#1440:oa#0:ba#4096:fa#512:\ | |||
:pb#0:ob#0:\ | |||
:pc#1440:oc#0: | |||
floppyhd|floppy3hd|3inhd|Atari 3.5in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ | |||
:ts=3500:\ | |||
:pa#2880:oa#0:ba#4096:fa#512:\ | |||
:pb#0:ob#0:\ | |||
:pc#2880:oc#0: | |||
floppybt|Atari 3.5in Boot Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#60:\ | |||
:ts=3500:\ | |||
:ta=4.4BSD:pa#2160:oa#0:ba#4096:fa#512:\ | |||
:pb#0:ob#0:\ | |||
:pc#2160:oc#0: |
@ -0,0 +1,9 @@ | |||
# | |||
# $NetBSD: fstab.tmp,v 1.2 1995/08/22 19:52:31 jtc Exp $ | |||
# | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0d /usr ffs rw 1 2 | |||
#/dev/sd0b /tmp mfs rw,-s10240 | |||
#/dev/sd0e /atari msdos rw | |||
#procfs /proc procfs ro | |||
#kernfs /kern kernfs ro |
@ -0,0 +1,44 @@ | |||
# | |||
# $NetBSD: ttys,v 1.1.1.1 1995/03/30 05:44:08 leo Exp $ | |||
# | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
# If the console is marked insecure, single-user requires | |||
# the root password. | |||
console "/usr/libexec/getty Pc" vt200 off secure | |||
ttye0 "/usr/libexec/getty Pc" vt200 on secure # ite0 console | |||
ttye1 "/usr/libexec/getty Pc" vt200 on secure # ite1 | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,320 @@ | |||
#!/bin/sh - | |||
# | |||
# $NetBSD: MAKEDEV,v 1.11 1995/09/30 21:59:57 thorpej Exp $ | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# std standard devices | |||
# local configuration specific devices | |||
# Tapes: | |||
# ct* HP300 HP-IB cartridge tape | |||
# mt* (Magnetic) 9-track reel tape | |||
# st* Exabyte tape | |||
# Disks: | |||
# ccd* "concatenated" pseudo-disks | |||
# rd* HP300 HP-IB disks | |||
# sd* HP300 SCSI disks | |||
# vnd* "file" pseudo-disks | |||
# Terminal multiplexors: | |||
# dca* HP200/300 single port serial interface | |||
# dcm* HP200/300 4 port serial mux interface | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# Printers: | |||
# Call units: | |||
# Special purpose devices: | |||
# fd file descriptors | |||
# grf* raw interface to HP300 graphics devices | |||
# ite* terminal emulator interface to HP300 graphics devices | |||
# hil HP300 HIL input devices | |||
# bpf* packet filter | |||
# tun* network tunnel driver | |||
# lkm loadable kernel modules interface | |||
# | |||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd ct0 ct1 st0 st1 ccd0 ccd1 ccd2 rd0 rd1 rd2 | |||
sh MAKEDEV sd0 sd1 sd2 pty0 vnd0 vnd1 vnd2 vnd3 | |||
sh MAKEDEV hil grf0 ite0 dca0 dcm0 dcm1 dcm2 dcm3 | |||
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 tun3 lkm | |||
sh MAKEDEV local | |||
;; | |||
std) | |||
mknod console c 0 0 | |||
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 21 0 ; chmod 666 stdin | |||
mknod stdout c 21 1 ; chmod 666 stdout | |||
mknod stderr c 21 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 21 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
ct*|mt*|st*) | |||
umask 0 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
ct*) name=ct; blk=0; chr=7;; | |||
mt*) name=mt; blk=1; chr=16;; | |||
st*) name=st; blk=6; chr=20;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
four=`expr $unit + 4` ; eight=`expr $unit + 8` | |||
twelve=`expr $unit + 12`; twenty=`expr $unit + 20` | |||
# | |||
# block devices don't work so don't make them | |||
#mknod ${name}${unit} b $blk $unit | |||
#mknod ${name}${four} b $blk $four | |||
#mknod ${name}${eight} b $blk $eight | |||
#mknod ${name}${twelve} b $blk $twelve | |||
#mknod n${name}${unit} b $blk $four ;: sanity w/pdp11 v7 | |||
#mknod n${name}${eight} b $blk $twelve ;: ditto | |||
# | |||
mknod r${name}${unit} c $chr $unit | |||
mknod r${name}${four} c $chr $four | |||
mknod r${name}${eight} c $chr $eight | |||
mknod r${name}${twelve} c $chr $twelve | |||
ln r${name}${four} nr${name}${unit} ;: sanity w/pdp11 v7 | |||
ln r${name}${twelve} nr${name}${eight} ;: ditto | |||
;; | |||
*) | |||
echo bad unit for tape in: $1 | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 22 $unit | |||
chmod 600 bpf$unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 23 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
ccd*|fd*|rd*|sd*|vnd*) | |||
umask 2 ; unit=`expr $i : '.*d\(.*\)'` | |||
case $i in | |||
rd*) name=rd; blk=2; chr=9;; | |||
sd*) name=sd; blk=4; chr=8;; | |||
ccd*) name=ccd; blk=5; chr=17;; | |||
vnd*) name=vnd; blk=6; chr=19;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\ | |||
17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
dca*) | |||
unit=`expr $i : 'dca\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod tty0 c 12 0 | |||
;; | |||
*) | |||
echo bad unit for dca in: $i | |||
;; | |||
esac | |||
;; | |||
dcm*) | |||
unit=`expr $i : 'dcm\(.*\)'` | |||
case $unit in | |||
0|1|2|3) | |||
eval `echo $unit | awk ' { unit = $1; u = 4 * $1 } END { | |||
for (i = 0; i < 4; i++) | |||
printf("mknod tty0%x c 15 %d; ",u+i,u+i); }'` | |||
;; | |||
*) | |||
echo bad unit for dcm in: $i | |||
;; | |||
esac | |||
;; | |||
ite*) | |||
unit=`expr $i : 'ite\(.*\)'` | |||
case $unit in | |||
0|1|2|3) | |||
mknod ttye${unit} c 13 ${unit} | |||
;; | |||
*) | |||
echo bad unit for ite in: $i | |||
;; | |||
esac | |||
;; | |||
grf*) | |||
unit=`expr $i : 'grf\(.*\)'` | |||
case $unit in | |||
0|1|2|3) | |||
mknod grf${unit} c 10 ${unit}; chmod 666 grf${unit} | |||
# echo "grf${unit}: use MAKEDEV.hpux to make HP-UX names for device" | |||
;; | |||
*) | |||
echo bad unit for grf in: $i | |||
;; | |||
esac | |||
;; | |||
hil) | |||
for unit in 0 1 2 3 4 5 6 7 | |||
do | |||
mknod hil${unit} c 14 ${unit} | |||
if [ -f /usr/sbin/hilinfo ] | |||
then | |||
case `/usr/sbin/hilinfo -t hil${unit}` in | |||
mouse) | |||
if [ ! -f locator ] | |||
then | |||
ln hil${unit} locator | |||
fi | |||
;; | |||
keyboard) | |||
if [ ! -f keyboard ] | |||
then | |||
ln hil${unit} keyboard | |||
fi | |||
;; | |||
*) | |||
;; | |||
esac | |||
fi | |||
done | |||
if [ ! -f /usr/sbin/hilinfo ] | |||
then | |||
ln hil1 keyboard | |||
ln hil3 locator | |||
fi | |||
chmod 666 hil* | |||
# echo "hil: use MAKEDEV.hpux to make HP-UX names for devices" | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 24 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("mknod tty%s%x c 4 %d; \ | |||
mknod pty%s%x c 5 %d; ", \ | |||
n, i, b+i, n, i, b+i); }'` | |||
umask 77 | |||
if [ $class = 1 ]; then | |||
mv ttyqf ttyv0; mv ptyqf ptyv0 | |||
fi | |||
;; | |||
esac | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,28 @@ | |||
# $NetBSD: Makefile.inc,v 1.1 1995/09/06 16:17:41 thorpej Exp $ | |||
# | |||
# etc.hp300/Makefile.inc -- hp300-specific etc Makefile targets | |||
.ifdef DESTDIR | |||
snap_md: netbsd-gen.gz netbsd-dl.gz | |||
netbsd-gen: | |||
cd ${.CURDIR}/../sys/arch/hp300/conf && config.old GENERIC | |||
cd ${.CURDIR}/../sys/arch/hp300/compile/GENERIC && \ | |||
make clean && make depend && make | |||
cp ${.CURDIR}/../sys/arch/hp300/compile/GENERIC/netbsd \ | |||
${DESTDIR}/snapshot/netbsd-gen | |||
netbsd-dl: | |||
cd ${.CURDIR}/../sys/arch/hp300/conf && config.old DISKLESS | |||
cd ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS && \ | |||
make clean && make depend && make | |||
cp ${.CURDIR}/../sys/arch/hp300/compile/DISKLESS/netbsd \ | |||
${DESTDIR}/snapshot/netbsd-dl | |||
netbsd-gen.gz: netbsd-gen | |||
gzip -9 ${DESTDIR}/snapshot/netbsd-gen | |||
netbsd-dl.gz: netbsd-dl | |||
gzip -9 ${DESTDIR}/snapshot/netbsd-dl | |||
.endif # DESTDIR check |
@ -0,0 +1,290 @@ | |||
# $NetBSD: disktab,v 1.3 1995/09/30 21:57:48 thorpej Exp $ | |||
# | |||
# @(#)disktab 5.5 (Berkeley) 2/27/91 | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# ty type of disk | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# rm rpm, 3600 default | |||
# se sector size, 512 default | |||
# sf supports bad144-style bad sector forwarding | |||
# so partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# | |||
# All partition sizes contain space | |||
# for bad sector tables unless the | |||
# device drivers fail to support this. | |||
# | |||
# Entries may also be used for other compatible drives | |||
# with the same geometry. | |||
# | |||
# HP CS80 Drives on rd (new style partitioning). These mapping support | |||
# three basic layouts: | |||
# | |||
# A/B/G: This is the "traditional" setup for a bootable disk. | |||
# A is the root partition, B the swap, and G is for /usr | |||
# and users. | |||
# A/D/E/F (large drives): | |||
# A/D/H (small drives): | |||
# This is a setup for bootable systems requiring more swap | |||
# (e.g. those who need CL). It has A as the root, D as a | |||
# larger swap, E and F (or H) as smaller user partitions. | |||
# E could be used for /usr and F for users (or H for both). | |||
# C: This gives a single, non-bootable, large user filesystem. | |||
# Good for second drives on a machine as either /usr/src | |||
# or a large /usr or user partition. | |||
# pseudo-geometry taken from rd7945 | |||
miniroot:\ | |||
:ty=winchester:ns#16:nt#7:nc#968:\ | |||
:pa#10240:ba#8192:fa#1024: | |||
rd7945|rd7946|rd7945A|rd7946A|HP7945A|HP7946A:\ | |||
:ty=winchester:ns#16:nt#7:nc#968:\ | |||
:pa#15904:ba#8192:fa#1024:\ | |||
:pb#20160:\ | |||
:pc#108416:bc#4096:fc#1024:\ | |||
:pd#40320:\ | |||
:pg#72240:bg#4096:fg#512:\ | |||
:ph#52080:bh#4096:fh#512: | |||
rd7957|rd7957A|HP7957A:\ | |||
:ty=winchester:ns#22:nt#7:nc#1036:\ | |||
:pa#16016:ba#8192:fa#1024:\ | |||
:pb#24640:\ | |||
:pc#159544:bc#4096:fc#1024:\ | |||
:pd#42350:\ | |||
:pe#54824:be#4096:fe#512:\ | |||
:pf#46200:bf#4096:ff#1024:\ | |||
:pg#118734:bg#4096:fg#1024:\ | |||
:ph#101024:bh#4096:fh#1024: | |||
rd7958|rd7958A|HP7958A:\ | |||
:ty=winchester:ns#36:nt#7:nc#1013:\ | |||
:pa#16128:ba#8192:fa#1024:\ | |||
:pb#32256:\ | |||
:pc#255276:bc#4096:fc#1024:\ | |||
:pd#48384:\ | |||
:pe#100800:be#4096:fe#512:\ | |||
:pf#89712:bf#4096:ff#1024:\ | |||
:pg#206640:bg#4096:fg#1024:\ | |||
:ph#190512:bh#4096:fh#1024: | |||
rd7933|rd7933H|HP7933H:\ | |||
:ty=winchester:ns#46:nt#13:nc#1321:\ | |||
:pa#16146:ba#8192:fa#1024:\ | |||
:pb#66976:\ | |||
:pc#789958:bc#4096:fc#1024:\ | |||
:pd#16146:bd#8192:fd#1024:\ | |||
:pe#165646:be#4096:fe#1024:\ | |||
:pf#165646:bf#4096:ff#1024:\ | |||
:pg#706238:bg#4096:fg#1024:\ | |||
:ph#358800:bh#4096:fh#1024: | |||
rd7937|rd7937H|HP7937H:\ | |||
:ty=winchester:ns#123:nt#13:nc#698:\ | |||
:pa#15990:ba#8192:fa#1024:\ | |||
:pb#67158:\ | |||
:pc#1116102:bc#4096:fc#1024:\ | |||
:pd#15990:bd#8192:fd#1024:\ | |||
:pe#246246:be#4096:fe#1024:\ | |||
:pf#246246:bf#4096:ff#1024:\ | |||
:pg#1031355:bg#4096:fg#512:\ | |||
:ph#522873:bh#4096:fh#1024: | |||
rd9134|rd9134L|HP9134L:\ | |||
:ty=winchester:ns#16:nt#5:nc#973:\ | |||
:pa#15920:ba#8192:fa#1024:\ | |||
:pb#20000:\ | |||
:pc#77840:bc#4096:fc#1024\ | |||
:pd#32000:\ | |||
:pg#41840:bg#4096:fg#512:\ | |||
:ph#29840:bh#4096:fh#512: | |||
rd7936|rd7937H|HP7936H:\ | |||
:ty=winchester:ns#123:nt#7:nc#698:\ | |||
:pa#16359:ba#8192:fa#1024:\ | |||
:pb#67158:\ | |||
:pc#600978:bc#4096:fc#1024:\ | |||
:pd#16359:bd#8192:fd#1024:\ | |||
:pe#120540:be#4096:fe#1024:\ | |||
:pf#120540:bf#4096:ff#1024:\ | |||
:pg#516600:bg#4096:fg#512:\ | |||
:ph#259161:bh#4096:fh#1024 | |||
rd7957B|HP7957B:\ | |||
:ty=winchester:ns#18:nt#7:nc#1269:\ | |||
:pa#16002:ba#8192:fa#1024:\ | |||
:pb#32760:\ | |||
:pc#159894:bc#4096:fc#1024:\ | |||
:pd#49140:\ | |||
:pe#50400:be#4096:fe#512:\ | |||
:pf#44226:bf#4096:ff#1024:\ | |||
:pg#111006:bg#4096:fg#1024:\ | |||
:ph#94626:bh#4096:fh#1024: | |||
rd7958B|rd7962|rd7962B|HP7958B|HP7962B:\ | |||
:ty=winchester:ns#42:nt#9:nc#786:\ | |||
:pa#16254:ba#8192:fa#1024:\ | |||
:pb#32886:\ | |||
:pc#297108:bc#4096:fc#1024:\ | |||
:pd#49140:\ | |||
:pe#121716:be#4096:fe#512:\ | |||
:pf#109620:bf#4096:ff#1024:\ | |||
:pg#247590:bg#4096:fg#1024:\ | |||
:ph#231336:bh#4096:fh#1024: | |||
rd7959B|rd7963|rd7963B|HP7959B|HP7963B:\ | |||
:ty=winchester:ns#42:nt#9:nc#1572:\ | |||
:pa#16254:ba#8192:fa#1024:\ | |||
:pb#49140:\ | |||
:pc#594216:bc#4096:fc#1024:\ | |||
:pd#65772:\ | |||
:pe#303912:be#4096:fe#512:\ | |||
:pf#207900:bf#4096:ff#1024:\ | |||
:pg#528444:bg#4096:fg#1024:\ | |||
:ph#511812:bh#4096:fh#1024: | |||
rd335H|rd335|HP2200A|2200A|HP335H|HP6000/335H:\ | |||
:ty=winchester:ns#113:nt#4:nc#1449:\ | |||
:pa#16272:ba#8192:fa#1024:\ | |||
:pb#49720:\ | |||
:pc#654948:bc#4096:fc#1024:\ | |||
:pd#65992:\ | |||
:pe#304648:be#4096:fe#512:\ | |||
:pf#267584:bf#4096:ff#1024:\ | |||
:pg#588504:bg#4096:fg#1024:\ | |||
:ph#572232:bh#4096:fh#1024: | |||
rd670H|rd670|HP2203A|2203A|HP670H|HP6000/670H:\ | |||
:ty=winchester:ns#113:nt#8:nc#1449:\ | |||
:pa#16272:ba#8192:fa#1024:\ | |||
:pb#67800:\ | |||
:pc#1309896:bc#4096:fc#1024:\ | |||
:pd#16272:\ | |||
:pe#305552:be#4096:fe#512:\ | |||
:pf#305552:bf#4096:ff#1024:\ | |||
:pg#1224920:bg#4096:fg#1024:\ | |||
:ph#597544:bh#4096:fh#1024: | |||
# | |||
# Utah derivatives | |||
# | |||
rd7937-utah|HP7937H with Utah partitions:\ | |||
:ty=winchester:ns#123:nt#13:nc#698:\ | |||
:pa#15990:ba#8192:fa#1024:\ | |||
:pb#67158:\ | |||
:pc#1116102:bc#4096:fc#1024:\ | |||
:pd#124722:bd#8192:fd#1024:\ | |||
:pe#163098:be#4096:fe#1024:\ | |||
:pf#287820:bf#4096:ff#1024:\ | |||
:pg#1031355:bg#4096:fg#512:\ | |||
:ph#455715:bh#4096:fh#1024: | |||
# | |||
# Antiques | |||
# | |||
rd9134D|HP9134D:\ | |||
:ty=winchester:ns#16:nt#6:nc#303:\ | |||
:pa#15936:ba#8192:fa#1024:\ | |||
:pb#13056:\ | |||
:pc#29088:bc#8192:fc#1024: | |||
rd9122|rd9122S|rd9122D|HP9122S|HP9122D:\ | |||
:ty=winchester:ns#8:nt#2:nc#77:\ | |||
:pc#1232:bc#8192:fc#1024: | |||
rd7912|rd7912P|HP7912P:\ | |||
:ty=winchester:ns#32:nt#7:nc#572:\ | |||
:pa#15904:ba#8192:fa#1024:\ | |||
:pb#22400:\ | |||
:pc#128128:bc#4096:fc#1024:\ | |||
:pd#42560:\ | |||
:pg#89600:bg#4096:fg#1024:\ | |||
:ph#69440:bh#4096:fh#1024: | |||
rd7914|rd7914P|rd7914CT|HP7914P|HP7914CT:\ | |||
:ty=winchester:ns#32:nt#7:nc#1152:\ | |||
:pa#15904:ba#8192:fa#1024:\ | |||
:pb#40320:\ | |||
:pc#258048:bc#4096:fc#1024:\ | |||
:pd#64960:\ | |||
:pe#98560:be#4096:fe#512:\ | |||
:pf#78400:bf#4096:ff#1024:\ | |||
:pg#201600:bg#4096:fg#1024:\ | |||
:ph#176960:bh#4096:fh#1024: | |||
# | |||
# SCSI disks | |||
# Again, these mapping support three basic layouts: | |||
# Again, these mapping support three basic layouts: | |||
# | |||
# A/B/G: This is the "traditional" setup for a bootable disk. | |||
# A is the root partition, B the swap, and G is for /usr | |||
# and users. | |||
# A/D/E/F (large drives): | |||
# A/D/H (small drives): | |||
# This is a setup for bootable systems requiring more swap | |||
# (e.g. those who need CL). It has A as the root, D as a | |||
# larger swap, E and F (or H) as smaller user partitions. | |||
# E could be used for /usr and F for users (or H for both). | |||
# Or, E could be used for /var and F for /usr and users. | |||
# C: This gives a single, non-bootable, large user filesystem. | |||
# Good for second drives on a machine as either /usr/src | |||
# or a large /usr or user partition. | |||
# | |||
# A/B/G: This is the "traditional" setup for a bootable disk. | |||
# A is the root partition, B the swap, and G is for /usr | |||
# and users. | |||
# A/D/E/F (large drives): | |||
# A/D/H (small drives): | |||
# This is a setup for bootable systems requiring more swap | |||
# (e.g. those who need CL). It has A as the root, D as a | |||
# larger swap, E and F (or H) as smaller user partitions. | |||
# E could be used for /usr and F for users (or H for both). | |||
# Or, E could be used for /var and F for /usr and users. | |||
# C: This gives a single, non-bootable, large user filesystem. | |||
# Good for second drives on a machine as either /usr/src | |||
# or a large /usr or user partition. | |||
# | |||
sd7958|sd7958-utah|HP7958S:\ | |||
:ty=winchester:ns#32:nt#6:nc#1643:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#315455:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#97343:of#218112:bf#4096:ff#1024:\ | |||
:pg#232511:og#82944:bg#8192:fg#1024:\ | |||
:ph#199743:oh#115712:bh#8192:fh#1024: | |||
sd7959|sd330|sd7959-utah|HP7959S:\ | |||
:ty=winchester:ns#32:nt#12:nc#1643:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#630911:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#412799:of#218112:bf#4096:ff#1024:\ | |||
:pg#547967:og#82944:bg#8192:fg#1024:\ | |||
:ph#515199:oh#115712:bh#8192:fh#1024: | |||
sd7548-utah|sd660|HP97548S with Utah partitions:\ | |||
:ty=winchester:ns#56:nt#16:nc#1447:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#1296511:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#1078399:of#218112:bf#4096:ff#1024:\ | |||
:pg#1213567:og#82944:bg#8192:fg#1024:\ | |||
:ph#1180799:oh#115712:bh#8192:fh#1024: | |||
# | |||
# HP magneto-optical drive. | |||
# (ns, nt, nc are totally bogus) | |||
# actually 1K sectors | |||
sd650-sony|mo650-sony|HP6300/650A Magneto-optical drive with Sony format:\ | |||
:ty=optical:ns#61:nt#8:nc#1306:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#637328:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#1024:\ | |||
:pf#419216:of#218112:bf#4096:ff#1024:\ | |||
:pg#554384:og#82944:bg#8192:fg#1024: | |||
sd650|mo650|mo650-ansi|HP6300/650A Magneto-optical with ANSI format drive:\ | |||
:ty=optical:ns#61:nt#8:nc#1306:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#629136:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#1024:\ | |||
:pf#411024:of#218112:bf#4096:ff#1024:\ | |||
:pg#546192:og#82944:bg#8192:fg#1024: |
@ -0,0 +1,6 @@ | |||
/dev/rd0a / ffs rw 1 1 | |||
/dev/rd0e /usr ffs rw 1 2 | |||
/dev/rd0f /var ffs rw 1 2 | |||
/kern /kern kernfs ro 0 0 | |||
/proc /proc procfs ro 0 0 | |||
fdesc /dev fdesc ro,-o=union 0 0 |
@ -0,0 +1,6 @@ | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0e /var ffs rw 1 2 | |||
/dev/sd0f /usr ffs rw 1 2 | |||
/kern /kern kernfs ro 0 0 | |||
/proc /proc procfs ro 0 0 | |||
fdesc /dev fdesc ro,-o=union 0 0 |
@ -0,0 +1,52 @@ | |||
# $NetBSD: ttys,v 1.7 1995/09/30 22:03:02 thorpej Exp $ | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
# If the console is marked insecure, single-user requires | |||
# the root password. | |||
console "/usr/libexec/getty Pc" hp300h on secure | |||
# Hardwired lines are marked off, by default, so getty(8) | |||
# is quiet when they don't exist. | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,348 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Written and contributed by W. Jolitz 12/90 | |||
# | |||
# Redistribution and use in source and binary forms are permitted provided | |||
# that: (1) source distributions retain this entire copyright notice and | |||
# comment, and (2) distributions including binaries display the following | |||
# acknowledgement: ``This product includes software developed by the | |||
# University of California, Berkeley and its contributors'' in the | |||
# documentation or other materials provided with the distribution and in | |||
# all advertising materials mentioning features or use of this software. | |||
# Neither the name of the University nor the names of its contributors may | |||
# be used to endorse or promote products derived from this software without | |||
# specific prior written permission. | |||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |||
# | |||
# @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all makes all known devices, including local devices. | |||
# Tries to make the 'standard' number of each type. | |||
# floppy devices to be put on install floppies | |||
# std standard devices | |||
# local configuration specific devices | |||
# | |||
# Tapes: | |||
# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge tape | |||
# st* SCSI tapes | |||
# | |||
# Disks: | |||
# wd* "winchester" disk drives (ST506,IDE,ESDI,RLL,...) | |||
# fd* "floppy" disk drives (3 1/2", 5 1/4") | |||
# sd* SCSI disks | |||
# cd* SCSI CD-ROM | |||
# mcd* Mitsumi CD-ROM | |||
# vnd* "file" pseudo-disks | |||
# ccd* contatenated disk devices | |||
# | |||
# Console ports: | |||
# ttyv0 pccons or pcvt screen 0 | |||
# ttyv* pcvt | |||
# | |||
# Pointing devices: | |||
# mms* Microsoft bus mouse | |||
# lms* Logitech bus mouse | |||
# pms* PS/2 mouse | |||
# mouse-* "mouse link" (XXX) | |||
# | |||
# Terminal ports: | |||
# com* standard PC COM ports (XXX) | |||
# tty* alias for PC COM ports, this is what the system really wants | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Printers: | |||
# lpt* stock lp | |||
# lpa* interruptless lp | |||
# | |||
# Call units: | |||
# | |||
# Special purpose devices: | |||
# fd file descriptors | |||
# bpf* packet filter | |||
# speaker pc speaker (XXX - installed) | |||
# lkm loadable kernel modules interface | |||
# audio audio device | |||
# tun* network tunnel driver | |||
# | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1 pty0 pty1 | |||
sh MAKEDEV st0 st1 ch0 cd0 cd1 mcd0 vnd0 vnd1 lpa0 lpa1 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 tun2 | |||
sh MAKEDEV speaker lkm mms0 lms0 pms0 audio local | |||
# MISSING: | |||
# sh MAKEDEV mouse-? | |||
;; | |||
floppy) | |||
sh MAKEDEV std wt0 fd0 fd1 wd0 wd1 sd0 sd1 sd2 tty0 tty1 | |||
sh MAKEDEV st0 st1 cd0 cd1 mcd0 ttyv0 | |||
;; | |||
std) | |||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod io c 2 14 ; chmod 640 io ; chgrp kmem io | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 7 0 ; chmod 600 klog | |||
mknod stdin c 22 0 ; chmod 666 stdin | |||
mknod stdout c 22 1 ; chmod 666 stdout | |||
mknod stderr c 22 2 ; chmod 666 stderr | |||
;; | |||
ttyv*) | |||
unit=`expr $i : 'ttyv\(.*\)'` | |||
rm -f ttyv$unit | |||
mknod ttyv$unit c 12 $unit | |||
chown root.wheel ttyv$unit | |||
case $unit in | |||
0) | |||
rm -f vga | |||
ln -s ttyv0 vga | |||
;; | |||
esac | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 22 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
wt*) | |||
umask 2 | |||
rm -f wt0 rwt0 | |||
mknod wt0 b 3 0; chown root.operator wt0 | |||
mknod rwt0 c 10 0; chown root.operator rwt0 | |||
umask 77 | |||
;; | |||
ccd*|fd*|sd*|vnd*|wd*) | |||
umask 2 ; unit=`expr $i : '.*d\(.*\)'` | |||
case $i in | |||
ccd*) name=ccd; blk=16; chr=18;; | |||
fd*) name=fd; blk=2; chr=9;; | |||
sd*) name=sd; blk=4; chr=13;; | |||
vnd*) name=vnd; blk=14; chr=41;; | |||
wd*) name=wd; blk=0; chr=3;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
com*|tty*) # (XXX -- com should die) | |||
unit=`expr $i : '...\(.*\)'` | |||
rm -f com$unit tty0$unit | |||
mknod tty0$unit c 8 $unit | |||
chown uucp.wheel tty0$unit | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("rm -f tty%s%x; mknod tty%s%x c 5 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 6 %d; ", \ | |||
n, i, n, i, b+i, n, i, n, i, b+i); }'` | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; chr=14; blk=5;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
umask 77 | |||
;; | |||
ch*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
ch*) name=ch; chr=17;; | |||
esac | |||
rm -f $name$unit | |||
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
chgrp operator ${name}${unit} | |||
chmod 640 ${name}${unit} | |||
umask 77 | |||
;; | |||
cd*|mcd*) | |||
umask 2 ; unit=`expr $i : '.*cd\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=6; chr=15;; | |||
mcd*) name=mcd; blk=7; chr=39;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
lpa*) | |||
unit=`expr $i : 'lpa\(.*\)'` | |||
rm -f lpa$unit | |||
mknod lpa$unit c 16 `expr $unit + 128` | |||
chown root.wheel lpa$unit | |||
;; | |||
lpt*) | |||
unit=`expr $i : 'lpt\(.*\)'` | |||
rm -f lpt$unit | |||
mknod lpt$unit c 16 $unit | |||
chown root.wheel lpt$unit | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 23 $unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 40 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
speaker) # (XXX - installed) | |||
rm -f speaker | |||
mknod speaker c 27 0 | |||
chown root.wheel speaker | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 28 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
mms*) | |||
unit=`expr $i : 'mms\(.*\)'` | |||
rm -f mms$unit | |||
mknod mms$unit c 35 $unit | |||
chown root.wheel mms$unit | |||
;; | |||
lms*) | |||
unit=`expr $i : 'lms\(.*\)'` | |||
rm -f lms$unit | |||
mknod lms$unit c 36 $unit | |||
chown root.wheel lms$unit | |||
;; | |||
pms*) | |||
unit=`expr $i : 'pms\(.*\)'` | |||
rm -f pms$unit | |||
mknod pms$unit c 37 $unit | |||
chown root.wheel pms$unit | |||
;; | |||
mouse*) # (XXX) | |||
name=`expr $i : 'mouse-\(.*\)'` | |||
if [ ! -c $name ]; then | |||
$0 $name # make the appropriate device | |||
fi | |||
rm -f mouse | |||
ln -s $name mouse | |||
;; | |||
audio*) | |||
rm -f audio sound mixer | |||
mknod sound c 42 0 | |||
mknod audio c 42 128 | |||
mknod mixer c 42 16 | |||
chown root.wheel audio sound mixer | |||
chmod 666 audio sound mixer | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
esac | |||
done |
@ -0,0 +1,38 @@ | |||
# | |||
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets | |||
# | |||
# $Id: Makefile.inc,v 1.1.1.1 1995/10/18 08:38:00 deraadt Exp $ | |||
.ifdef DESTDIR | |||
snap_md: netbsd-aha netbsd-bt | |||
#snap_md: kc_aha.fs kc_bt.fs | |||
netbsd-aha: | |||
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICAHA | |||
cd ${.CURDIR}/../sys/arch/i386/compile/GENERICAHA && \ | |||
make clean && make depend && make | |||
cp ${.CURDIR}/../sys/arch/i386/compile/GENERICAHA/netbsd \ | |||
${DESTDIR}/snapshot/netbsd-aha | |||
netbsd-bt: | |||
cd ${.CURDIR}/../sys/arch/i386/conf && config GENERICBT | |||
cd ${.CURDIR}/../sys/arch/i386/compile/GENERICBT && \ | |||
make clean && make depend && make | |||
cp ${.CURDIR}/../sys/arch/i386/compile/GENERICBT/netbsd \ | |||
${DESTDIR}/snapshot/netbsd-bt | |||
kc_aha.fs: | |||
make -f ${.CURDIR}/etc.i386/Makefile.kc \ | |||
IMAGE=${DESTDIR}/snapshot/kc_aha.fs \ | |||
KERNEL=${DESTDIR}/snapshot/netbsd-aha || \ | |||
make -f ${.CURDIR}/etc.i386/Makefile.kc \ | |||
IMAGE=${DESTDIR}/snapshot/kc_aha.fs unconfig | |||
kc_bt.fs: | |||
make -f ${.CURDIR}/etc.i386/Makefile.kc \ | |||
IMAGE=${DESTDIR}/snapshot/kc_bt.fs \ | |||
KERNEL=${DESTDIR}/snapshot/netbsd-bt || \ | |||
make -f ${.CURDIR}/etc.i386/Makefile.kc \ | |||
IMAGE=${DESTDIR}/snapshot/kc_bt.fs unconfig | |||
.endif # DESTDIR check |
@ -0,0 +1,52 @@ | |||
# $Id: Makefile.kc,v 1.1.1.1 1995/10/18 08:38:00 deraadt Exp $ | |||
.ifndef MOUNT_POINT | |||
MOUNT_POINT= /mnt | |||
.endif | |||
.if !defined(VND_DEV) || !defined(VND_DEV) | |||
VND_DEV= /dev/vnd0a | |||
VND_RDEV= /dev/rvnd0a | |||
.endif | |||
ROOTDIRLIST= / /bin /dev /instbin /mnt /sbin /usr | |||
BINDIRLIST= /usr/bin | |||
FLOPPYBINS= fsck init mount reboot sh tar test umount | |||
all: | |||
.if !defined(IMAGE) || !defined(KERNEL) | |||
@echo both IMAGE and KERNEL must be defined | |||
@false | |||
.else | |||
dd if=/dev/zero of=${IMAGE} bs=100k count=12 | |||
vnconfig -c ${VND_DEV} ${IMAGE} | |||
disklabel -r -w ${VND_DEV} floppy5 \ | |||
${DESTDIR}/usr/mdec/fdboot ${DESTDIR}/usr/mdec/bootfd | |||
newfs -m 0 -o space -i 6144 -c 80 ${VND_DEV} floppy5 | |||
mount ${VND_DEV} ${MOUNT_POINT} | |||
for d in ${ROOTDIRLIST} ; do \ | |||
install -d -o root -g wheel -m 755 ${MOUNT_POINT}$$d ; \ | |||
done | |||
for d in ${BINDIRLIST} ; do \ | |||
install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${MOUNT_POINT}$$d ; \ | |||
done | |||
cp ${KERNEL} ${MOUNT_POINT} | |||
cp ${.CURDIR}/etc.i386/MAKEDEV ${MOUNT_POINT}/dev | |||
(cd ${MOUNT_POINT}/dev; sh MAKEDEV floppy) | |||
for b in ${FLOPPYBINS} ; do \ | |||
( cd ${.CURDIR}/../sys/arch/i386/floppy/$$b ; \ | |||
make DESTDIR=${MOUNT_POINT} install ) ; \ | |||
done | |||
set -- `grep -v '^#' ${.CURDIR}/etc.i386/files.kc/list`; \ | |||
while [ $$# -ge 2 ]; do \ | |||
from=$$1; shift; \ | |||
to=$$1; shift; \ | |||
cp ${.CURDIR}/etc.i386/files.kc/$$from ${MOUNT_POINT}/$$to; \ | |||
done | |||
umount ${MOUNT_POINT} | |||
vnconfig -u ${VND_DEV} ${IMAGE} | |||
.endif | |||
unconfig: | |||
-umount -f ${MOUNT_POINT} | |||
-vnconfig -u ${VND_DEV} ${IMAGE} | |||
-/bin/rm -f ${IMAGE} |
@ -0,0 +1,119 @@ | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, ns*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# | |||
# All partition sizes reserve space for bad sector tables. | |||
# (5 cylinders needed for maintenance + replacement sectors) | |||
# | |||
qp120at|Quantum Peripherals 120MB IDE:\ | |||
:dt=ESDI:ty=winchester:se#512:nt#9:ns#32:nc#813:sf: \ | |||
:pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \ | |||
:pb#13824:ob#13824:tb=swap: \ | |||
:pc#234144:oc#0: \ | |||
:ph#206496:oh#27648:th=4.2BSD:bh#4096:fh#512: | |||
pan60|Panasonic Laptop's 60MB IDE:\ | |||
:dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\ | |||
:pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\ | |||
:pb#13260:ob#13260:tb=swap: \ | |||
:pc#124865:oc#0: \ | |||
:ph#97682:oh#26520:th=4.2BSD:bh#4096:fh#512: | |||
mk156|toshiba156|Toshiba MK156 156Mb:\ | |||
:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\ | |||
:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\ | |||
:pb#15748:ob#15748:tb=swap:\ | |||
:pc#288750:oc#0:\ | |||
:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD: | |||
cp3100|Conner Peripherals 100MB IDE:\ | |||
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \ | |||
:pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \ | |||
:pb#12144:ob#12144:tb=swap: \ | |||
:pc#202224:oc#0: \ | |||
:ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512: | |||
# a == root | |||
# b == swap | |||
# c == d == whole disk | |||
# e == /var | |||
# f == scratch | |||
# h == /usr | |||
cp3100new|Conner Peripherals 100MB IDE, with a different configuration:\ | |||
:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \ | |||
:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \ | |||
:pb#24288:ob#15840:tb=swap: \ | |||
:pc#202224:oc#0: \ | |||
:pd#202224:od#0: \ | |||
:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \ | |||
:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \ | |||
:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512: | |||
floppy|floppy3|3in|3.5in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ | |||
:pa#2880:oa#0:ba#4096:fa#512:\ | |||
:pb#2880:ob#0:\ | |||
:pc#2880:oc#0: | |||
floppy5|5in|5.25in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#15:nc#80:\ | |||
:pa#2400:oa#0:ba#4096:fa#512:\ | |||
:pb#2400:ob#0:bb#4096:fb#512:\ | |||
:pc#2400:oc#0:bc#4096:fc#512: | |||
maxtor4380|Maxtor XT4380E ESDI :\ | |||
:dt=ESDI:ty=winchester:se#512:nt#15:ns#36:nc#1222:sf: \ | |||
:pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\ | |||
:pb#21600:ob#21600:tb=swap: \ | |||
:pc#659880:oc#0: \ | |||
:pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \ | |||
:ph#398520:oh#269200:th=4.2BSD:bh#4096:fh#512: | |||
miniscribe9380|compaq38|Miniscribe 9380 ESDI :\ | |||
:ty=winchester:dt=ESDI:se#512:nt#15:ns#35:nc#1223:rm#3600:sf: \ | |||
:pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \ | |||
:pb#42000:ob#21000:tb=swap: \ | |||
:pc#642075:oc#0: \ | |||
:pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \ | |||
:ph#556500:oh#84000:bh#8192:fh#1024:th=4.2BSD: | |||
ida4|compaq88|Compaq IDA (4 drives) :\ | |||
:ty=winchester:dt=IDA:se#512:nt#16:ns#63:nc#1644:rm#3600:\ | |||
:pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \ | |||
:pb#80640:ob#20160:tb=swap: \ | |||
:pc#1659168:oc#0: \ | |||
:pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \ | |||
:pe#20160:oe#1310400:be#8192:fe#1024:te=4.2BSD: \ | |||
:ph#1008000:oh#302400:bh#8192:fh#1024:th=4.2BSD: \ | |||
:pg#302400:og#1330560:bg#4096:fg#512:tg=4.2BSD: | |||
fuji513|Fujitsu M22XXXX: \ | |||
:ty=winchester:dt=ESDI:se#512:nt#16:ns#63:nc#954:rm#3600:\ | |||
:pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \ | |||
:pb#40320:ob#102816:tb=swap: \ | |||
:pc#961632:oc#0: \ | |||
:ph#656208:oh#143136:bh#4096:fh#512:th=4.2BSD: | |||
@ -0,0 +1,113 @@ | |||
# $Id: copy_kernel,v 1.1.1.1 1995/10/18 08:38:00 deraadt Exp $ | |||
# | |||
# Kernel copy script | |||
DEFAULT_PARTITON=sd0a | |||
MOUNT_POINT=/mnt | |||
KERNEL_NAME=/netbsd | |||
#TEST=testfn | |||
testfn() { | |||
echo $* | |||
sleep 5 | |||
} | |||
cancel() { | |||
echo "" | |||
echo "Copy cancelled." | |||
exit 1 | |||
} | |||
umountfs() { | |||
echo "Unmounting filesystem; please wait." | |||
trap 2 3 | |||
${TEST} umount ${MOUNT_POINT} | |||
case $? in | |||
0) | |||
;; | |||
*) | |||
echo "Warning: Unmount of ${MOUNT_POINT} failed." | |||
;; | |||
esac | |||
} | |||
warning() { | |||
echo "" | |||
echo "Copy failed or was interrupted." | |||
echo "Warning: Copied kernel my be corrupted!" | |||
} | |||
trap "cancel;" 2 3 | |||
echo "NetBSD kernel copy program" | |||
echo "" | |||
echo "Default answers are displayed in brackets. You may hit Control-C" | |||
echo "at any time to cancel this operation (though if you hit Control-C at" | |||
echo "a prompt, you need to hit return for it to be noticed)." | |||
echo "" | |||
echo "What disk partition should the kernel be installed on?" | |||
echo "(For example, \"sd0a\", \"wd0a\", etc.)" | |||
echo "" | |||
echo -n "Partition? [${DEFAULT_PARTITON}] " | |||
read diskpart | |||
if [ "X${diskpart}" = "X" ]; then | |||
diskpart=${DEFAULT_PARTITON} | |||
fi | |||
rawdiskpart="r${diskpart}" | |||
echo "" | |||
echo -n "Are you sure you want to copy a new kernel to ${diskpart}? [n] " | |||
read reply | |||
case ${reply} in | |||
y*|Y*) | |||
;; | |||
*) | |||
cancel | |||
;; | |||
esac | |||
echo "" | |||
echo "Checking ${diskpart} partition; please wait." | |||
${TEST} fsck -p "/dev/${rawdiskpart}" | |||
case $? in | |||
0) | |||
;; | |||
*) | |||
echo "File system check failed or aborted!" | |||
cancel | |||
;; | |||
esac | |||
echo "Mounting /dev/${diskpart} on ${MOUNT_POINT}." | |||
trap "echo ''; umountfs; cancel;" 2 3 | |||
${TEST} mount "/dev/${diskpart}" ${MOUNT_POINT} | |||
case $? in | |||
0) | |||
;; | |||
*) | |||
echo "Mount failed!" | |||
cancel | |||
;; | |||
esac | |||
echo "Copying kernel to ${MOUNT_POINT}." | |||
trap "warning; umountfs; cancel;" 2 3 | |||
${TEST} cp ${KERNEL_NAME} ${MOUNT_POINT} | |||
case $? in | |||
0) | |||
;; | |||
*) | |||
warning | |||
umountfs | |||
cancel | |||
;; | |||
esac | |||
umountfs | |||
echo "" | |||
echo "Copy completed." | |||
echo "" | |||
echo "Use \"halt\" to halt the system, then (when the system is halted)" | |||
echo "eject the floppy disk and hit any key to reboot from the hard disk." | |||
exit 0 |
@ -0,0 +1,8 @@ | |||
# $Id: dot.profile,v 1.1.1.1 1995/10/18 08:38:00 deraadt Exp $ | |||
PATH=/sbin:/bin:/instbin | |||
export PATH | |||
echo "Enter 'copy_kernel' at the prompt to copy a kernel to your hard disk," | |||
echo "'reboot' to reboot the system, or 'halt' to halt the system." | |||
echo "" |
@ -0,0 +1,2 @@ | |||
dot.profile .profile | |||
copy_kernel instbin/copy_kernel |
@ -0,0 +1,3 @@ | |||
/dev/wd0a / ffs rw 1 1 | |||
#/dev/wd0d /var ffs rw 1 2 | |||
#/dev/wd0h /usr ffs rw 1 3 |
@ -0,0 +1,48 @@ | |||
# | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# $Id: ttys,v 1.1.1.1 1995/10/18 08:38:00 deraadt Exp $ | |||
# | |||
# name getty type status comments | |||
# | |||
console "/usr/libexec/getty Pc" pc3 off secure | |||
ttyv0 "/usr/libexec/getty Pc" pc3 on secure | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,326 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Written and contributed by W. Jolitz 12/90 | |||
# | |||
# Redistribution and use in source and binary forms are permitted provided | |||
# that: (1) source distributions retain this entire copyright notice and | |||
# comment, and (2) distributions including binaries display the following | |||
# acknowledgement: ``This product includes software developed by the | |||
# University of California, Berkeley and its contributors'' in the | |||
# documentation or other materials provided with the distribution and in | |||
# all advertising materials mentioning features or use of this software. | |||
# Neither the name of the University nor the names of its contributors may | |||
# be used to endorse or promote products derived from this software without | |||
# specific prior written permission. | |||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |||
# | |||
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 | |||
# $NetBSD: MAKEDEV,v 1.16 1995/10/09 02:19:36 thorpej Exp $ | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all a smattering--at least one of each except | |||
# fd* (unimp.) and ch* | |||
# | |||
# std standard devices | |||
# fd file descriptor device nodes | |||
# local configuration specific devices | |||
# raminst for RAM disk install | |||
# | |||
# Tapes: | |||
# st* scsi tapes | |||
# | |||
# Disks: | |||
# fd* floppy disk drives (3 1/2") (unimp.) | |||
# sd* SCSI disks | |||
# cd* SCSI compact discs | |||
# ch* SCSI changers | |||
# vnd* vnode pseudo-disks | |||
# ccd* concatenated disk driver | |||
# | |||
# Terminal ports: | |||
# ttye* ite consoles | |||
# tty* standard built-in serial ports (2) | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Graphics devices: | |||
# grf* Bitmapped graphics device | |||
# | |||
# Special purpose devices: | |||
# bpf* packet filter | |||
# tun* network tunnel driver | |||
# lkm Device to for loadable kernel modules | |||
# | |||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd | |||
sh MAKEDEV sd0 sd1 sd2 sd3 st0 st1 cd0 cd1 | |||
sh MAKEDEV vnd0 vnd1 vnd2 vnd3 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV adb grf0 grf1 ttye0 | |||
sh MAKEDEV tty00 tty01 pty0 | |||
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 | |||
sh MAKEDEV bpf8 bpf9 bpfa bpfb | |||
sh MAKEDEV tun0 tun1 tun2 tun3 | |||
sh MAKEDEV lkm | |||
sh MAKEDEV local | |||
;; | |||
raminst) | |||
sh MAKEDEV std | |||
sh MAKEDEV sd0 sd1 sd2 sd3 st0 st1 cd0 cd1 | |||
sh MAKEDEV adb grf0 grf1 ttye0 | |||
sh MAKEDEV tty00 tty01 pty0 | |||
;; | |||
std) | |||
rm -f console drum kmem mem reload zero null tty | |||
rm -f klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 21 0 ; chmod 666 stdin | |||
mknod stdout c 21 1 ; chmod 666 stdout | |||
mknod stderr c 21 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 21 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
sd*|vnd*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
case $i in | |||
sd*) name=sd; blk=4; chr=13;; | |||
vnd*) name=vnd; blk=8; chr=19;; | |||
ccd*) name=ccd; blk=9; chr=20;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
tty0*) | |||
unit=`expr $i : 'tty0\(.*\)'` | |||
rm -f ser${unit} tty${unit} tty0${unit} | |||
case ${unit} in | |||
0|1) | |||
mknod tty0${unit} c 12 ${unit} | |||
chown uucp.wheel tty0${unit} | |||
;; | |||
*) | |||
echo bad unit for serial tty in: $i | |||
;; | |||
esac | |||
;; | |||
ttye*) | |||
unit=`expr $i : 'ttye\(.*\)'` | |||
rm -f ttye${unit} | |||
rm -f ite* | |||
case $unit in | |||
0|1) | |||
mknod ttye${unit} c 11 ${unit} | |||
;; | |||
*) | |||
echo bad unit for ttye in: $i | |||
;; | |||
esac | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("rm -f tty%s%x; mknod tty%s%x c 4 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 5 %d; ", \ | |||
n, i, n, i, b+i, n, i, n, i, b+i); }'` | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; chr=14; blk=5;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
;; | |||
*) | |||
echo bad unit for tape in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
ch*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
ch*) name=ch; chr=17;; | |||
esac | |||
rm -f $name$unit | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
chgrp operator ${name}${unit} | |||
chmod 640 ${name}${unit} | |||
;; | |||
*) | |||
echo bad unit for media changer in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=6; chr=15;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
grf*) | |||
unit=`expr $i : 'grf\(.*\)'` | |||
rm -f grf${unit} | |||
case ${unit} in | |||
0|1) | |||
mknod grf${unit} c 10 ${unit} ; chmod 666 grf${unit} | |||
;; | |||
*) | |||
echo bad unit for grf in: $i | |||
;; | |||
esac | |||
;; | |||
adb) | |||
rm -f adb | |||
mknod adb c 23 0 ; chmod 666 adb | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf${unit} | |||
mknod bpf${unit} c 22 ${unit} | |||
chown root.wheel bpf${unit} | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 24 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 25 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $i: unknown device | |||
esac | |||
done |
@ -0,0 +1,116 @@ | |||
# $NetBSD: disktab,v 1.3 1995/10/09 02:19:38 thorpej Exp $ | |||
# @(#)disktab 5.5 (Berkeley) 2/27/91 | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# ty type of disk | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# rm rpm, 3600 default | |||
# se sector size, 512 default | |||
# sf supports bad144-style bad sector forwarding | |||
# so partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# | |||
# All partition sizes contain space | |||
# for bad sector tables unless the | |||
# device drivers fail to support this. | |||
# | |||
# Entries may also be used for other compatible drives | |||
# with the same geometry. | |||
# | |||
# SCSI disks | |||
# Again, these mapping support three basic layouts: | |||
# Again, these mapping support three basic layouts: | |||
# | |||
# A/B/G: This is the "traditional" setup for a bootable disk. | |||
# A is the root partition, B the swap, and G is for /usr | |||
# and users. | |||
# A/D/E/F (large drives): | |||
# A/D/H (small drives): | |||
# This is a setup for bootable systems requiring more swap | |||
# (e.g. those who need CL). It has A as the root, D as a | |||
# larger swap, E and F (or H) as smaller user partitions. | |||
# E could be used for /usr and F for users (or H for both). | |||
# Or, E could be used for /var and F for /usr and users. | |||
# C: This gives a single, non-bootable, large user filesystem. | |||
# Good for second drives on a machine as either /usr/src | |||
# or a large /usr or user partition. | |||
# | |||
# A/B/G: This is the "traditional" setup for a bootable disk. | |||
# A is the root partition, B the swap, and G is for /usr | |||
# and users. | |||
# A/D/E/F (large drives): | |||
# A/D/H (small drives): | |||
# This is a setup for bootable systems requiring more swap | |||
# (e.g. those who need CL). It has A as the root, D as a | |||
# larger swap, E and F (or H) as smaller user partitions. | |||
# E could be used for /usr and F for users (or H for both). | |||
# Or, E could be used for /var and F for /usr and users. | |||
# C: This gives a single, non-bootable, large user filesystem. | |||
# Good for second drives on a machine as either /usr/src | |||
# or a large /usr or user partition. | |||
# | |||
sd7958|sd7958-utah|HP7958S:\ | |||
:ty=winchester:ns#32:nt#6:nc#1643:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#315455:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#97343:of#218112:bf#4096:ff#1024:\ | |||
:pg#232511:og#82944:bg#8192:fg#1024:\ | |||
:ph#199743:oh#115712:bh#8192:fh#1024: | |||
sd7959|sd330|sd7959-utah|HP7959S:\ | |||
:ty=winchester:ns#32:nt#12:nc#1643:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#630911:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#412799:of#218112:bf#4096:ff#1024:\ | |||
:pg#547967:og#82944:bg#8192:fg#1024:\ | |||
:ph#515199:oh#115712:bh#8192:fh#1024: | |||
sd7548-utah|sd660|HP97548S with Utah partitions:\ | |||
:ty=winchester:ns#56:nt#16:nc#1447:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#1296511:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#512:\ | |||
:pf#1078399:of#218112:bf#4096:ff#1024:\ | |||
:pg#1213567:og#82944:bg#8192:fg#1024:\ | |||
:ph#1180799:oh#115712:bh#8192:fh#1024: | |||
# | |||
# HP magneto-optical drive. | |||
# (ns, nt, nc are totally bogus) | |||
# actually 1K sectors | |||
sd650-sony|mo650-sony|HP6300/650A Magneto-optical drive with Sony format:\ | |||
:ty=optical:ns#61:nt#8:nc#1306:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#637328:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#1024:\ | |||
:pf#419216:of#218112:bf#4096:ff#1024:\ | |||
:pg#554384:og#82944:bg#8192:fg#1024: | |||
sd650|mo650|mo650-ansi|HP6300/650A Magneto-optical with ANSI format drive:\ | |||
:ty=optical:ns#61:nt#8:nc#1306:\ | |||
:pa#16384:oa#1024:ba#8192:fa#1024:\ | |||
:pb#65536:ob#17408:\ | |||
:pc#629136:oc#0:bc#8192:fc#1024:\ | |||
:pd#98304:od#17408:\ | |||
:pe#102400:oe#115712:be#4096:fe#1024:\ | |||
:pf#411024:of#218112:bf#4096:ff#1024:\ | |||
:pg#546192:og#82944:bg#8192:fg#1024: | |||
# RAM disk | |||
ram:\ | |||
:ty=winchester:ns#512:nt#4:nc#1:\ | |||
:pa#2048:oa#0:ba#4096:fa#512:\ | |||
:pb#2048:ob#0:bb#4096:fb#512:\ | |||
:pc#2048:oc#0:bc#4096:fc#512: |
@ -0,0 +1,5 @@ | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0b none swap sw 0 0 | |||
#/dev/sd0g /usr ffs rw 1 2 | |||
kern /kern kernfs rw 0 0 | |||
proc /proc procfs rw 0 0 |
@ -0,0 +1,56 @@ | |||
# | |||
# $NetBSD: ttys,v 1.11 1995/10/09 02:19:39 thorpej Exp $ | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
# If the console is marked insecure, single-user requires | |||
# the root password. | |||
console "/usr/libexec/getty Pc" vt220 off secure | |||
# Define the console that we actually run getty on. | |||
ttye0 "/usr/libexec/getty Pc" vt220 on secure | |||
# Hardwired lines are marked off, by default, so getty(8) | |||
# is quiet when they don't exist. | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,247 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Written and contributed by W. Jolitz 12/90 | |||
# | |||
# Redistribution and use in source and binary forms are permitted provided | |||
# that: (1) source distributions retain this entire copyright notice and | |||
# comment, and (2) distributions including binaries display the following | |||
# acknowledgement: ``This product includes software developed by the | |||
# University of California, Berkeley and its contributors'' in the | |||
# documentation or other materials provided with the distribution and in | |||
# all advertising materials mentioning features or use of this software. | |||
# Neither the name of the University nor the names of its contributors may | |||
# be used to endorse or promote products derived from this software without | |||
# specific prior written permission. | |||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED | |||
# WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF | |||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |||
# | |||
# @(#)MAKEDEV 5.2 (Berkeley) 6/22/90 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all makes all known devices, including local devices. | |||
# Tries to make the 'standard' number of each type. | |||
# floppy devices to be put on install floppies | |||
# std standard devices | |||
# local configuration specific devices | |||
# | |||
# Tapes: | |||
# st* SCSI tapes | |||
# | |||
# Disks: | |||
# sd* SCSI disks | |||
# cd* SCSI CD-ROM | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk driver | |||
# | |||
# Terminal ports: | |||
# tty* rs232 devices | |||
# | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# | |||
# Printers: | |||
# lpt* Matthias's lp interface | |||
# | |||
# Special purpose devices: | |||
# fd file descriptors | |||
# bpf* packet filter | |||
# lkm loadable kernel modules interface | |||
# tun* network tunnel driver | |||
# | |||
PATH=/sbin:/usr/sbin:/bin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
all) | |||
sh MAKEDEV std fd sd0 sd1 sd2 st0 st1 cd0 cd1 | |||
sh MAKEDEV tty0 tty1 tty2 tty3 tty4 tty5 tty6 tty7 | |||
sh MAKEDEV pty0 pty1 vnd0 vnd1 bpf0 bpf1 bpf2 bpf3 | |||
sh MAKEDEV tun0 tun1 tun2 lkm | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
;; | |||
floppy) | |||
sh MAKEDEV std sd0 sd1 sd2 tty0 tty1 tty2 tty3 | |||
sh MAKEDEV st0 st1 cd0 cd1 rd0 | |||
;; | |||
std) | |||
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr | |||
mknod console c 0 0 | |||
mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 2 2 ; chmod 666 null | |||
mknod zero c 2 12 ; chmod 666 zero | |||
mknod tty c 1 0 ; chmod 666 tty | |||
mknod klog c 7 0 ; chmod 600 klog | |||
mknod stdin c 11 0 ; chmod 666 stdin | |||
mknod stdout c 11 1 ; chmod 666 stdout | |||
mknod stderr c 11 2 ; chmod 666 stderr | |||
;; | |||
fd) | |||
rm -f fd/* | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 11 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
rd*) | |||
umask 2 ; unit=`expr $i : '.*d\(.*\)'` | |||
mknod rd${unit} b 3 $unit | |||
mknod rrd${unit} c 9 $unit | |||
chgrp operator rd${unit} rrd${unit} | |||
chmod 640 rd${unit} rrd${unit} | |||
umask 77 | |||
;; | |||
sd*|vnd*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*d\(.*\)'` | |||
case $i in | |||
sd*) name=sd; blk=0; chr=3;; | |||
vnd*) name=vnd; blk=5; chr=13;; | |||
ccd*) name=ccd; blk=6; chr=18;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
tty*) | |||
unit=`expr $i : '...\(.*\)'` | |||
mknod tty0$unit c 8 $unit | |||
chown uucp.wheel tty0$unit | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("rm -f tty%s%x; mknod tty%s%x c 5 %d; \ | |||
rm -f pty%s%x; mknod pty%s%x c 6 %d; ", \ | |||
n, i, n, i, b+i, n, i, n, i, b+i); }'` | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
st*) | |||
umask 2 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
st*) name=st; chr=10; blk=2;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 ; unit=`expr $i : '.*cd\(.*\)'` | |||
case $i in | |||
cd*) name=cd; blk=4; chr=12;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
lpt*) | |||
unit=`expr $i : 'lpt\(.*\)'` | |||
rm -f lpt${unit} lpt${unit}p | |||
mknod lpt${unit} c 17 `expr $unit + 64` | |||
mknod lpt${unit}p c 17 $unit | |||
chmod 0220 lpt${unit} lpt${unit}p | |||
chown root.wheel lpt$unit | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 14 $unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
unit=`expr $i : 'tun\(.*\)'` | |||
rm -f tun$unit | |||
mknod tun$unit c 15 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 18 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
esac | |||
done |
@ -0,0 +1,70 @@ | |||
# $Id: disktab,v 1.1.1.1 1995/10/18 08:38:01 deraadt Exp $ | |||
# | |||
# PC532 version. | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, ns*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# | |||
# Floppy and boot disk support | |||
# | |||
floppy3|3in|3.5in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ | |||
:pa#2880:oa#0:ba#4096:fa#512:\ | |||
:pc#2880:oc#0: | |||
floppy5|5in|5.25in High Density Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#15:nc#80:\ | |||
:pa#2400:oa#0:ba#4096:fa#512:\ | |||
:pc#2400:oc#0: | |||
boot3|3.5in High Density Boot Floppy:\ | |||
:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\ | |||
:ta=4.2BSD:pa#2844:oa#0:ba#4096:fa#512:\ | |||
:tc=unused:pc#2880:oc#0:\ | |||
:th=boot:ph#36:oh#2844: | |||
rd|2mb ramdisk:\ | |||
:ty=floppy:se#512:nt#1:rm#8000:ns#256:nc#16:\ | |||
:ta=4.2BSD:pa#4096:oa#0:ba#4096:fa#512:\ | |||
:tc=unused:pc#4096:oc#0: | |||
# | |||
# Others | |||
# | |||
m2614esa|Fujitsu M2614 ESA 180Mb:\ | |||
:ty=winchester:dt=SCSI:\ | |||
:ns#34:nt#8:nc#1336:\ | |||
:sc#267:su#356178::se#512:\ | |||
:rm#3490:sk#12:cs#16:hs#5000:ts#8000:il#1:\ | |||
:ta=4.2BSD:oa#267:pa#16554:ba#8192:fa#1024:\ | |||
:tb=swap:ob#16821:pb#32841:\ | |||
:tc=unused:oc#0:pc#356178:\ | |||
:td=4.2BSD:od#49662:pd#16554:bd#8192:fd#1024:\ | |||
:te=4.2BSD:oe#66216:pe#289962:be#8192:fe#1024:\ | |||
:tg=boot:og#2:pg#265: |
@ -0,0 +1,3 @@ | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0b none swap sw 0 0 | |||
/dev/sd0e /usr ffs rw 1 2 |
@ -0,0 +1,45 @@ | |||
# | |||
# @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
console "/usr/libexec/getty std.9600" unknown on secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,254 @@ | |||
#!/bin/sh - | |||
# | |||
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# std standard devices | |||
# local configuration specific devices | |||
# Tapes: | |||
# tz* SCSI tapes, DEC TK50 cartridge tape | |||
# Disks: | |||
# rz* SCSI disks | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk driver | |||
# Terminal multiplexors: | |||
# dc* 4 channel serial interface (keyboard, mouse, modem, printer) | |||
# scc* 82530 serial interface | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# Printers: | |||
# Call units: | |||
# Special purpose devices: | |||
# bpf* packet filter | |||
# lkm loadable kernel modules interface | |||
# tun* network tunnel driver | |||
# Platform-specific devices: | |||
# NOTE: /dev/mouse should be a link to one of these for X windows. | |||
# pm* raw interface to PMAX graphics devices | |||
# cfb* raw interface to turbochannel PMAG-BA color frame buffer | |||
# xcfb* raw interface to maxine graphics devices | |||
# mfb* raw interface to mono graphics devices | |||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
std) | |||
mknod console c 0 0 | |||
mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 3 2 ; chmod 666 null | |||
mknod zero c 3 12 ; chmod 666 zero | |||
mknod tty c 2 0 ; chmod 666 tty | |||
mknod klog c 6 0 ; chmod 600 klog | |||
mknod stdin c 7 0 ; chmod 666 stdin | |||
mknod stdout c 7 1 ; chmod 666 stdout | |||
mknod stderr c 7 2 ; chmod 666 stderr | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 7 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
tz*) | |||
umask 0 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
tz*) chr=10;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
unit0=`expr $unit \* 16` | |||
unit1=`expr $unit \* 16 + 1` | |||
unit2=`expr $unit \* 16 + 2` | |||
unit3=`expr $unit \* 16 + 3` | |||
mknod rmt$unit c $chr $unit0 | |||
mknod nrmt$unit c $chr $unit1 | |||
mknod rmth$unit c $chr $unit2 | |||
mknod nrmth$unit c $chr $unit3 | |||
chmod 666 rmt$unit nrmt$unit rmth$unit nrmth$unit | |||
;; | |||
*) | |||
echo bad unit for tape in: $1 | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
bpf*) | |||
unit=`expr $i : 'bpf\(.*\)'` | |||
rm -f bpf$unit | |||
mknod bpf$unit c 12 $unit | |||
chmod 600 bpf$unit | |||
chown root.wheel bpf$unit | |||
;; | |||
#tun*) | |||
# unit=`expr $i : 'tun\(.*\)'` | |||
# rm -f tun$unit | |||
# mknod tun$unit c 111 $unit | |||
# chmod 600 tun$unit | |||
# chown root.wheel tun$unit | |||
# ;; | |||
#lkm) | |||
# rm -f lkm | |||
# mknod lkm c 112 0 | |||
# chown root.kmem lkm | |||
# chmod 640 lkm | |||
# ;; | |||
rz*|vnd*|vn*|ccd*) | |||
umask 2 ; unit=`expr $i : '.*[dz]\(.*\)'` | |||
case $i in | |||
rz*) name=rz; blk=21; chr=56;; | |||
vn*) name=vnd; blk=2; chr=11;; | |||
ccd*) name=ccd; blk=24; chr=87;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6) | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
if [ $name != vnd ] | |||
then | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
fi | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
dc*) | |||
unit=`expr $i : 'dc\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod tty00 c 16 2 | |||
mknod tty01 c 16 3 | |||
;; | |||
*) | |||
echo bad unit for dc in: $i | |||
;; | |||
esac | |||
;; | |||
scc*) | |||
unit=`expr $i : 'scc\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod tty00 c 17 2 | |||
mknod tty01 c 17 3 | |||
;; | |||
*) | |||
echo bad unit for scc in: $i | |||
;; | |||
esac | |||
;; | |||
pm*) | |||
unit=`expr $i : 'pm\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod pm0 c 8 0 | |||
;; | |||
*) | |||
echo bad unit for pm in: $i | |||
;; | |||
esac | |||
;; | |||
cfb*) | |||
unit=`expr $i : 'cfb\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod cfb0 c 13 0 | |||
;; | |||
*) | |||
echo bad unit for cfb in: $i | |||
;; | |||
esac | |||
;; | |||
xcfb*) | |||
unit=`expr $i : 'xcfb\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod xcfb0 c 14 0 | |||
;; | |||
*) | |||
echo bad unit for xcfb in: $i | |||
;; | |||
esac | |||
;; | |||
mfb*) | |||
unit=`expr $i : 'mfb\(.*\)'` | |||
case $unit in | |||
0) | |||
mknod mfb0 c 18 0 | |||
;; | |||
*) | |||
echo bad unit for mfb in: $i | |||
;; | |||
esac | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("mknod tty%s%x c 4 %d; \ | |||
mknod pty%s%x c 5 %d; ", \ | |||
n, i, b+i, n, i, b+i); }'` | |||
umask 77 | |||
if [ $class = 1 ]; then | |||
mv ttyqf ttyv0; mv ptyqf ptyv0 | |||
fi | |||
;; | |||
esac | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,192 @@ | |||
# | |||
# @(#)disktab 8.1 (Berkeley) 6/9/93 | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, nc*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# b[0-1] primary and secondary bootstraps, optional | |||
# | |||
# All partition sizes contain space for bad sector tables unless | |||
# the device drivers fail to support this. Smaller disks may | |||
# not have all partitions and all disks have no defaults for | |||
# the `h' partition. The strategy here is that `a' always | |||
# has the same amount for all disks. The `b' partition is | |||
# four times `a' while `c' is always the entire disk. The | |||
# sum of `d', `e', and `f' is equal to `g' which is everything else. | |||
rz22|RZ22|DEC RZ22 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#33:nt#4:nc#776:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#69664:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#102432:oc#0:bc#8192:fc#1024: | |||
rz23|RZ23|DEC RZ23 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#33:nt#8:nc#776:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#204864:oc#0:bc#8192:fc#1024:\ | |||
:pd#13674:od#163840:bd#8192:fd#1024:\ | |||
:pe#13674:oe#177514:be#8192:fe#1024:\ | |||
:pf#13676:of#191188:bf#8192:ff#1024:\ | |||
:pg#41024:og#163840:bg#8192:fg#1024: | |||
rz23l|RZ23L|DEC RZ23L Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#39:nt#4:nc#1524:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#66690:ob#32768:bb#4096:fb#1024:tb=swap\ | |||
:pc#237588:oc#0:bc#8192:fc#1024:\ | |||
:pd#35135:od#99458:bd#8192:fd#1024:\ | |||
:pe#35135:oe#134593:be#8192:fe#1024:\ | |||
:pf#67860:of#169728:bf#8192:ff#1024:\ | |||
:pg#138130:og#99458:bg#8192:fg#1024: | |||
rz24|RZ24|DEC RZ24 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#38:nt#8:nc#1348:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\ | |||
:pc#409792:oc#0:bc#8192:fc#1024:\ | |||
:pd#81984:od#163840:bd#8192:fd#1024:\ | |||
:pe#81984:oe#245824:be#8192:fe#1024:\ | |||
:pf#81984:of#327808:bf#8192:ff#1024:\ | |||
:pg#245952:og#163840:bg#8192:fg#1024: | |||
# | |||
# The RZ24L uses ZBR, so (pc = #_logical_blocks) > ns * nt * nc. | |||
# #_logical_blocks was obtained from the 'scu' "show pages" command. | |||
# | |||
rz24l|RZ24L|DEC RZ24L Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#65:nt#4:nc#1818:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\ | |||
:pc#479350:oc#0:bc#8192:fc#1024:\ | |||
:pd#105170:od#163840:bd#8192:fd#1024:\ | |||
:pe#105170:oe#269010:be#8192:fe#1024:\ | |||
:pf#105170:of#374180:bf#8192:ff#1024:\ | |||
:pg#315510:og#163840:bg#8192:fg#1024: | |||
rz25|RZ25|DEC RZ25 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#62:nt#9:nc#1476:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#832527:oc#0:bc#8192:fc#1024:\ | |||
:pd#222896:od#163840:bd#8192:fd#1024:\ | |||
:pe#222896:oe#386736:be#8192:fe#1024:\ | |||
:pf#222895:of#609632:bf#8192:ff#1024:\ | |||
:pg#668687:og#163840:bg#8192:fg#1024: | |||
rz26|RZ26|DEC RZ26 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#57:nt#14:nc#2570:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#2050860:oc#0:bc#8192:fc#1024:\ | |||
:pd#629006:od#163840:bd#8192:fd#1024:\ | |||
:pe#629006:oe#792846:be#8192:fe#1024:\ | |||
:pf#629008:of#1421852:bf#8192:ff#1024:\ | |||
:pg#819200:og#163840:bg#8192:fg#1024:\ | |||
:ph#1067820:oh#983040:bh#8192:fh#1024: | |||
rz55|RZ55|DEC RZ55 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#36:nt#15:nc#1224:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#649040:oc#0:bc#8192:fc#1024:\ | |||
:pd#152446:od#163840:bd#8192:fd#1024:\ | |||
:pe#152446:oe#316286:be#8192:fe#1024:\ | |||
:pf#180308:of#468732:bf#8192:ff#1024:\ | |||
:pg#485200:og#163840:bg#8192:fg#1024: | |||
rz56|RZ56|DEC RZ56 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#54:nt#15:nc#1632:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\ | |||
:pc#1299174:oc#0:bc#8192:fc#1024:\ | |||
:pd#292530:od#163840:bd#8192:fd#1024:\ | |||
:pe#292530:oe#456370:be#8192:fe#1024:\ | |||
:pf#550274:of#748900:bf#8192:ff#1024:\ | |||
:pg#567666:og#163840:bg#8192:fg#1024:\ | |||
:ph#567668:oh#731506:bh#8192:fh#1024: | |||
#rz57|RZ57|DEC RZ57 Winchester:\ | |||
# :dt=SCSI:ty=winchester:ns#71:nt#15:nc#1854:\ | |||
# :pa#32768:ba#8192:fa#1024:\ | |||
# :pb#184320:bb#4096:fb#1024:tb=swap:\ | |||
# :pc#1954050:bc#8192:fc#1024:\ | |||
# :pd#299008:bd#8192:fd#1024:\ | |||
# :pe#299008:be#8192:fe#1024:\ | |||
# :pf#524546:bf#8192:ff#1024:\ | |||
# :pg#614400:bg#8192:fg#1024:\ | |||
# :ph#1122562:bh#8192:fh#1024: | |||
rz57|RZ57|DEC RZ57 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#70:nt#15:nc#1861:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#184320:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1954050:oc#0:bc#8192:fc#1024:\ | |||
:pd#299008:od#831488:bd#8192:fd#1024:\ | |||
:pe#299008:oe#1130496:be#8192:fe#1024:\ | |||
:pf#524546:of#1429504:bf#8192:ff#1024:\ | |||
:pg#614400:og#217088:bg#8192:fg#1024:\ | |||
:ph#1122562:oh#831488:bh#8192:fh#1024: | |||
# NOTE: The RZ58 uses a recording technique called zoned recording. | |||
# Using this technique, the number of sectors per track will vary | |||
# depending on what zone of the disk is in use (simply multiplying | |||
# ns*nt*nc does not give true capacity of the drive). The ns (number | |||
# of sectors per track) is calculated by "ns = total sectors/(nt*nc)" | |||
# and is a rounded value. Therefore, the value "ns" is an approximation, | |||
# not a true representation, of what is stored on disk. | |||
# | |||
# The 'c' partition listed below gives the true size of the RZ58 | |||
# (this information can be obtained by use of the DEVGETGEOM ioctl). | |||
# | |||
rz58|RZ58|DEC RZ58 Winchester:\ | |||
:ty=winchester:ns#85:nt#15:nc#2112:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\ | |||
:pc#2698061:oc#0:bc#8192:fc#1024:\ | |||
:pd#844800:od#163840:bd#8192:fd#1024:\ | |||
:pe#844800:oe#1008640:be#8192:fe#1024:\ | |||
:pf#844620:of#1853440:bf#8192:ff#1024:\ | |||
:pg#819200:og#163840:bg#8192:fg#1024:\ | |||
:ph#1715019:oh#983040:bh#8192:fh#1024: | |||
xt8760|XT8760|Maxtor XT8760 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#54:nt#15:nc#1616:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1308930:oc#0:bc#8192:fc#1024:\ | |||
:pd#152446:od#163840:bd#8192:fd#1024:\ | |||
:pe#152446:oe#316286:be#8192:fe#1024:\ | |||
:pf#840198:of#468732:bf#8192:ff#1024:\ | |||
:pg#1145090:og#163840:bg#8192:fg#1024: | |||
ep976|EP976|EPSON HMD-976 Winchester:\ | |||
:dt=SCSI:ty=winchester:ns#34:nt#6:nc#670:\ | |||
:pa#32768:oa#0:ba#8192:fa#1024:\ | |||
:pb#69664:ob#32768:bb#8192:fb#1024:tb=swap:\ | |||
:pc#136680:oc#0:bc#8192:fc#1024:\ | |||
:pg#34248:og#102432:bg#8192:fg#1024: |
@ -0,0 +1,3 @@ | |||
/dev/rz0a / ffs rw 1 1 | |||
#/dev/rz0d /var ffs rw 1 2 | |||
#/dev/rz0h /usr ffs rw 1 3 |
@ -0,0 +1,47 @@ | |||
# | |||
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# $Id: ttys,v 1.1.1.1 1995/10/18 08:38:01 deraadt Exp $ | |||
# | |||
# name getty type status comments | |||
# | |||
console "/usr/libexec/getty std.9600" unknown on secure | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,299 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# std standard devices | |||
# local configuration specific devices | |||
# Tapes: | |||
# st* ? tape | |||
# Disks: | |||
# sd* SCSI disks | |||
# cd* SCSI cdrom drives | |||
# st* SCSI tape | |||
# ch* SCSI changer | |||
# xy* Xylogic 450/451 disks | |||
# xd* Xylogic 753/7053 disks | |||
# fd* Floppies | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk devices | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# Printers: | |||
# Call units: | |||
# Special purpose devices: | |||
# audio | |||
# openprom | |||
# bwtwo* | |||
# cgthree* | |||
# cgfour* | |||
# cgsix* | |||
# cgeight* | |||
# bpf* packet filter | |||
# lkm loadable kernel modules interface | |||
# tun* network tunnel driver | |||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:/usr/etc | |||
umask 77 | |||
for i | |||
do | |||
unit=`expr $i : '[a-z][a-z]*\([0-9][0-9]*\)'` | |||
[ "$unit" ] || unit=0 | |||
case $i in | |||
all) | |||
sh MAKEDEV std sd0 sd1 sd2 sd3 sd4 xd0 xd1 xd2 xd3 xy0 xy1 xy2 xy3 | |||
sh MAKEDEV cd0 st0 st1 fd0 | |||
sh MAKEDEV pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3 | |||
sh MAKEDEV ccd0 ccd1 ccd2 ccd3 | |||
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bwtwo0 cgthree0 cgfour0 cgsix0 | |||
sh MAKEDEV cgeight0 | |||
sh MAKEDEV lkm local | |||
;; | |||
std) | |||
mknod console c 0 0 | |||
mknod tty c 2 0 ; chmod 666 tty | |||
mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 3 2 ; chmod 666 null | |||
mknod zero c 3 12 ; chmod 666 zero | |||
mknod eeprom c 3 11 ; chmod 640 eeprom ; chgrp kmem eeprom | |||
mknod openprom c 70 0 ; chmod 644 openprom | |||
mknod drum c 7 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod klog c 16 0 ; chmod 600 klog | |||
mknod stdin c 24 0 ; chmod 666 stdin | |||
mknod stdout c 24 1 ; chmod 666 stdout | |||
mknod stderr c 24 2 ; chmod 666 stderr | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 24 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
mknod ttya c 12 0 | |||
mknod ttyb c 12 1 | |||
mknod fb c 22 0 ; chmod 666 fb | |||
mknod mouse c 13 0 ; chmod 666 mouse | |||
mknod kbd c 29 0 ; chmod 666 kbd | |||
;; | |||
bwtwo*) | |||
mknod bwtwo$unit c 27 $unit; chmod 666 bwtwo$unit | |||
;; | |||
cgthree*) | |||
mknod cgthree$unit c 55 $unit; chmod 666 cgthree$unit | |||
;; | |||
cgfour*) | |||
mknod cgfour$unit c 39 $unit; chmod 666 cgfour$unit | |||
;; | |||
cgsix*) | |||
mknod cgsix$unit c 67 $unit; chmod 666 cgsix$unit | |||
;; | |||
cgeight*) | |||
mknod cgeight$unit c 64 $unit; chmod 666 cgeight$unit | |||
;; | |||
audio) | |||
mknod audio c 69 0; chmod 666 audio | |||
;; | |||
openprom) | |||
mknod openprom c 70 0; chmod 600 openprom | |||
;; | |||
bpf*) | |||
rm -f bpf$unit | |||
mknod bpf$unit c 105 $unit | |||
chmod 600 bpf$unit | |||
chown root.wheel bpf$unit | |||
;; | |||
tun*) | |||
rm -f tun$unit | |||
mknod tun$unit c 111 $unit | |||
chmod 600 tun$unit | |||
chown root.wheel tun$unit | |||
;; | |||
vnd*) | |||
name=vnd; blk=8; chr=110 | |||
rm -f ${name}${unit}c r${name}${unit}c | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
chgrp operator ${name}${unit}c r${name}${unit}c | |||
chmod 640 ${name}${unit}c r${name}${unit}c | |||
;; | |||
ccd*|fd*|sd*|xd*|xy*) | |||
umask 2 | |||
case $i in | |||
ccd*) name=ccd; blk=9; chr=23;; | |||
fd*) name=fd; blk=16; chr=54;; | |||
sd*) name=sd; blk=7; chr=17;; | |||
xd*) name=xd; blk=10; chr=42;; | |||
xy*) name=xy; blk=3; chr=9;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\ | |||
17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
st*) | |||
umask 2 | |||
case $i in | |||
st*) name=st; blk=11; chr=18;; | |||
esac | |||
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ | |||
r$name$unit nr$name$unit er$name$unit enr$name$unit | |||
mknod ${name}${unit} b $blk `expr $unit '*' 16 + 0` | |||
mknod n${name}${unit} b $blk `expr $unit '*' 16 + 1` | |||
mknod e${name}${unit} b $blk `expr $unit '*' 16 + 2` | |||
mknod en${name}${unit} b $blk `expr $unit '*' 16 + 3` | |||
mknod r${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1` | |||
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2` | |||
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3` | |||
chgrp operator ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
chmod 640 ${name}${unit} n${name}${unit} \ | |||
e$name$unit en$name$unit \ | |||
r${name}${unit} nr${name}${unit} \ | |||
er${name}${unit} enr${name}${unit} | |||
umask 77 | |||
;; | |||
ch*) | |||
umask 2 | |||
case $i in | |||
ch*) name=ch; chr=19;; | |||
esac | |||
rm -f $name$unit | |||
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0` | |||
chgrp operator ${name}${unit} | |||
chmod 640 ${name}${unit} | |||
umask 77 | |||
;; | |||
cd*) | |||
umask 2 | |||
case $i in | |||
cd*) name=cd; blk=18; chr=58;; | |||
esac | |||
rm -f $name$unit? r$name$unit? | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
umask 77 | |||
;; | |||
lkm) | |||
rm -f lkm | |||
mknod lkm c 112 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
pty*) | |||
case $unit in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("mknod tty%s%x c 20 %d; \ | |||
mknod pty%s%x c 21 %d; ", \ | |||
n, i, b+i, n, i, b+i); }'` | |||
umask 77 | |||
if [ $unit = 1 ]; then | |||
mv ttyqf ttyv0; mv ptyqf ptyv0 | |||
fi | |||
;; | |||
esac | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done |
@ -0,0 +1,27 @@ | |||
# | |||
# etc.sparc/Makefile.inc -- sparc-specific etc Makefile targets | |||
# | |||
# $Id: Makefile.inc,v 1.1.1.1 1995/10/18 08:38:01 deraadt Exp $ | |||
.ifdef DESTDIR | |||
snap_md: netbsd netbsd.scsi3 inst | |||
cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC/netbsd \ | |||
${DESTDIR}/snapshot/netbsd | |||
cp ${.CURDIR}/../sys/arch/sparc/compile/GENERIC_SCSI3/netbsd \ | |||
${DESTDIR}/snapshot/netbsd.scsi3 | |||
netbsd: | |||
cd ${.CURDIR}/../sys/arch/sparc/conf && config GENERIC | |||
cd ${.CURDIR}/../sys/arch/sparc/compile/GENERIC && \ | |||
make clean && make depend && make | |||
netbsd.scsi3: | |||
cd ${.CURDIR}/../sys/arch/sparc/conf && config GENERIC_SCSI3 | |||
cd ${.CURDIR}/../sys/arch/sparc/compile/GENERIC_SCSI3 && \ | |||
make clean && make depend && make | |||
inst: | |||
cp ${.CURDIR}/etc.sparc/README ${DESTDIR}/snapshot/README | |||
cp ${.CURDIR}/etc.sparc/install.sh ${DESTDIR}/snapshot/install.sh | |||
.endif # DESTDIR check |
@ -0,0 +1,118 @@ | |||
# $Id: README,v 1.1.1.1 1995/10/18 08:38:01 deraadt Exp $ | |||
Initial test versions of a NetBSD/sparc binaries install are available | |||
at | |||
ftp.iastate.edu:/pub/netbsd/NetBSD-current/binaries/sparc | |||
sun-lamp.cs.berkeley.edu:pub/NetBSD/arch/sparc | |||
ftp.wonderland.org:NetBSD/arch/sparc [UK] | |||
ftp.informatik.tu-muenchen.de:\ | |||
/pub/comp/os/bsd/NetBSD/NetBSD-current/binaries/sparc | |||
and many other NetBSD mirror sites. Some mirror sites may take a day | |||
or two to catch up. | |||
The NetBSD/sparc port runs on sun4c class machines, ie. the | |||
SS 1, 1+, 2, IPC, IPX, SLC, and ELC. it does not run on the | |||
server-series machines, or the SS10-series machines. | |||
The ftp directory contains a number of very large .tar.gz files in there, | |||
as well as this document and a helper install script. | |||
NOTE: THESE INSTRUCTIONS MAY CHANGE WITH EACH SNAPSHOT. | |||
Until there are better instructions written, here's a rough idea: | |||
1. format and partition the disk using sunos. yup, NetBSD/sparc uses | |||
sunos disk labels. i am running a quantum 105 with these partition | |||
sizes: | |||
a: 28140 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 133) | |||
b: 16170 28140 unused 0 0 # (Cyl. 134 - 210) | |||
c: 204540 0 unused 0 0 # (Cyl. 0 - 973) | |||
g: 160230 44310 4.2BSD 1024 8192 16 # (Cyl. 211 - 973) | |||
Filesystem 512-blocks Used Avail Capacity Mounted on | |||
/dev/sd0a 26090 18846 4634 80% / | |||
/dev/sd0g 149444 131496 3002 98% /usr | |||
amd:43 0 0 0 100% /home | |||
gecko:/usr/src 1549722 851783 542966 61% /usr/src | |||
komodo:/usr/local 269346 243428 -1016 100% /usr/local | |||
newt:/newt.usera 1128328 836910 178584 82% /tmp_mnt/newt/newt.usera | |||
2. newfs it using sunos. yup, the filesystem format is identical. | |||
UFS hasn't changed much over the years. (If you can, there is | |||
a performance benefit from newfs'ing using NetBSD.) | |||
If you newfs using the NetBSD newfs command, be sure to use -O | |||
to specify the `4.3BSD filesystem format' for your / partition, | |||
otherwise you will not be able to boot. The SunOS boot blocks do | |||
not understand the extended 4.4 filesystem format. | |||
3. put a SunOS /boot program in the root partition, and use | |||
"installboot" to cause it to work. the "installboot" man page | |||
says to do something like this: say you are running SunOS, and | |||
the drive you are installing NetBSD/sparc on is currently at | |||
/dev/sd1. You have made the filesystems on that drive already. | |||
# mount /dev/sd1a /mnt | |||
# cp /boot /mnt/boot | |||
# /usr/mdec/installboot -vlt /mnt/boot /usr/mdec/bootsd /dev/rsd1a | |||
4. extract the provided *.tar.gz files onto the disk. the file | |||
"install.sh" will help you do this. | |||
mount your partition(s) in a proper tree starting at /mnt. In the | |||
same directory as your *.tar.gz files are, run "./install.sh". | |||
(Now you may cut the head off the chicken and spray the blood over | |||
your walls and ceiling. :-) | |||
5. copy /mnt/etc/fstab.sd to /mnt/etc/fstab and edit to match your | |||
disk layout. | |||
6. the install script copies the kernel called "netbsd.scsi3" to | |||
/mnt/netbsd. Two sample kernels are supplied: "netbsd" and | |||
"netbsd.scsi3". | |||
Unlike SunOS and the ROM, NetBSD numbers scsi drives sequentially | |||
as it finds them. The drive with the lowest scsi-id will be called | |||
sd0. SunOS and the ROM map normally map sd0 to scsi-id 3. Thus, if | |||
you have two drives, it's quite likely that NetBSD will disagree with | |||
the ROM. | |||
The "netbsd.scsi3" kernel gets around this problem, by hard-wiring | |||
scsi-id#3 to sd0. The remaining drives will be dynamically mapped | |||
to other sd* numbers. If you have more than one drive you will | |||
want to use this kernel. | |||
the "netbsd" kernel expects your root drive to be at the standard | |||
SunOS sd0==scsi-id#3 location. If you have a second drive at any | |||
of scsi-id's 0, 1, or 2, this kernel will NOT work for you. If you | |||
know what you are doing, you could use this kernel. | |||
7. your ROM may need some setup. make sure you boot from `new command mode'. | |||
If your machine comes up and gives you a `>' prompt instead of `ok', type: | |||
>n | |||
ok setenv sunmon-compat? false | |||
ok | |||
this is needed because netbsd cannot handle the old-mode yet, | |||
and will firework on you. | |||
you cannot use the security modes of the sparc ROM. sorry, same | |||
problem as above. | |||
ok setenv security-mode none | |||
8. if needed, swap your scsi id's. now try a reboot. initially I'd | |||
suggest you boot "-bs", then try multiuser after that. if you boot | |||
single-user the netbsd incantation for making root read-write | |||
is "mount -u /dev/sd0a /". alternatively, the command reboot is | |||
found in /sbin. | |||
9. to boot from netbsd by default, tell something like this to your | |||
ROM. | |||
>n | |||
ok setenv boot-from sd(0,0,0)netbsd | |||
ok | |||
please let me know of any errors in these instructions or in the | |||
archives. if so i'll correct them. | |||
good luck. | |||
<deraadt@fsa.ca> |
@ -0,0 +1,2 @@ | |||
# $Id: disktab,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
# Sparc has no need for disktab (yet) |
@ -0,0 +1,3 @@ | |||
/dev/sd0a / ffs rw 1 1 | |||
/dev/sd0b none swap sw 0 0 | |||
/dev/sd0g /usr ffs rw 1 2 |
@ -0,0 +1,20 @@ | |||
#!/bin/sh | |||
# $Id: install.sh,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
umask 0 | |||
cat ./bin.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./etc.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./sbin.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.bin.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.games.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.include.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.lib.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.libexec.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.misc.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.sbin.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./usr.share.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./var.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cat ./dev.tar.gz | gzip -d | (cd /mnt; tar xvpf -) | |||
cp ./netbsd.scsi3 /mnt/netbsd | |||
chmod 640 /mnt/netbsd; chown root.kmem /mnt/netbsd | |||
cd /mnt/dev; ./MAKEDEV all | |||
mv /mnt/etc/fstab.sd /mnt/etc/fstab |
@ -0,0 +1,40 @@ | |||
# | |||
# @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# | |||
# name getty type status comments | |||
# | |||
console "/usr/libexec/getty suncons" sun on secure | |||
ttya "/usr/libexec/getty std.9600" unknown off secure | |||
ttyb "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,213 @@ | |||
#!/bin/sh - | |||
# | |||
# Copyright (c) 1990 The Regents of the University of California. | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. All advertising materials mentioning features or use of this software | |||
# must display the following acknowledgement: | |||
# This product includes software developed by the University of | |||
# California, Berkeley and its contributors. | |||
# 4. Neither the name of the University nor the names of its contributors | |||
# may be used to endorse or promote products derived from this software | |||
# without specific prior written permission. | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |||
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |||
# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |||
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |||
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |||
# SUCH DAMAGE. | |||
# | |||
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 | |||
# $Id: MAKEDEV,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
# | |||
# Device "make" file. Valid arguments: | |||
# std standard devices | |||
# local configuration specific devices | |||
# Tapes: | |||
# st* ? tape | |||
# Disks: | |||
# sd* Sun SCSI disks | |||
# fd* Floppies | |||
# vnd* "file" pseudo-disks | |||
# ccd* concatenated disk driver | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# Printers: | |||
# Call units: | |||
# Special purpose devices: | |||
# bwtwo* | |||
# cgtwo* | |||
# cgfour* | |||
# bpf* packet filter | |||
# lkm loadable kernel modules interface | |||
# tun* network tunnel driver | |||
# rd* RAM-disk | |||
# XXX - Keep /usr/etc so SunOS can find chown | |||
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/etc | |||
umask 77 | |||
# set this to echo for Echo-Only debugging | |||
eo= | |||
# mk name b/c major minor [mode] [group] | |||
mk() { | |||
$eo mknod $1 $2 $3 $4 | |||
$eo chmod ${5-666} $1 | |||
test -n "$6" && $eo chgrp $6 $1 | |||
return 0 | |||
} | |||
for arg | |||
do | |||
unit=`expr $arg : '[a-z][a-z]*\([0-9][0-9]*\)'` | |||
[ "$unit" ] || unit=0 | |||
case $arg in | |||
all) | |||
sh MAKEDEV std sd0 sd1 sd2 sd3 st0 st1 pty0 | |||
;; | |||
std) | |||
mk console c 0 0 622 | |||
mk kd c 1 0 622 | |||
mk tty c 2 0 | |||
mk mem c 3 0 640 kmem | |||
mk kmem c 3 1 640 kmem | |||
mk null c 3 2 | |||
mk eeprom c 3 11 640 kmem | |||
mk zero c 3 12 | |||
mk drum c 7 0 640 kmem | |||
mk ttya c 12 0 | |||
mk ttyb c 12 1 | |||
mk mouse c 13 0 | |||
mk klog c 16 0 600 | |||
mk fb c 22 0 | |||
mk kbd c 29 0 | |||
;; | |||
fd) | |||
mkdir fd >/dev/null 2>&1 | |||
i=0 ; while [ $i != 64 ] | |||
do | |||
mk fd/$i c 23 $i | |||
i=`expr $i + 1` | |||
done | |||
;; | |||
bpf*) | |||
mk bpf$unit c 36 $unit 600 | |||
;; | |||
tun*) | |||
mk tun$unit c 24 $unit 600 | |||
;; | |||
pty*) | |||
case $unit in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
# Note that telnetd, rlogind, and xterm (at least) only look at p-s. | |||
4) offset=64 name=t;; | |||
*) echo bad unit for pty in: $arg;; | |||
esac | |||
for pair in 0.0 1.1 2.2 3.3 4.4 5.5 6.6 7.7 \ | |||
8.8 9.9 a.10 b.11 c.12 d.13 e.14 f.15 | |||
do | |||
( | |||
tmp="$IFS" ; IFS="$IFS." | |||
set -- $pair | |||
IFS="$tmp" ; unset tmp | |||
minor=`expr $offset + $2` | |||
mk tty$name$1 c 20 $minor | |||
mk pty$name$1 c 21 $minor | |||
) | |||
done | |||
;; | |||
cd*|sd*|xy*|vnd*|ccd*) | |||
case $arg in | |||
cd*) name=cd; blk=18; chr=58;; | |||
sd*) name=sd; blk=7; chr=17;; | |||
xy*) name=xy; blk=3; chr=9 ;; | |||
vnd*) name=vnd; blk=5; chr=19;; | |||
ccd*) name=ccd; blk=9; chr=33;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4) offset=`expr $unit \* 8`;; | |||
*) echo bad unit for $name in: $arg;; | |||
esac | |||
for part in a.0 b.1 c.2 d.3 e.4 f.5 g.6 h.7 | |||
do | |||
( | |||
tmp="$IFS" ; IFS="$IFS." | |||
set -- $part | |||
IFS="$tmp" ; unset tmp | |||
minor=`expr $offset + $2` | |||
mk $name$unit$1 b $blk $minor 640 operator | |||
mk r$name$unit$1 c $chr $minor 640 operator | |||
) | |||
done | |||
;; | |||
st*) | |||
name=st; blk=11; chr=18; | |||
case $unit in | |||
0|1|2|3) offset=`expr $unit \* 16`;; | |||
*) echo bad unit for $name in: $arg;; | |||
esac | |||
mk r$name$unit c $chr `expr $offset + 0` | |||
mk nr$name$unit c $chr `expr $offset + 1` | |||
mk er$name$unit c $chr `expr $offset + 2` | |||
mk enr$name$unit c $chr `expr $offset + 3` | |||
;; | |||
bwtwo*) | |||
mk bwtwo$unit c 27 $unit | |||
;; | |||
cgtwo*) | |||
mk cgtwo$unit c 31 $unit | |||
;; | |||
cgfour*) | |||
mk cgfour$unit c 39 $unit | |||
;; | |||
rd*) | |||
mk rd$unit b 13 $unit | |||
# mk rrd$unit b 13 `expr $unit + 16` | |||
mk rd${unit}c b 13 `expr $unit + 16` | |||
;; | |||
local) | |||
umask 0 | |||
sh MAKEDEV.local | |||
;; | |||
*) | |||
echo $arg: unknown device | |||
;; | |||
esac | |||
done | |||
@ -0,0 +1,20 @@ | |||
# | |||
# etc.sun3/Makefile.inc -- sun3-specific etc Makefile targets | |||
# | |||
# $Id: Makefile.inc,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
.ifdef DESTDIR | |||
snap_md: netbsd-gen netbsd-dl | |||
cp -p ${.CURDIR}/etc.sun3/README ${DESTDIR}/snapshot/README | |||
netbsd-gen: | |||
cd ${.CURDIR}/../sys/arch/sun3/compile/GENERIC && make | |||
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/GENERIC/netbsd \ | |||
> ${DESTDIR}/snapshot/netbsd-gen.gz | |||
netbsd-dl: | |||
cd ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS && make | |||
gzip -9 < ${.CURDIR}/../sys/arch/sun3/compile/DISKLESS/netbsd \ | |||
> ${DESTDIR}/snapshot/netbsd-dl.gz | |||
.endif # DESTDIR check |
@ -0,0 +1,51 @@ | |||
# $Id: README,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ -*- text -*- | |||
NetBSD/Sun3 Binary Snapshot | |||
This FTP directory contains a binary snapshot of NetBSD/Sun3. | |||
The NetBSD/sun3 port runs on most Sun3 machines, including: | |||
Sun3/{50,60,110,160,260} | |||
Devices currently supported include: | |||
Intel Ether (ie), on-board or VME | |||
Lance Ether (le), on-board | |||
SCSI (sd,st,...), on-board or VME | |||
keyboard/display console | |||
serial port (ttya/ttyb) console | |||
Other Features: | |||
Generic kernel supports root on: sd[0123], ie0, le0 | |||
Kernel debugger included (ddb) | |||
Runs SunOS binaries (see sparc sun shared lib notes) | |||
There's still a lot left to do (see doc/sun3/TODO). | |||
Before using the files in this directory, you should start by | |||
unpacking doc.shar and reading all the files it contains. | |||
Suggested reading order is: | |||
doc/sun3/README | |||
doc/sun3/STATUS | |||
doc/sun3/INSTALL | |||
doc/sun3/SUP | |||
doc/sun3/BUILDING | |||
doc/sun3/TODO | |||
To use this, all you need to do it unpack everything onto the | |||
disk that will be used for root and usr, which can be either a | |||
real disk or some part of your NFS server. | |||
REMEMBER: run dev/MAKEDEV after you unpack things! | |||
(cd dev ; MAKEDEV std) | |||
If you have any questions or comments about this port please | |||
send mail to the list: <port-sun3@netbsd.org> | |||
If you'd like to help, send me mail at <gwr@netbsd.org> | |||
so I can coordinate efforts. | |||
Enjoy! | |||
Gordon Ross |
@ -0,0 +1,42 @@ | |||
# | |||
# $NetBSD: disktab,v 1.2 1995/10/08 23:26:03 gwr Exp $ | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, ns*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# | |||
# All partition sizes reserve space for bad sector tables. | |||
# (5 cylinders needed for maintenance + replacement sectors) | |||
# | |||
# XXX - Would like :ba#4096:fa#512: but that panics... | |||
# Leave nc=16; adjust size using: ns | |||
rdroot|ramdiskroot|RAM-disk root FS image:\ | |||
:ty=simulated:se#512:nc#16:nt#2:ns#16:\ | |||
:ta=4.4BSD:oa#0:pa#512:\ | |||
:ob#0:pb#0:oc#0:pc#512: | |||
miniroot|Installation root-on-swap FS image:\ | |||
:ty=simulated:se#512:ns#32:nt#8:nc#48:\ | |||
:ta=4.4BSD:oa#0:pa#12288:\ | |||
:ob#0:pb#0:oc#0:pc#12288: |
@ -0,0 +1,2 @@ | |||
server:/export/client/root / nfs rw,-r=1024,-w=1024 | |||
server:/export/netbsd.sun3/usr /usr nfs ro,-r=1024,-w=1024 |
@ -0,0 +1,3 @@ | |||
/dev/sd0a / ufs rw 1 1 | |||
/dev/sd0b none swap sw 0 0 | |||
/dev/sd0g /usr ufs rw 1 2 |
@ -0,0 +1,23 @@ | |||
#!/bin/sh | |||
# $Id: install.sh,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
umask 0 | |||
[ "$TARDIR" ] || { echo "$0: set TARDIR first" ; exit 1; } | |||
while read f | |||
do | |||
gzip -d < $TARDIR/$f | tar xvpf - | |||
done << \END_LIST | |||
etc.tar.gz | |||
dev.tar.gz | |||
var.tar.gz | |||
bin.tar.gz | |||
sbin.tar.gz | |||
usr.bin.tar.gz | |||
usr.games.tar.gz | |||
usr.include.tar.gz | |||
usr.lib.tar.gz | |||
usr.libexec.tar.gz | |||
usr.misc.tar.gz | |||
usr.sbin.tar.gz | |||
usr.share.tar.gz | |||
END_LIST |
@ -0,0 +1,46 @@ | |||
# | |||
# @(#)ttys 5.1 (Berkeley) 4/17/89 | |||
# $Id: ttys,v 1.1.1.1 1995/10/18 08:38:02 deraadt Exp $ | |||
# | |||
# name getty type status comments | |||
# | |||
# Note: you may want to change the "default" entry in /etc/gettytab | |||
# to make "no parity" the default (add the :np: flag). | |||
# | |||
# Also: the console is one of: kd, ttya, ttyb | |||
console "/usr/libexec/getty std.9600" sun off secure | |||
kd "/usr/libexec/getty std.9600" sun on secure | |||
ttya "/usr/libexec/getty std.9600" unknown on secure | |||
ttyb "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,79 @@ | |||
#!/bin/sh - | |||
# $NetBSD: SVR4_MAKEDEV,v 1.1 1995/07/02 06:29:46 christos Exp $ | |||
# | |||
# Copyright (c) 1995 Christos Zoulas | |||
# All rights reserved. | |||
# | |||
# Redistribution and use in source and binary forms, with or without | |||
# modification, are permitted provided that the following conditions | |||
# are met: | |||
# 1. Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. | |||
# 2. Redistributions in binary form must reproduce the above copyright | |||
# notice, this list of conditions and the following disclaimer in the | |||
# documentation and/or other materials provided with the distribution. | |||
# 3. The name of the author may not be used to endorse or promote products | |||
# derived from this software without specific prior written permission | |||
# | |||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | |||
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | |||
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | |||
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | |||
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | |||
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | |||
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |||
# | |||
# Device "make" file. Valid arguments: | |||
# all everything | |||
# Network: | |||
# udp UDP socket creation | |||
# tcp TCP socket creation | |||
# ticotsord XXX: tcp for now | |||
# Various: | |||
# wabi Windows emulation; /dev/null for now | |||
# | |||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:/usr/etc | |||
umask 77 | |||
for i | |||
do | |||
unit=`expr $i : '[a-z][a-z]*\([0-9][0-9]*\)'` | |||
[ "$unit" ] || unit=0 | |||
case $i in | |||
all) | |||
sh SVR4_MAKEDEV tcp udp wabi ticotsord | |||
;; | |||
tcp) | |||
mknod $i c 43 35 | |||
chown bin.bin $i | |||
chmod 666 $i | |||
;; | |||
udp) | |||
mknod udp c 43 36 | |||
chown bin.bin $i | |||
chmod 666 $i | |||
;; | |||
wabi) | |||
mknod $i c 3 2 # /dev/null | |||
chown bin.bin $i | |||
chmod 666 $i | |||
;; | |||
ticotsord) | |||
mknod $i c 43 35 # /dev/tcp | |||
chown bin.bin $i | |||
chmod 666 $i | |||
;; | |||
*) | |||
echo $i: unknown device | |||
;; | |||
esac | |||
done | |||
@ -0,0 +1,7 @@ | |||
# $NetBSD: netconfig,v 1.1 1995/07/02 06:29:49 christos Exp $ | |||
# SVR4 Network configuration file | |||
# | |||
# service name fl family proto device library | |||
udp tpi_clts v inet udp /dev/udp - | |||
tcp tpi_cots_ord v inet tcp /dev/tcp - | |||
ticotsord tpi_cots_ord v loopback - /dev/ticotsord straddr.so |
@ -0,0 +1,15 @@ | |||
# $NetBSD: nsswitch.conf,v 1.1 1995/07/02 06:29:51 christos Exp $ | |||
# Name service switch file | |||
# | |||
hosts: dns files | |||
networks: nis files | |||
protocols: nis files | |||
ethers: nis files | |||
rpc: nis files | |||
netmasks: nis files | |||
bootparams: nis files | |||
services: files nis | |||
# | |||
passwd: files nis | |||
group: files nis | |||
netgroup: nis files |
@ -0,0 +1,387 @@ | |||
#!/bin/sh - | |||
# $NetBSD: MAKEDEV,v 1.2 1995/09/05 19:53:01 ragge Exp $ | |||
# | |||
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 | |||
# | |||
# Device "make" file. Valid arguments: | |||
# std standard devices | |||
# local configuration specific devices | |||
# Tapes: | |||
# ht* massbus tm03 & tu?? | |||
# tm* unibus tm11 & te10 emulations (e.g. Emulex tc-11) | |||
# tms* unibus/qbus TMSCP (e.g. TU81, TK50) | |||
# ts* unibus ts11 | |||
# mt* massbus tu78 | |||
# ut* unibus tu45 emulations (e.g.si 9700) | |||
# uu* tu58 cassettes on dl11 controller | |||
# Disks: | |||
# hp* massbus rm?? | |||
# hk* unibus rk06 and rk07 | |||
# up* other unibus devices (e.g. on Emulex sc-21v controller) | |||
# ra* unibus uda50 w/ ra?? | |||
# kra* bi kdb50 w/ ra?? | |||
# rl* unibus rl02 | |||
# rb* 730 idc w/ rb80 and/or rb02 | |||
# rx* unibus rx211 floppy disk | |||
# ccd* "concatenated" pseudo-disks | |||
# vnd* "file" pseudo-disks | |||
# Terminal multiplexors: | |||
# dz* unibus dz11 and dz32 | |||
# dh* unibus dh11 and emulations (e.g. Able dmax, Emulex cs-11) | |||
# dmf* unibus dmf32 | |||
# dhu* unibus dhu11 | |||
# dmz* unibus dmz32 | |||
# Pseudo terminals: | |||
# pty* set of 16 master and slave pseudo terminals | |||
# Printers: | |||
# ct* unibus parallel interface to CAT typesetter | |||
# lp* unibus lp11 parallel interface | |||
# va* unibus varian parallel interface | |||
# vp* unibus versatec parallel interface | |||
# Call units: | |||
# dn* unibus dn11 and emulations (e.g. Able Quadracall) | |||
# Special purpose devices: | |||
# ik* unibus interface to ikonas frame buffer | |||
# ps* unibus interface to e&s picture system 2 | |||
# ad* unibus interface to data translation a/d converter | |||
# np* unibus ethernet co-processor interface, for downloading. | |||
# qv* qvss (microvax) display | |||
# ttyv0 qvss (microvax) display reserved pty | |||
# lkm loadable kernel modules | |||
PATH=/sbin:/bin:/usr/bin | |||
umask 77 | |||
for i | |||
do | |||
case $i in | |||
std) | |||
mknod console c 0 0 | |||
mknod drum c 7 0 ; chmod 640 drum ; chgrp kmem drum | |||
mknod floppy c 8 0 | |||
mknod crl c 35 0 | |||
mknod csa1 c 51 0 | |||
mknod csa2 c 51 1 | |||
mknod tu0 b 8 0 | |||
mknod tu1 b 8 1 | |||
mknod kUmem c 3 3 ; chmod 600 kUmem | |||
mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem | |||
mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem | |||
mknod null c 3 2 ; chmod 666 null | |||
mknod zero c 3 12 ; chmod 666 zero | |||
mknod tty c 2 0 ; chmod 666 tty | |||
mknod klog c 33 0 ; chmod 600 klog | |||
mknod stdin c 53 0 ; chmod 666 stdin | |||
mknod stdout c 53 1 ; chmod 666 stdout | |||
mknod stderr c 53 2 ; chmod 666 stderr | |||
mkdir fd > /dev/null 2>&1 | |||
(cd fd && eval `echo "" | awk ' BEGIN { \ | |||
for (i = 0; i < 64; i++) \ | |||
printf("mknod %d c 53 %d;", i, i)}'`) | |||
chown -R bin.bin fd | |||
chmod 555 fd | |||
chmod 666 fd/* | |||
;; | |||
ht*|tm*|tms*|ts*|ut*) | |||
umask 0 ; unit=`expr $i : '[^0-9]*\(.*\)'` | |||
case $i in | |||
ht*) blk=1; chr=5 ;; | |||
tms*) blk=15; chr=38;; | |||
tm*) blk=5; chr=14;; | |||
ts*) blk=6; chr=16;; | |||
ut*) blk=10; chr=17;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
four=`expr $unit + 4` ; eight=`expr $unit + 8` | |||
twelve=`expr $unit + 12`; twenty=`expr $unit + 20` | |||
mknod mt$unit b $blk $unit | |||
mknod mt$four b $blk $four | |||
mknod mt$eight b $blk $eight | |||
mknod mt$twelve b $blk $twelve | |||
mknod nmt$unit b $blk $four ;: sanity w/pdp11 v7 | |||
mknod nmt$eight b $blk $twelve ;: ditto | |||
mknod nrmt$unit c $chr $four ;: sanity w/pdp11 v7 | |||
mknod nrmt$eight c $chr $twelve ;: ditto | |||
mknod rmt$unit c $chr $unit | |||
mknod rmt$four c $chr $four | |||
mknod rmt$eight c $chr $eight | |||
mknod rmt$twelve c $chr $twelve | |||
if [ $i = ut ] | |||
then | |||
mknod mt$twenty b $blk $twenty | |||
mknod rmt$twenty c $chr $twenty | |||
fi | |||
;; | |||
*) | |||
echo bad unit for tape in: $1 | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
mt*) | |||
umask 0 ; unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
mt*) blk=7; chr=19;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
eight=`expr $unit + 0`; | |||
twelve=`expr $unit + 4`; | |||
sixteen=`expr $unit + 8`; | |||
twenty=`expr $unit + 12`; | |||
mknod mt8 b $blk $eight | |||
mknod mt12 b $blk $twelve | |||
mknod mt16 b $blk $sixteen | |||
mknod mt20 b $blk $twenty | |||
mknod nmt8 b $blk $twelve ;: ditto | |||
mknod nrmt8 c $chr $twelve ;: ditto | |||
mknod rmt8 c $chr $eight | |||
mknod rmt12 c $chr $twelve | |||
mknod rmt16 c $chr $sixteen | |||
mknod rmt20 c $chr $twenty | |||
mknod nmt16 b $blk $twenty ;: ditto | |||
mknod nrmt16 c $chr $twenty ;: ditto | |||
;; | |||
*) | |||
echo bad unit for tape in: $1 | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
hp*|hk*|up*|ra*|kra*|rl*|rb*|ccd*|vnd*) | |||
umask 2 ; unit=`expr $i : '.*[^0-9]\([0-9]*\)'` | |||
case $i in | |||
hp*) name=hp; blk=0; chr=4;; | |||
hk*) name=hk; blk=3; chr=11;; | |||
up*) name=up; blk=2; chr=13;; | |||
ra*) name=ra; blk=9; chr=9;; | |||
kra*) name=kra; blk=16; chr=52;; | |||
rb*) name=rb; blk=11; chr=23;; | |||
rl*) name=rl; blk=14; chr=32;; | |||
ccd*) name=ccd; blk=17; chr=54;; | |||
vnd*) name=vnd; blk=18; chr=55;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|\ | |||
17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0` | |||
mknod ${name}${unit}b b $blk `expr $unit '*' 8 + 1` | |||
mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` | |||
mknod ${name}${unit}g b $blk `expr $unit '*' 8 + 6` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6` | |||
if [ $name != hk ] | |||
then | |||
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3` | |||
mknod ${name}${unit}e b $blk `expr $unit '*' 8 + 4` | |||
mknod ${name}${unit}f b $blk `expr $unit '*' 8 + 5` | |||
mknod ${name}${unit}h b $blk `expr $unit '*' 8 + 7` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
mknod r${name}${unit}e c $chr `expr $unit '*' 8 + 4` | |||
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5` | |||
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7` | |||
fi | |||
chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] | |||
;; | |||
*) | |||
echo bad unit for disk in: $i | |||
;; | |||
esac | |||
umask 77 | |||
;; | |||
rx*) | |||
unit=`expr $i : '..\(.*\)'` | |||
name=rx; chr=30; blk=12; | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
mknod ${name}${unit} b $blk `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` | |||
mknod r${name}${unit}b c $chr `expr $unit '*' 8 + 1` | |||
mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` | |||
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3` | |||
;; | |||
*) | |||
echo bad unit for floppy disk in: $i | |||
;; | |||
esac | |||
;; | |||
uu*) | |||
unit=`expr $i : '..\(.*\)'` | |||
name=uu; blk=13; | |||
case $unit in | |||
0|1|2|3) | |||
mknod ${name}${unit} b $blk `expr $unit '*' 2 + 0` | |||
mknod ${name}${unit}a b $blk `expr $unit '*' 2 + 1` | |||
;; | |||
*) | |||
echo bad unit for uu cassette in: $i | |||
;; | |||
esac | |||
;; | |||
dz*) | |||
unit=`expr $i : 'dz\(.*\)'` | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
eval `echo $unit | awk ' { u = $1 } END { | |||
for (i = 0; i < 8; i++) | |||
printf("mknod tty%02d c 1 %d; ",u*8+i,u*8+i); }'` | |||
;; | |||
*) | |||
echo bad unit for dz in: $i | |||
;; | |||
esac | |||
;; | |||
dhu*|dh*|dmf*|dmz*) | |||
case $i in | |||
dmz*) name=dmz; major=37; count=24; | |||
unit=`expr $i : "$name\(.*\)"` | |||
case $unit in | |||
0) ch=a ;; 1) ch=b ;; 2) ch=c ;; 3) ch=e ;; | |||
4) ch=f ;; 5) ch=g ;; | |||
*) echo bad unit for $name in: $i ;; | |||
esac;; | |||
dmf*) name=dmf; major=22; count=8; | |||
unit=`expr $i : "$name\(.*\)"` | |||
case $unit in | |||
0) ch=A ;; 1) ch=B ;; 2) ch=C ;; 3) ch=E ;; | |||
4) ch=F ;; 5) ch=G ;; 6) ch=H ;; 7) ch=I ;; | |||
*) echo bad unit for $name in: $i ;; | |||
esac;; | |||
dhu*) name=dhu; major=34; count=16; | |||
unit=`expr $i : "$name\(.*\)"`; | |||
case $unit in | |||
0) ch=S ;; 1) ch=T ;; 2) ch=U ;; 3) ch=V ;; | |||
4) ch=W ;; 5) ch=X ;; 6) ch=Y ;; 7) ch=Z ;; | |||
*) echo bad unit for $name in: $i ;; | |||
esac;; | |||
dh*) name=dh; major=12; count=16; | |||
unit=`expr $i : "$name\(.*\)"` | |||
case $unit in | |||
0) ch=h ;; 1) ch=i ;; 2) ch=j ;; 3) ch=k ;; | |||
4) ch=l ;; 5) ch=m ;; 6) ch=n ;; 7) ch=o ;; | |||
*) echo bad unit for $name in: $i ;; | |||
esac;; | |||
esac | |||
eval `echo $ch $unit $major $count | | |||
awk ' { ch = $1; u = $4 * $2; m = $3; cnt = $4 } END { | |||
for (i = 0; i < cnt; i++) | |||
if (i < 10) | |||
printf("mknod tty%s%x c %d %d; ",ch,i,m,u+i); | |||
else | |||
printf("mknod tty%s%c c %d %d; ",ch,87+i,m,u+i); }'` | |||
;; | |||
lp*|va*|vp*) | |||
case $i in | |||
lp*) name=lp; major=15;; | |||
va*) name=va; major=10;; | |||
vp*) name=vp; major=6;; | |||
esac | |||
unit=`expr $i : "$name\(.*\)"` | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
mknod $i c $major $unit; | |||
chmod 666 $i | |||
;; | |||
*) | |||
echo bad unit for $name in: $i | |||
;; | |||
esac | |||
;; | |||
pty*) | |||
class=`expr $i : 'pty\(.*\)'` | |||
case $class in | |||
0) offset=0 name=p;; | |||
1) offset=16 name=q;; | |||
2) offset=32 name=r;; | |||
3) offset=48 name=s;; | |||
4) offset=64 name=t;; | |||
5) offset=80 name=u;; | |||
*) echo bad unit for pty in: $i;; | |||
esac | |||
case $class in | |||
0|1|2|3|4|5) | |||
umask 0 | |||
eval `echo $offset $name | awk ' { b=$1; n=$2 } END { | |||
for (i = 0; i < 16; i++) | |||
printf("mknod tty%s%x c 20 %d; \ | |||
mknod pty%s%x c 21 %d; ", \ | |||
n, i, b+i, n, i, b+i); }'` | |||
umask 77 | |||
;; | |||
esac | |||
;; | |||
np*) | |||
class=`expr $i : 'np\(.*\)'` | |||
case $class in | |||
0) offset=0 name=0;; | |||
1) offset=16 name=1;; | |||
2) offset=32 name=2;; | |||
*) echo bad unit for np in: $i;; | |||
esac | |||
case $class in | |||
0|1|2) | |||
eval `echo $offset | awk ' { b=$1 } END { | |||
for (i = 0; i < 4; i++) | |||
printf("mknod np%02d c 39 %d;", \ | |||
b+i, b+i); }'` | |||
;; | |||
esac | |||
;; | |||
dn*|ik*|ps*|ad*|ct*) | |||
unit=`expr $i : '..\(.*\)'` | |||
case $i in | |||
ct*) name=ct; chr=18;; | |||
dn*) name=cu; chr=24;; | |||
ps*) name=ps; chr=27;; | |||
ad*) name=ad; chr=29;; | |||
ik*) name=ik; chr=31;; | |||
esac | |||
case $unit in | |||
0|1|2|3|4|5|6|7) | |||
umask 0 | |||
mknod ${name}${unit} c ${chr} ${unit} | |||
umask 77 | |||
;; | |||
*) | |||
echo bad unit for ${name} in: $i | |||
;; | |||
esac | |||
;; | |||
lkm) | |||
mknod lkm c 28 0 | |||
chown root.kmem lkm | |||
chmod 640 lkm | |||
;; | |||
qv0) | |||
mknod qv0 c 40 0 | |||
mknod qvcons c 40 1 | |||
mknod mouse c 40 2 | |||
;; | |||
ttyv0) | |||
if [ ! -f ttyqe ]; then sh ./MAKEDEV pty1; fi | |||
mv ttyqf ttyv0 | |||
mv ptyqf ptyv0 | |||
;; | |||
local) | |||
sh MAKEDEV.local | |||
;; | |||
esac | |||
done |
@ -0,0 +1,491 @@ | |||
# $NetBSD: disktab,v 1.1 1995/08/25 21:25:11 ragge Exp $ | |||
# | |||
# @(#)disktab 8.1 (Berkeley) 6/9/93 | |||
# | |||
# Disk geometry and partition layout tables. | |||
# Key: | |||
# dt controller type | |||
# ty type of disk (fixed, removeable, simulated) | |||
# d[0-4] drive-type-dependent parameters | |||
# ns #sectors/track | |||
# nt #tracks/cylinder | |||
# nc #cylinders/disk | |||
# sc #sectors/cylinder, nc*nt default | |||
# su #sectors/unit, sc*nc default | |||
# se sector size, DEV_BSIZE default | |||
# rm rpm, 3600 default | |||
# sf supports bad144-style bad sector forwarding | |||
# sk sector skew per track, default 0 | |||
# cs sector skew per cylinder, default 0 | |||
# hs headswitch time, default 0 | |||
# ts one-cylinder seek time, default 0 | |||
# il sector interleave (n:1), 1 default | |||
# bs boot block size, default BBSIZE | |||
# sb superblock size, default SBSIZE | |||
# o[a-h] partition offsets in sectors | |||
# p[a-h] partition sizes in sectors | |||
# b[a-h] partition block sizes in bytes | |||
# f[a-h] partition fragment sizes in bytes | |||
# t[a-h] partition types (filesystem, swap, etc) | |||
# b[0-1] primary and secondary bootstraps, optional | |||
# | |||
# WARNING: | |||
# On drives that contain bad-sector replacement areas, | |||
# `c' partitions DO overlap the bad-sector replacements. | |||
# This may change again. | |||
# Other partitions do not overlap the bad-sector replacement area. | |||
# | |||
# Existing entries may also be used for other compatible drives | |||
# with the same geometry. | |||
# | |||
# Drives on hp | |||
# | |||
# drive-type parameters for SMD disks: | |||
# d0 binary flags: 1=skip-sector support (RM80) | |||
# d1 mindist (closest #sectors from desired for starting transfer) | |||
# d2 maxdist (farthest #sectors from desired for starting transfer) | |||
# d3 sdist (distance from desired sector for search) | |||
# NOTE: c partitions include bad-sector replacement areas! | |||
rm03|RM03|DEC RM03:\ | |||
:ty=removable:ns#32:nt#5:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16000:bb#8192:fb#1024:tb=swap:\ | |||
:pc#131680:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49440:bd#4096:fd#512:\ | |||
:pe#55936:oe#65440:be#8192:fe#1024:\ | |||
:pf#10080:of#121440:bf#8192:ff#1024:\ | |||
:pg#82080:og#49440:bg#8192:fg#1024: | |||
# :pc#131520:oc#0:bc#8192:fc#1024: | |||
rm05|RM05|DEC RM05:\ | |||
:ty=removable:ns#32:nt#19:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16416:bb#8192:fb#1024:tb=swap:\ | |||
:pc#500384:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#341696:bd#4096:fd#512:\ | |||
:pe#55936:oe#358112:be#8192:fe#1024:\ | |||
:pf#86176:of#414048:bf#8192:ff#1024:\ | |||
:pg#158528:og#341696:bg#8192:fg#1024:\ | |||
:ph#291346:oh#49856:bh#8192:fh#1024: | |||
# :pc#500224:oc#0:bc#8192:fc#1024: | |||
rp06|RP06|DEC RP06:\ | |||
:ty=removable:ns#22:nt#19:nc#815:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#340670:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49324:bd#4096:fd#512:\ | |||
:pe#55936:oe#65208:be#8192:fe#1024:\ | |||
:pf#219296:of#121220:bf#8192:ff#1024:\ | |||
:pg#291192:og#49324:bg#8192:fg#1024: | |||
# :pc#340516:oc#0:bc#8192:fc#1024: | |||
rm80|RM80|DEC RM80:\ | |||
:ty=winchester:ns#31:nt#14:nc#559:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16058:bb#8192:fb#1024:tb=swap:\ | |||
:pc#242606:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49910:bd#4096:fd#512:\ | |||
:pe#55936:oe#65968:be#8192:fe#1024:\ | |||
:pf#120466:of#121954:bf#8192:ff#1024:\ | |||
:pg#192510:og#49910:bg#8192:fg#1024: | |||
# :pc#242420:oc#0:bc#8192:fc#1024: | |||
rp05|RP05|DEC RP05:\ | |||
:ty=removable:ns#22:nt#19:nc#411:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#171798:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49324:bd#4096:fd#512:\ | |||
:pe#55936:oe#65208:be#8192:fe#1024:\ | |||
:pf#50424:of#121220:bf#8192:ff#1024:\ | |||
:pg#122320:og#49324:bg#8192:fg#1024: | |||
# :pc#171644:oc#0:bc#8192:fc#1024: | |||
rp07|RP07|DEC RP07:\ | |||
:ty=winchester:ns#50:nt#32:nc#630:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16000:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1008000:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#376000:bd#4096:fd#512:\ | |||
:pe#307200:oe#392000:be#8192:fe#1024:\ | |||
:pf#308600:of#699200:bf#8192:ff#1024:\ | |||
:pg#631800:og#376000:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83200:bh#8192:fh#1024: | |||
# :pc#1007800:oc#0:bc#8192:fc#1024: | |||
ml11|ml11a|ml11b|ML11A|ML11B|DEC disk emulator:\ | |||
:ty=simulated:dt=SMD:ns#1:nt#1:nc#2000: | |||
9775|CDC 9775:\ | |||
:ty=winchester:ns#32:nt#40:nc#842:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16640:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1077760:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#376320:bd#4096:fd#512:\ | |||
:pe#307200:oe#392960:be#8192:fe#1024:\ | |||
:pf#377440:of#700160:bf#8192:ff#1024:\ | |||
:pg#701280:og#376320:bg#8192:fg#1024:\ | |||
:ph#291346:oh#84480:bh#8192:fh#1024: | |||
# :pc#1077600:oc#0:bc#8192:fc#1024: | |||
9730|CDC 9730:\ | |||
:ty=removable:ns#32:nt#10:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16000:bb#8192:fb#1024:tb=swap:\ | |||
:pc#263360:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49600:bd#4096:fd#512:\ | |||
:pe#55936:oe#65600:be#8192:fe#1024:\ | |||
:pf#141600:of#121600:bf#8192:ff#1024:\ | |||
:pg#213600:og#49600:bg#8192:fg#1024: | |||
# :pc#263200:oc#0:bc#8192:fc#1024: | |||
capricorn|330|Capricorn|Ampex Capricorn:\ | |||
:ty=winchester:ns#32:nt#16:nc#1024:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16384:bb#8192:fb#1024:tb=swap:\ | |||
:pc#524488:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#342016:bd#4096:fd#512:\ | |||
:pe#55936:oe#358400:be#8192:fe#1024:\ | |||
:pf#109408:of#414720:bf#8192:ff#1024:\ | |||
:pg#182112:og#342016:bg#8192:fg#1024:\ | |||
:ph#291346:oh#50176:bh#8192:fh#1024: | |||
# :pc#524128:oc#0:bc#8192:fc#1024: | |||
eagle|Eagle|2351|2351A|Fujitsu Eagle 2351A (48 sectors):\ | |||
:ty=winchester:ns#48:nt#20:nc#842:rm#3961:sf:\ | |||
:dt=smd:d0#0:d1#6:d2#17:d3#7:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16320:bb#8192:fb#1024:tb=swap:\ | |||
:pc#808320:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#375360:bd#4096:fd#512:\ | |||
:pe#307200:oe#391680:be#8192:fe#1024:\ | |||
:pf#109248:of#698880:bf#8192:ff#1024:\ | |||
:pg#432768:og#375360:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83520:bh#8192:fh#1024: | |||
# :pc#808128:oc#0:bc#8192:fc#1024: | |||
2361|doubleeagle|Fujitsu 2361 (Double Eagle, 64 sectors):\ | |||
:ty=winchester:ns#64:nt#20:nc#842:sf:\ | |||
:dt=smd:d0#0:d1#6:d2#17:d3#7:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16640:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1077760:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#376320:bd#4096:fd#512:\ | |||
:pe#307200:oe#392960:be#8192:fe#1024:\ | |||
:pf#377408:of#700160:bf#8192:ff#1024:\ | |||
:pg#701248:og#376320:bg#8192:fg#1024:\ | |||
:ph#291346:oh#84480:bh#8192:fh#1024: | |||
# :pc#1077568:oc#0:bc#8192:fc#1024: | |||
2361a|doubleeagle|Fujitsu 2361 (Double Eagle, 68 sectors):\ | |||
:ty=winchester:ns#68:nt#20:nc#842:sf:\ | |||
:dt=smd:d0#0:d1#6:d2#17:d3#7:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16320:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1145120:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#376720:bd#4096:fd#512:\ | |||
:pe#307200:oe#393040:be#8192:fe#1024:\ | |||
:pf#444516:of#700400:bf#8192:ff#1024:\ | |||
:pg#768196:og#376720:bg#8192:fg#1024:\ | |||
:ph#291346:oh#84320:bh#8192:fh#1024: | |||
# :pc#1144916:oc#0:bc#8192:fc#1024: | |||
# | |||
# IDC disks | |||
# | |||
# RL02/RB02 have 256-byte sectors, | |||
# but partitions are still in units of 512-byte sectors | |||
rb02|RB02|DEC RL02 on 730 IDC:\ | |||
:ty=removable:se#256:ns#40:nt#2:nc#512:\ | |||
:dt=old DEC:\ | |||
:pa#15884:oa#0:ba#4096:fa#1024:\ | |||
:pb#4480:ob#16000:bb#4096:fb#512:tb=swap:\ | |||
:pc#20480:oc#0:bc#4096:fc#512: | |||
rb80|RB80|DEC R80 on 730 IDC:\ | |||
:ty=winchester:ns#31:nt#14:nc#559:\ | |||
:dt=old DEC:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16058:bb#8192:fb#1024:tb=swap:\ | |||
:pc#242606:oc#0:bc#8192:fc#1024:\ | |||
:pg#82080:og#49910:bg#4096:fg#512:\ | |||
:ph#192696:oh#132270:bh#8192:fh#1024: | |||
# | |||
# Disks for rk | |||
# | |||
rk06|RK06|DEC RK06:\ | |||
:ty=removable:ns#22:nt#3:nc#411:sf:\ | |||
:dt=old DEC:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#11154:ob#15906:bb#4096:fb#512:tb=swap:\ | |||
:pc#27126:oc#0:bc#4096:fc#512: | |||
# :pc#26978:oc#0:bc#4096:fc#512: | |||
rk07|RK07|DEC RK07:\ | |||
:ty=removable:ns#22:nt#3:nc#815:sf:\ | |||
:dt=old DEC:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#10032:ob#15906:bb#8192:fb#1024:tb=swap:\ | |||
:pc#53790:oc#0:bc#4096:fc#512:\ | |||
:pd#15884:od#25938:bd#4096:fd#512:\ | |||
:pf#11792:of#41844:bf#4096:ff#1024:\ | |||
:pg#27698:og#25938:bg#4096:fg#512: | |||
# :pc#53636:oc#0:bc#4096:fc#512: | |||
# | |||
# Disks normally on up | |||
# | |||
160|fuji|fuji160|Fujitsu 160:\ | |||
:ty=winchester:ns#32:nt#10:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16000:bb#8192:fb#1024:tb=swap:\ | |||
:pc#263360:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49600:bd#4096:fd#512:\ | |||
:pe#55936:oe#65600:be#8192:fe#1024:\ | |||
:pf#141600:of#121600:bf#8192:ff#1024:\ | |||
:pg#213600:og#49600:bg#8192:fg#1024: | |||
# :pc#263200:oc#0:bc#8192:fc#1024: | |||
9300|Ampex 9300:\ | |||
:ty=removable:ns#32:nt#19:nc#815:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16416:bb#8192:fb#1024:tb=swap:\ | |||
:pc#495520:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#341696:bd#4096:fd#512:\ | |||
:pe#55936:oe#358112:be#8192:fe#1024:\ | |||
:pf#81312:of#414048:bf#8192:ff#1024:\ | |||
:pg#153664:og#341696:bg#8192:fg#1024:\ | |||
:ph#291346:oh#49856:bh#8192:fh#1024: | |||
# :pc#495360:oc#0:bc#8192:fc#1024: | |||
9766|CDC 9766:\ | |||
:ty=removable:ns#32:nt#19:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16416:bb#8192:fb#1024:tb=swap:\ | |||
:pc#500384:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#341696:bd#4096:fd#512:\ | |||
:pe#55936:oe#358112:be#8192:fe#1024:\ | |||
:pf#86176:of#414048:bf#8192:ff#1024:\ | |||
:pg#158528:og#341696:bg#8192:fg#1024:\ | |||
:ph#291346:oh#49856:bh#8192:fh#1024: | |||
# :pc#500224:oc#0:bc#8192:fc#1024: | |||
980|9762|AMPEX DM980|CDC 9762:\ | |||
:ty=removable:ns#32:nt#5:nc#823:sf:\ | |||
:dt=smd:d0#0:d1#3:d2#10:d3#6:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#16000:bb#8192:fb#1024:tb=swap:\ | |||
:pc#131680:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49440:bd#4096:fd#512:\ | |||
:pe#55936:oe#65440:be#8192:fe#1024:\ | |||
:pf#10080:of#121440:bf#8192:ff#1024:\ | |||
:pg#82080:og#49440:bg#8192:fg#1024: | |||
# :pc#131520:oc#0:bc#8192:fc#1024: | |||
# | |||
# Disk on a UDA50 | |||
# NOTE: new partition sizes since 4.2. | |||
# | |||
# RA60: standard use a-b-f | |||
# 4.2 compatible use a-b-d-e where 4.2 g == d; 4.2 h == e | |||
# UCB compatible use a-b-h-g where UCB h == h; UCB g == g | |||
ra60|RA60|DEC RA60 Removable:\ | |||
:ty=removable:ns#42:nt#4:nc#2382:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#400176:oc#0:bc#8192:fc#1024:\ | |||
:pd#82080:od#49324:bd#4096:fd#512:\ | |||
:pe#268772:oe#131404:be#4096:fe#512:\ | |||
:pf#350852:of#49324:bf#4096:ff#512:\ | |||
:pg#157570:og#242606:bg#4096:fg#1024:\ | |||
:ph#193282:oh#49324:bh#4096:fh#512: | |||
# | |||
# RA80: standard use a-b-g | |||
# 4.2 compatible use a-b-f-h where 4.2 g == f; 4.2 h == h | |||
# UCB compatible use a-b-e where UCB h == e | |||
ra80|RA80|DEC RA80 Winchester:\ | |||
:ty=winchester:ns#31:nt#14:nc#546:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#236964:oc#0:bc#8192:fc#1024:\ | |||
:pe#187640:oe#49324:be#4096:fe#512:\ | |||
:pf#82080:of#49324:bf#4096:ff#512:\ | |||
:pg#187054:og#49910:bg#4096:fg#1024:\ | |||
:ph#105560:oh#131404:bh#4096:fh#512: | |||
# | |||
# RA81: standard use a-b-h-g or a-b-h-d-e-f | |||
# When compiled as COMPAT_42 d-e-f are used for 4.2 compatible as: | |||
# 4.2 g == d; 4.2 h == e; 4.2 f == f | |||
ra81|RA81|DEC RA81 Winchester:\ | |||
:ty=winchester:ns#51:nt#14:nc#1248:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16422:bb#8192:fb#1024:tb=swap:\ | |||
:pc#891072:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#375564:bd#4096:fd#512:\ | |||
:pe#307200:oe#391986:be#8192:fe#1024:\ | |||
:pf#191352:of#699720:bf#8192:ff#1024:\ | |||
:pg#515508:og#375564:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83538:bh#8192:fh#1024: | |||
# RACOMPAT RA81: should you need to create more of these awful partitions | |||
# When compiled as RACOMPAT d-e-f are used for 4.2 compatible as: | |||
# 4.2 g == d; 4.2 h == e; 4.2 f == f | |||
racompat81|compat_42ra81|COMPAT_42RA81|DEC COMPAT_42RA81 Winchester:\ | |||
:ty=winchester:ns#51:nt#14:nc#1248:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16422:bb#8192:fb#1024:tb=swap:\ | |||
:pc#891072:oc#0:bc#8192:fc#1024:\ | |||
:pd#82080:od#49324:bd#4096:fd#512:\ | |||
:pe#759668:oe#131404:be#4096:fe#512:\ | |||
:pf#478582:of#412490:bf#4096:ff#512: | |||
:pg#515508:og#375564:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83538:bh#8192:fh#1024: | |||
# | |||
# UCB RA81: use a-b-h-g or a-b-h-d-e-f | |||
ucbra81|UCBRA81|DEC UCBRA81 Winchester:\ | |||
:ty=winchester:ns#51:nt#14:nc#1248:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#4096:fb#512:tb=swap:\ | |||
:pc#891072:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#242606:bd#4096:fd#512:\ | |||
:pe#307200:oe#258490:be#8192:fe#1024:\ | |||
:pf#325382:of#565690:bf#4096:ff#512:\ | |||
:pg#648466:og#242606:bg#4096:fg#1024:\ | |||
:ph#193282:oh#49324:bh#4096:fh#512: | |||
# | |||
# RA82: standard, use a-b-h-g or a-b-h-d-e-f | |||
ra82|RA81|DEC RA82 Winchester:\ | |||
:ty=winchester:ns#57:nt#15:nc#1423:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16245:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1216665:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#375345:bd#4096:fd#512:\ | |||
:pe#307200:oe#391590:be#8192:fe#1024:\ | |||
:pf#517275:of#699390:bf#8192:ff#1024:\ | |||
:pg#841320:og#375345:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83790:bh#8192:fh#1024: | |||
# | |||
# RA90 | |||
ra90|RA90|DEC RA90 Winchester:\ | |||
:ty=winchester:ns#69:nt#13:nc#2649:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16146:bb#8192:fb#1024:tb=swap:\ | |||
:pc#2376153:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#374946:bd#4096:fd#512:\ | |||
:pe#307200:oe#391092:be#8192:fe#1024:\ | |||
:pf#1677390:of#698763:bf#8192:ff#1024:\ | |||
:pg#2001207:og#374946:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83421:bh#8192:fh#1024: | |||
# | |||
# RA92 | |||
ra92|RA92|DEC RA92 Winchester:\ | |||
:ty=winchester:ns#69:nt#13:nc#3279:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#16146:bb#8192:fb#1024:tb=swap:\ | |||
:pc#2941263:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#374946:bd#4096:fd#512:\ | |||
:pe#307200:oe#391092:be#8192:fe#1024:\ | |||
:pf#2242500:of#698763:bf#8192:ff#1024:\ | |||
:pg#2566317:og#374946:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83421:bh#8192:fh#1024: | |||
# | |||
# RA70 | |||
ra70|RA70|DEC RA70:\ | |||
:ty=winchester:ns#33:nt#11:nc#1507:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15972:bb#8192:fb#1024:tb=swap:\ | |||
:pc#547041:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#341220:bd#4096:fd#512:\ | |||
:pe#55936:oe#357192:be#8192:fe#1024:\ | |||
:pf#133584:of#413457:bf#8192:ff#1024:\ | |||
:pg#205821:og#341220:bg#8192:fg#1024:\ | |||
:ph#291346:oh#49731:bh#8192:fh#1024: | |||
# | |||
# RC25 | |||
rc25|RC25:\ | |||
:ty=winchester:ns#42:nt#4:nc#302:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#10032:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#50736:oc#0:bc#8192:fc#1024:\ | |||
:pg#24820:og#25916:bg#8192:fg#1024: | |||
# | |||
# Disks on RQDX Q-bus controllers | |||
rd52|RD52|DEC RD52 on Microvax:\ | |||
:ty=winchester:ns#18:nt#7:nc#480:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#4096:fa#1024:\ | |||
:pb#9766:ob#15884:bb#4096:fb#512:tb=swap:\ | |||
:pc#60480:oc#0:bc#4096:fc#512:\ | |||
:pg#34830:og#25650:bg#4096:fg#512:\ | |||
:b0=rdboot: | |||
# | |||
rd53|RD53|DEC RD53 on Microvax:\ | |||
:ty=winchester:ns#18:nt#8:nc#963:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#4096:fb#512:tb=swap:\ | |||
:pc#138672:oc#0:bc#4096:fc#512:\ | |||
:pe#33440:oe#0:be#4096:fe#512:\ | |||
:pf#105232:of#33440:bf#4096:ff#512:\ | |||
:pg#89348:og#49324:bg#4096:fg#512:\ | |||
:ph#122788:oh#15884:bh#4096:fh#512:\ | |||
:b0=rdboot: | |||
# | |||
rd54|RD54|DEC RD54 on Microvax:\ | |||
:ty=winchester:ns#17:nt#15:nc#1225:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#33440:ob#15884:bb#8192:fb#1024:tb=swap:\ | |||
:pc#311200:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#49324:bd#4096:fd#512:\ | |||
:pe#55936:oe#65208:be#8192:fe#1024:\ | |||
:pf#190485:of#121144:bf#8192:ff#1024:\ | |||
:pg#261876:og#49324:bg#8192:fg#1024:\ | |||
:b0=rdboot: | |||
# | |||
qdeagle|qd-eagle|Fujitsu 2351A eagle on QD33 (Microvax):\ | |||
:ty=winchester:ns#47:nt#20:nc#840:\ | |||
:dt=MSCP:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#15980:bb#8192:fb#1024:tb=swap:\ | |||
:pc#787156:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#375060:bd#4096:fd#512:\ | |||
:pe#307200:oe#391040:be#8192:fe#1024:\ | |||
:pf#88736:of#698420:bf#8192:ff#1024:\ | |||
:pg#412096:og#375060:bg#8192:fg#1024:\ | |||
:ph#291346:oh#83660:bh#8192:fh#1024:\ | |||
:b0=rdboot: | |||
# | |||
# RX02 floppy disk drives | |||
# | |||
rx02|RX02|DEC RX02:\ | |||
:ty=removable:ns#13:nt#1:nc#77:\ | |||
:dt=floppy:\ | |||
:pa#1001:oa#0:ba#4096:fa#512: | |||
ncc|nec800|800 Mb NEC:\ | |||
:ty=winchester:ns#66:nt#23:nc#850:rm#3600:se#512:\ | |||
:dt=SMD:\ | |||
:d0#0:d1#40960:\ | |||
:pa#97152:oa#0:ba#8192:fa#1024:\ | |||
:pb#92598:ob#97152:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1092960:oc#189750:bc#8192:fc#1024:\ | |||
:ph#1282710:oh#0:bh#8192:fh#1024: | |||
ncc2|nec2363|1Gb NEC:\ | |||
:ty=winchester:ns#64:nt#27:nc#1024:rm#3600:se#512:\ | |||
:dt=SMD:\ | |||
:d0#0:\ | |||
:pa#15884:oa#0:ba#8192:fa#1024:\ | |||
:pb#66880:ob#17280:bb#8192:fb#1024:tb=swap:\ | |||
:pc#1769472:oc#0:bc#8192:fc#1024:\ | |||
:pd#15884:od#376704:bd#4096:fd#512:\ | |||
:pe#307200:oe#393984:be#8192:fe#1024:\ | |||
:pf#1067904:of#701568:bf#8192:ff#1024:\ | |||
:pg#1392768:og#376704:bg#8192:fg#1024:\ | |||
:ph#291346:oh#84672:bh#8192:fh#1024: | |||
@ -0,0 +1,3 @@ | |||
/dev/ra0a / ffs rw 1 1 | |||
/dev/ra0g /mnt ffs rw 1 3 | |||
/dev/ra0h /usr ffs rw 1 2 |
@ -0,0 +1,254 @@ | |||
begin 644 pcs750.bin | |||
M_________________________________________[__________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M________________________W___________________________________ | |||
M____________________________________________________________ | |||
M____________________________________W_______________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M____________________________________________O_______________ | |||
M__________________O___O_____________________________________ | |||
M____________________________]_______________________________ | |||
MW______]____________________________________________________ | |||
M____________________________________________________________ | |||
M________________________________]?__________________________ | |||
M____________________________________________________________ | |||
M___________________________W__________OW____________________ | |||
M____?_______________________________________________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M____________________________________________________________ | |||
M_____________________________________________SDH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@8+W".>;,D6T#".2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2,LL@%T``B19$`BP<'"$!:]QPQW8.2A'```#9`,`2#DH1P```V0#`$BZ | |||
M+G`$`0-PPV,2NBYP!`$#<,-C$CDH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$A5 | |||
M,W"$!P,XU>59.2A'```#9`,`2.@7<`0"`R3!:QA&*7"$`P,@P6M8.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(..2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'``` | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.#!P2M@#)``$1@H7<`04`X``1$A$Z=`%`'MD`P!(TS)P2M@# | |||
MI`,`2#DH1P```V0#`$@Y*$<```-D`P!(@#YP2``#$'$:B#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!([!9P!`0#)%E2!/*6<`0#HR#!`9@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#@PL%T``B19`8[T | |||
MEG"$`*,@P0$8[C)P.`@#9`-`SCDS<`0``V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(BA9P!$`# | |||
M<%M`"(P6<`1``21;(`A^%G`$0`%P.T/(X:IPA`!O`,%CF#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!((BMP!$`! | |||
M)%L@"#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(L2AP!-@#I`-M"(T5X%0"`R3)$IBN*'`$`0,XQ6P8.2A'```# | |||
M9`,`2(P5<`0!`R3%;-@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$A,*'`$`0,XQ6P8O15P!`$# | |||
M),5L6$TH\`4X`R196PBZ%2`$``-D`P!(Q#]P!`$+<,-K&+L5\,L!`SC!&Q@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(..2A'``` | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$C0+W!*"`,"P1M6.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(\Q1P!`(`Y%E7R/84,(4`9G&O`%8Y | |||
M*$<```-D`P!(.2A'```#9`,`2/@4<`0`IZ``$LCX%'`$`*.@`!*(Z#AP!`!G | |||
M9`,`B.@X<%C89&2!`(@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2(R4<`0!HP#!"]BL%'`$``-D`P!(CI1P!`!O)%D,B)`4<&0``V0#:PBL | |||
M%'`$``-D`P!(DI1P!`6G(,D+V)04<`^1;`$B1%'`$`@,DQ6R8K!1P!`$# | |||
M<,-KV):4<`00HR#)#!B:%'!(``,D61K(H11P!``#9`,`R)B4<(0`HR#)"]B; | |||
M%'`$.`,D65N(HU1P!``#9`,`R,`_<`0`"V0#``BC5'!*V`,0`!J(HU1P2@(# | |||
M$,$:V)X4<$HX`^1;`(B?%'!(``,D61K(H!1P!``#9`,`2,`_<`0`#V0#`$BC | |||
M5'`$`0,XQ6P8/P!P!``+9`,`"*04<`4``V0#`$BE%'#H`0-PRP"8IA1P9``# | |||
M9`-K"*<4<&`%`W#+`)BH%'!0V`/D6QM(J11PX`8#<,L`F*H4<%#8`^1;&\BK | |||
M%'!@``,D60M(P3]P!``+9`,`B*T4<&0``V0#:<@Z-'`$!*<@R0E8.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2&(P<`4``V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
M9`,`2#$P<(0Q`R3;8E@Y*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y | |||
M*$<```-D`P!(.2A'```#9`,`2#DH1P```V0#`$@Y*$<```-D`P!(.2A'```# | |||
.9`,`2#DH1P```V0#`$@# | |||
` | |||
end |
@ -0,0 +1,53 @@ | |||
# $NetBSD: ttys,v 1.1 1995/08/25 21:25:14 ragge Exp $ | |||
# | |||
# @(#)ttys 5.2 (Berkeley) 6/10/93 | |||
# | |||
# name getty type status comments | |||
# | |||
# If the console is marked insecure, single-user requires | |||
# the root password. | |||
console "/usr/libexec/getty std.9600" unknown on secure | |||
# Hardwired lines are marked off, by default, so getty(8) | |||
# is quiet when they don't exist. | |||
tty00 "/usr/libexec/getty std.9600" unknown off secure | |||
tty01 "/usr/libexec/getty std.9600" unknown off secure | |||
tty02 "/usr/libexec/getty std.9600" unknown off secure | |||
tty03 "/usr/libexec/getty std.9600" unknown off secure | |||
tty04 "/usr/libexec/getty std.9600" unknown off secure | |||
tty05 "/usr/libexec/getty std.9600" unknown off secure | |||
tty06 "/usr/libexec/getty std.9600" unknown off secure | |||
tty07 "/usr/libexec/getty std.9600" unknown off secure | |||
ttyp0 none network | |||
ttyp1 none network | |||
ttyp2 none network | |||
ttyp3 none network | |||
ttyp4 none network | |||
ttyp5 none network | |||
ttyp6 none network | |||
ttyp7 none network | |||
ttyp8 none network | |||
ttyp9 none network | |||
ttypa none network | |||
ttypb none network | |||
ttypc none network | |||
ttypd none network | |||
ttype none network | |||
ttypf none network | |||
ttyq0 none network | |||
ttyq1 none network | |||
ttyq2 none network | |||
ttyq3 none network | |||
ttyq4 none network | |||
ttyq5 none network | |||
ttyq6 none network | |||
ttyq7 none network | |||
ttyq8 none network | |||
ttyq9 none network | |||
ttyqa none network | |||
ttyqb none network | |||
ttyqc none network | |||
ttyqd none network | |||
ttyqe none network | |||
ttyqf none network |
@ -0,0 +1,3 @@ | |||
# list of users given ftp access to a chrooted area. | |||
# read by ftpd(8). | |||
joeuser |
@ -0,0 +1,4 @@ | |||
# list of users disallowed any ftp access. | |||
# read by ftpd(8). | |||
root | |||
uucp |
@ -0,0 +1,153 @@ | |||
# from: @(#)gettytab 5.14 (Berkeley) 3/27/91 | |||
# | |||
# Most of the table entries here are just copies of the old getty table, | |||
# it is by no means certain, or even likely, that any of them are optimal | |||
# for any purpose whatever. Nor is it likely that more than a couple are | |||
# even correct. | |||
# | |||
# The default gettytab entry, used to set defaults for all other | |||
# entries, and in cases where getty is called with no table name | |||
# | |||
default:\ | |||
:ap:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: | |||
# | |||
# Fixed speed entries | |||
# | |||
# The "std.NNN" names are known to the special case | |||
# portselector code in getty, however they can | |||
# be assigned to any table desired. | |||
# The "NNN-baud" names are known to the special case | |||
# autobaud code in getty, and likewise can | |||
# be assigned to any table desired (hopefully the same speed). | |||
# | |||
a|std.110|110-baud:\ | |||
:nd#1:cd#1:uc:sp#110: | |||
b|std.134|134.5-baud:\ | |||
:ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl: | |||
1|std.150|150-baud:\ | |||
:ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 : | |||
c|std.300|300-baud:\ | |||
:nd#1:cd#1:sp#300: | |||
d|std.600|600-baud:\ | |||
:nd#1:cd#1:sp#600: | |||
f|std.1200|1200-baud:\ | |||
:fd#1:sp#1200: | |||
6|std.2400|2400-baud:\ | |||
:sp#2400: | |||
7|std.4800|4800-baud:\ | |||
:sp#4800: | |||
2|std.9600|9600-baud:\ | |||
:sp#9600: | |||
g|std.19200|19200-baud:\ | |||
:sp#19200: | |||
std.38400|38400-baud:\ | |||
:sp#38400: | |||
std.57600|57600-baud:\ | |||
:sp#57600: | |||
std.115200|115200-baud:\ | |||
:sp#115200: | |||
# | |||
# Dial in rotary tables, speed selection via 'break' | |||
# | |||
0|d300|Dial-300:\ | |||
:nx=d1200:cd#2:sp#300: | |||
d1200|Dial-1200:\ | |||
:nx=d150:fd#1:sp#1200: | |||
d150|Dial-150:\ | |||
:nx=d110:lm@:tc=150-baud: | |||
d110|Dial-110:\ | |||
:nx=d300:tc=300-baud: | |||
# | |||
# Fast dialup terminals, 2400/1200/300 rotary (can start either way) | |||
# | |||
D2400|d2400|Fast-Dial-2400:\ | |||
:nx=D1200:tc=2400-baud: | |||
3|D1200|Fast-Dial-1200:\ | |||
:nx=D300:tc=1200-baud: | |||
5|D300|Fast-Dial-300:\ | |||
:nx=D2400:tc=300-baud: | |||
# | |||
#telebit (19200) | |||
# | |||
t19200:\ | |||
:nx=t2400:tc=19200-baud: | |||
t2400:\ | |||
:nx=t1200:tc=2400-baud: | |||
t1200:\ | |||
:nx=t19200:tc=1200-baud: | |||
# | |||
#telebit (9600) | |||
# | |||
t9600:\ | |||
:nx=t2400a:tc=19200-baud: | |||
t2400a:\ | |||
:nx=t1200a:tc=2400-baud: | |||
t1200a:\ | |||
:nx=t9600:tc=1200-baud: | |||
# | |||
# Odd special case terminals | |||
# | |||
-|tty33|asr33|Pity the poor user of this beast:\ | |||
:tc=110-baud: | |||
4|Console|Console Decwriter II:\ | |||
:nd@:cd@:rw:tc=300-baud: | |||
e|Console-1200|Console Decwriter III:\ | |||
:fd@:nd@:cd@:rw:tc=1200-baud: | |||
i|Interdata console:\ | |||
:uc:sp#0: | |||
l|lsi chess terminal:\ | |||
:sp#300: | |||
X|Xwindow|X window system:\ | |||
:fd@:nd@:cd@:rw:sp#9600: | |||
P|Pc|Pc console:\ | |||
:np:ap:sp#9600: | |||
# 8 bit clean Sun console | |||
S|suncons|Sun Console:\ | |||
:np:sp#9600: | |||
# | |||
# Wierdo special case for fast crt's with hardcopy devices | |||
# | |||
8|T9600|CRT with hardcopy:\ | |||
:nx=T300:tc=9600-baud: | |||
9|T300|CRT with hardcopy (300):\ | |||
:nx=T9600:tc=300-baud: | |||
# | |||
# Plugboard, and misc other terminals | |||
# | |||
plug-9600|Plugboard-9600:\ | |||
:pf#1:tc=9600-baud: | |||
p|P9600|Plugboard-9600-rotary:\ | |||
:pf#1:nx=P300:tc=9600-baud: | |||
q|P300|Plugboard-300:\ | |||
:pf#1:nx=P1200:tc=300-baud: | |||
r|P1200|Plugboard-1200:\ | |||
:pf#1:nx=P9600:tc=1200-baud: | |||
# | |||
# XXXX Port selector | |||
# | |||
s|DSW|Port Selector:\ | |||
:ps:sp#2400: | |||
# | |||
# Auto-baud speed detect entry for Micom 600. | |||
# Special code in getty will switch this out | |||
# to one of the NNN-baud entries. | |||
# | |||
A|Auto-baud:\ | |||
:ab:sp#2400:f0#040: |
@ -0,0 +1,17 @@ | |||
wheel:*:0:root | |||
daemon:*:1:daemon | |||
kmem:*:2:root | |||
sys:*:3:root | |||
tty:*:4:root | |||
operator:*:5:root | |||
bin:*:7: | |||
news:*:8: | |||
wsrc:*:9: | |||
games:*:13: | |||
staff:*:20:root | |||
guest:*:31:root | |||
nobody:*:39: | |||
utmp:*:45: | |||
ingres:*:74:ingres | |||
dialer:*:117: | |||
nogroup:*:32766: |
@ -0,0 +1,13 @@ | |||
# | |||
# Host Database | |||
# This file should contain the addresses and aliases | |||
# for local hosts that share this file. | |||
# It is used only for "ifconfig" and other operations | |||
# before the nameserver is started. | |||
# | |||
# | |||
127.1 localhost localhost.my.domain | |||
# | |||
# Imaginary network. | |||
0.2 myname.my.domain myname | |||
0.3 myfriend.my.domain myfriend |
@ -0,0 +1,2 @@ | |||
localhost | |||
my_very_good_friend.domain |
@ -0,0 +1 @@ | |||
machine.domain |
@ -0,0 +1,43 @@ | |||
# | |||
# Internet server configuration database | |||
# | |||
# @(#)inetd.conf 5.4 (Berkeley) 6/30/90 | |||
# | |||
ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l | |||
telnet stream tcp nowait root /usr/libexec/telnetd telnetd | |||
shell stream tcp nowait root /usr/libexec/rshd rshd | |||
login stream tcp nowait root /usr/libexec/rlogind rlogind | |||
#exec stream tcp nowait root /usr/libexec/rexecd rexecd | |||
#uucpd stream tcp nowait root /usr/libexec/uucpd uucpd | |||
#nntp stream tcp nowait usenet /usr/libexec/nntpd nntpd | |||
finger stream tcp nowait nobody /usr/libexec/fingerd fingerd | |||
#ident stream tcp wait nobody.kmem /usr/libexec/identd identd -w -t60 -l -o -e -N | |||
#tftp dgram udp wait root /usr/libexec/tftpd tftpd -s /tftpboot | |||
comsat dgram udp wait root /usr/libexec/comsat comsat | |||
ntalk dgram udp wait root /usr/libexec/ntalkd ntalkd | |||
#bootps dgram udp wait root /usr/sbin/bootpd bootpd | |||
# Internal services | |||
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 | |||
# Kerberos authenticated services | |||
#klogin stream tcp nowait root /usr/libexec/rlogind rlogind -k | |||
#eklogin stream tcp nowait root /usr/libexec/rlogind rlogind -k -x | |||
#kshell stream tcp nowait root /usr/libexec/rshd rshd -k | |||
# Services run ONLY on the Kerberos server | |||
#krbupdate stream tcp nowait root /usr/libexec/registerd registerd | |||
#kpasswd stream tcp nowait root /usr/libexec/kpasswdd kpasswdd | |||
# RPC based services | |||
#mountd/1 dgram rpc/udp wait root /sbin/mountd mountd | |||
rstatd/1-3 dgram rpc/udp wait root /usr/libexec/rpc.rstatd rpc.rstatd | |||
rusersd/2-3 dgram rpc/udp wait root /usr/libexec/rpc.rusersd rpc.rusersd | |||
walld/1 dgram rpc/udp wait root /usr/libexec/rpc.rwalld rpc.rwalld | |||
#sprayd/1 dgram rpc/udp wait root /usr/libexec/rpc.sprayd rpc.sprayd | |||
#rquotad/1 dgram rpc/udp wait root /usr/libexec/rpc.rquotad rpc.rquotad |
@ -0,0 +1,55 @@ | |||
# $Id: man.conf,v 1.1.1.1 1995/10/18 08:37:56 deraadt Exp $ | |||
# Sheer, raging paranoia... | |||
_version BSD.2 | |||
# The whatis/apropos database. | |||
_whatdb /usr/share/man/whatis.db | |||
# Subdirectories for paths ending in '/', IN SEARCH ORDER. | |||
_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 cat3f man3f | |||
# Files typed by suffix and their commands. | |||
# Note the order, .Z must come after .[1-9].Z, or it will match first. | |||
_suffix .0 | |||
_build .0.Z /usr/bin/zcat %s | |||
_build .0.gz /usr/bin/gunzip -c %s | |||
_build .[1-9] /usr/bin/nroff -man %s | |||
_build .[1-9].Z /usr/bin/zcat %s | /usr/bin/nroff -man | |||
_build .[1-9].gz /usr/bin/gunzip -c %s | /usr/bin/nroff -man | |||
_build .tbl /usr/bin/tbl %s | /usr/bin/nroff -man | |||
_build .tbl.Z /usr/bin/zcat %s | /usr/bin/tbl | /usr/bin/nroff -man | |||
_build .tbl.gz /usr/bin/gunzip -c %s | /usr/bin/tbl | /usr/bin/nroff -man | |||
_build .n /usr/bin/nroff -me %s 2>/dev/null | cat -s | |||
_build .me /usr/bin/nroff -me %s 2>/dev/null | cat -s | |||
# Sections and their directories. | |||
# All paths ending in '/' are the equivalent of entries specifying that | |||
# directory with all of the subdirectories listed for the keyword _subdir. | |||
# default | |||
_default /usr/{share,X11R6,X386,X11,X11R4,contrib,gnu,local}/{man,man/old}/ | |||
# Other sections that represent complete man subdirectories. | |||
X11 /usr/X11/man/ | |||
X11R4 /usr/X11R4/man/ | |||
X11R6 /usr/X11R6/man/ | |||
X386 /usr/X386/man/ | |||
contrib /usr/contrib/man/ | |||
local /usr/local/man/ | |||
new /usr/contrib/man/ | |||
old /usr/share/man/old/ | |||
doc /usr/share/doc/{sendmail/op,sendmail/intro} | |||
# Specific section/directory combinations. | |||
1 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}1 | |||
2 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}2 | |||
3 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}3 | |||
3F /usr/share/man/cat3f | |||
3f /usr/share/man/cat3f | |||
4 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}4 | |||
5 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}5 | |||
6 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}6 | |||
7 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}7 | |||
8 /usr/{share,X11R6,X386,X11,X11R4,contrib,local}/{man/,man/old/}{cat,man}8 |
@ -0,0 +1,10 @@ | |||
root::0:0::0:0:Charlie &:/root:/bin/csh | |||
toor:*:0:0::0:0:Bourne-again Superuser:/root: | |||
daemon:*:1:31::0:0:The devil himself:/root: | |||
operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh | |||
bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/dev/null | |||
games:*:7:13::0:0:Games pseudo-user:/usr/games: | |||
uucp:*:66:1::0:0:UNIX-to-UNIX Copy:/var/spool/uucppublic:/usr/libexec/uucp/uucico | |||
nobody:*:32767:9999::0:0:Unprivileged user:/nonexistent:/dev/null | |||
ingres:*:267:74::0:0:& Group:/usr/ingres:/bin/csh | |||
falken:*:32766:31::0:0:Prof. Stephen &:/usr/games:/usr/games/wargames |
@ -0,0 +1,21 @@ | |||
#!/bin/sh - | |||
# | |||
# @(#)monthly 5.5 (Berkeley) 6/17/91 | |||
# | |||
host=`hostname -s` | |||
echo "Subject: $host monthly run output" | |||
# echo "" | |||
# echo "Doing login accounting:" | |||
# ac -p | sort -nr +1 | |||
# Rotation of these logs now handled automatically by cron and 'newsyslog': | |||
# kerberos.log | |||
# lpd-errs | |||
# wtmp | |||
# aculog | |||
# cron | |||
echo "Nothing to do!" | |||
#echo "." |
@ -0,0 +1,4 @@ | |||
NetBSD ?.? (UNKNOWN) | |||
Welcome to NetBSD! | |||
@ -0,0 +1,14 @@ | |||
# $Id: mrouted.conf,v 1.1.1.1 1995/10/18 08:37:56 deraadt Exp $ | |||
# | |||
# This is the configuration file for "mrouted", an IP multicast router. | |||
# mrouted looks for it in "/etc/mrouted.conf". | |||
# | |||
# Command formats: | |||
# | |||
# phyint <local-addr> [disable] [metric <m>] [threshold <t>] | |||
# tunnel <local-addr> <remote-addr> [srcrt] [metric <m>] [threshold <t>] | |||
# | |||
# any phyint commands MUST precede any tunnel commands | |||
# | |||
tunnel 36.8.0.77 36.2.0.8 metric 3 # <-- EXAMPLE; REPLACE OR DELETE |
@ -0,0 +1,163 @@ | |||
# user: bostic | |||
# machine: vangogh.CS.Berkeley.EDU | |||
# tree: / | |||
# date: Tue Jul 20 13:15:45 1993 | |||
# . | |||
/set type=file gname=wheel uname=root mode=0755 | |||
. type=dir | |||
# ./a | |||
/set type=file gname=guest uname=root mode=0755 | |||
a type=dir gname=wheel | |||
# ./a | |||
.. | |||
# ./altroot | |||
altroot type=dir gname=wheel | |||
# ./altroot | |||
.. | |||
# ./amd | |||
/set type=file gname=wheel uname=root mode=0755 | |||
amd type=dir mode=0555 | |||
# ./amd | |||
.. | |||
# ./b | |||
b type=dir mode=0775 | |||
# ./b | |||
.. | |||
# ./bin | |||
/set type=file gname=bin uname=bin mode=0555 | |||
bin type=dir uname=root gname=wheel mode=0755 | |||
# ./bin | |||
.. | |||
# ./c | |||
/set type=file gname=wheel uname=root mode=0750 | |||
c type=dir mode=0755 | |||
# ./c | |||
.. | |||
# ./dev | |||
/set type=file gname=operator uname=root mode=0640 | |||
dev type=dir gname=wheel mode=0755 | |||
# ./dev/fd | |||
/set type=file gname=bin uname=bin mode=0666 | |||
fd type=dir uname=root gname=wheel mode=0755 | |||
# ./dev/fd | |||
.. | |||
# ./dev | |||
.. | |||
# ./dump | |||
/set type=file gname=wheel uname=root mode=0750 | |||
dump type=dir gname=operator uname=operator mode=0775 | |||
# ./dump | |||
.. | |||
# ./etc | |||
/set type=file gname=wheel uname=root mode=0644 | |||
etc type=dir mode=0755 | |||
# ./etc/disklabels | |||
/set type=file gname=wheel uname=root mode=0444 | |||
disklabels type=dir mode=0775 | |||
# ./etc/disklabels | |||
.. | |||
# ./etc/kerberosIV | |||
/set type=file gname=wheel uname=root mode=0444 | |||
kerberosIV type=dir mode=0755 | |||
# ./etc/kerberosIV | |||
.. | |||
# ./etc/mtree | |||
/set type=file gname=wheel uname=root mode=0600 | |||
mtree type=dir mode=0755 | |||
# ./etc/mtree | |||
.. | |||
# ./etc/namedb | |||
/set type=file gname=wheel uname=root mode=0600 | |||
namedb type=dir mode=0755 | |||
# ./etc/namedb | |||
.. | |||
# ./etc/sliphome | |||
/set type=file gname=wheel uname=root mode=0755 | |||
sliphome type=dir | |||
# ./etc/sliphome | |||
.. | |||
# ./etc | |||
.. | |||
# ./home | |||
home type=dir mode=0555 | |||
# ./home | |||
.. | |||
# ./mnt | |||
mnt type=dir | |||
# ./mnt | |||
.. | |||
# ./root | |||
/set type=file gname=wheel uname=root mode=0644 | |||
root type=dir mode=0755 | |||
# ./root | |||
.. | |||
# ./sbin | |||
/set type=file gname=bin uname=bin mode=0555 | |||
sbin type=dir uname=root gname=wheel mode=0755 | |||
# ./sbin | |||
.. | |||
# ./stand | |||
stand type=dir uname=root gname=wheel mode=0755 | |||
# ./stand | |||
.. | |||
# ./tmp | |||
/set type=file gname=wheel uname=root mode=0600 | |||
tmp type=dir mode=01777 | |||
# ./tmp | |||
.. | |||
# ./usr | |||
/set type=file gname=wheel uname=root mode=0755 | |||
usr type=dir | |||
# ./usr | |||
.. | |||
# ./var | |||
/set type=file gname=wheel uname=root mode=0755 | |||
var type=dir | |||
# ./var | |||
.. |
@ -0,0 +1,442 @@ | |||
# user: bostic | |||
# machine: vangogh.CS.Berkeley.EDU | |||
# tree: /var | |||
# date: Tue Jul 20 12:55:06 1993 | |||
# . | |||
/set type=file gname=wheel uname=root mode=0755 | |||
. type=dir | |||
# ./account | |||
/set type=file gname=wheel uname=root mode=0644 | |||
account type=dir mode=0755 | |||
# ./account | |||
.. | |||
# ./at | |||
/set type=file gname=daemon uname=root mode=0644 | |||
at type=dir mode=0755 | |||
# ./at/past | |||
past type=dir gname=wheel mode=0755 | |||
# ./at/past | |||
.. | |||
# ./at | |||
.. | |||
# ./backups | |||
/set type=file gname=wheel uname=root mode=0644 | |||
backups type=dir mode=0755 | |||
# ./backups | |||
.. | |||
# ./crash | |||
/set type=file gname=wheel uname=root mode=0660 | |||
crash type=dir uname=root mode=0770 | |||
# ./crash | |||
.. | |||
# ./db | |||
/set type=file gname=wheel uname=root mode=0755 | |||
db type=dir | |||
# ./db | |||
.. | |||
# ./emacs | |||
/set type=file gname=wheel uname=root mode=0777 | |||
emacs type=dir mode=0755 | |||
# ./emacs/lock | |||
/set type=file gname=wheel uname=root mode=0666 | |||
lock type=dir uname=root mode=0777 | |||
# ./emacs/lock | |||
.. | |||
# ./emacs | |||
.. | |||
# ./games | |||
/set type=file gname=games uname=games mode=0644 | |||
games type=dir mode=0775 | |||
# ./games/hackdir | |||
/set type=file gname=bin uname=games mode=0444 | |||
hackdir type=dir gname=games mode=0755 | |||
# ./games/hackdir | |||
.. | |||
# ./games/larn | |||
/set type=file gname=bin uname=games mode=0660 | |||
larn type=dir gname=games mode=0755 | |||
# ./games/larn | |||
.. | |||
# ./games/phantasia | |||
/set type=file gname=bin uname=games mode=0660 | |||
phantasia type=dir gname=games mode=0755 | |||
# ./games/phantasia | |||
.. | |||
# ./games | |||
.. | |||
# ./log | |||
/set type=file gname=wheel uname=root mode=0644 | |||
log type=dir mode=0755 | |||
# ./log/rdist | |||
/set type=file gname=staff uname=root mode=0644 | |||
rdist type=dir mode=0775 | |||
# ./log/rdist | |||
.. | |||
# ./log | |||
.. | |||
/set type=file gname=guest uname=root mode=0600 | |||
mail type=dir uname=root gname=wheel mode=0755 | |||
.. | |||
# ./msgs | |||
/set type=file gname=staff uname=daemon mode=0644 | |||
msgs type=dir mode=0775 | |||
# ./msgs | |||
.. | |||
# ./obj | |||
/set type=file gname=wsrc uname=root mode=0775 | |||
obj type=dir gname=wheel | |||
# ./obj | |||
.. | |||
# ./preserve | |||
/set type=file gname=wheel uname=bostic mode=0600 | |||
preserve type=dir uname=root mode=0755 | |||
# ./preserve | |||
.. | |||
# ./quotas | |||
quotas type=dir uname=root gname=operator mode=0750 | |||
# ./quotas | |||
.. | |||
# ./run | |||
/set type=file gname=wheel uname=root mode=0644 | |||
run type=dir mode=0755 | |||
# ./run | |||
.. | |||
# ./rwho | |||
/set type=file gname=wheel uname=root mode=0644 | |||
rwho type=dir mode=0755 | |||
# ./rwho | |||
.. | |||
# ./spool | |||
/set type=file gname=wheel uname=root mode=0755 | |||
spool type=dir | |||
# ./spool/ftp | |||
/set type=file gname=wheel uname=root mode=0755 | |||
ftp type=dir | |||
# ./spool/ftp/bin | |||
/set type=file gname=wheel uname=root mode=0555 | |||
bin type=dir mode=0755 | |||
# ./spool/ftp/bin | |||
.. | |||
# ./spool/ftp/etc | |||
/set type=file gname=wheel uname=root mode=0644 | |||
etc type=dir mode=0755 | |||
# ./spool/ftp/etc | |||
.. | |||
# ./spool/ftp/hidden | |||
/set type=file gname=wheel uname=bostic mode=0644 | |||
hidden type=dir uname=root mode=0751 | |||
# ./spool/ftp/hidden | |||
.. | |||
# ./spool/ftp/pub | |||
/set type=file gname=wheel uname=root mode=0777 | |||
pub type=dir | |||
# ./spool/ftp/pub/incoming | |||
/set type=file gname=wheel uname=root mode=0644 | |||
incoming type=dir uname=root mode=0733 | |||
# ./spool/ftp/pub/incoming | |||
.. | |||
# ./spool/ftp/pub | |||
.. | |||
# ./spool/ftp | |||
.. | |||
# ./spool/mqueue | |||
/set type=file gname=wheel uname=root mode=0600 | |||
mqueue type=dir mode=0755 | |||
# ./spool/mqueue | |||
.. | |||
# ./spool/news | |||
/set type=file gname=news uname=news mode=0775 | |||
news type=dir uname=root gname=wheel mode=0755 | |||
# ./spool/news/data | |||
/set type=file gname=news uname=news mode=0775 | |||
data type=dir | |||
# ./spool/news/data/OLD | |||
OLD type=dir | |||
# ./spool/news/data/OLD | |||
.. | |||
# ./spool/news/data/ctlbin | |||
ctlbin type=dir | |||
# ./spool/news/data/ctlbin | |||
.. | |||
# ./spool/news/data/innd | |||
innd type=dir | |||
# ./spool/news/data/innd | |||
.. | |||
# ./spool/news/data/trn | |||
trn type=dir | |||
# ./spool/news/data/trn | |||
.. | |||
# ./spool/news/data | |||
.. | |||
# ./spool/news/news.archive | |||
news.archive type=dir | |||
# ./spool/news/news.archive | |||
.. | |||
# ./spool/news/out.going | |||
out.going type=dir | |||
# ./spool/news/out.going | |||
.. | |||
# ./spool/news/spool | |||
/set type=file gname=news uname=news mode=0775 | |||
spool type=dir | |||
# ./spool/news/spool/in.coming | |||
/set type=file gname=news uname=news mode=0775 | |||
in.coming type=dir | |||
# ./spool/news/spool/in.coming/bad | |||
bad type=dir | |||
# ./spool/news/spool/in.coming/bad | |||
.. | |||
# ./spool/news/spool/in.coming/tmp | |||
tmp type=dir | |||
# ./spool/news/spool/in.coming/tmp | |||
.. | |||
# ./spool/news/spool/in.coming | |||
.. | |||
# ./spool/news/spool | |||
.. | |||
# ./spool/news | |||
.. | |||
# ./spool/output | |||
/set type=file gname=daemon uname=daemon mode=0775 | |||
output type=dir uname=root gname=wheel mode=0755 | |||
# ./spool/output | |||
.. | |||
# ./spool/secretmail | |||
secretmail type=dir uname=root gname=wheel mode=0755 | |||
# ./spool/secretmail | |||
.. | |||
# ./spool/sockets | |||
/set type=file gname=wheel uname=root mode=0777 | |||
sockets type=dir | |||
# ./spool/sockets/X11 | |||
X11 type=dir | |||
# ./spool/sockets/X11 | |||
.. | |||
# ./spool/sockets | |||
.. | |||
# ./spool/uucp | |||
/set type=file gname=daemon uname=uucp mode=0755 | |||
uucp type=dir | |||
# ./spool/uucp/AUDIT | |||
AUDIT type=dir | |||
# ./spool/uucp/AUDIT | |||
.. | |||
# ./spool/uucp/C. | |||
C. type=dir | |||
# ./spool/uucp/C. | |||
.. | |||
# ./spool/uucp/CORRUPT | |||
CORRUPT type=dir | |||
# ./spool/uucp/CORRUPT | |||
.. | |||
# ./spool/uucp/D. | |||
D. type=dir | |||
# ./spool/uucp/D. | |||
.. | |||
# ./spool/uucp/D.X | |||
D.X type=dir | |||
# ./spool/uucp/D.X | |||
.. | |||
# ./spool/uucp/LCK | |||
LCK type=dir mode=0777 | |||
# ./spool/uucp/LCK | |||
.. | |||
# ./spool/uucp/LOG | |||
/set type=file gname=daemon uname=uucp mode=0755 | |||
LOG type=dir | |||
# ./spool/uucp/LOG/uucico | |||
uucico type=dir | |||
# ./spool/uucp/LOG/uucico | |||
.. | |||
# ./spool/uucp/LOG/uucp | |||
uucp type=dir | |||
# ./spool/uucp/LOG/uucp | |||
.. | |||
# ./spool/uucp/LOG/uux | |||
uux type=dir | |||
# ./spool/uucp/LOG/uux | |||
.. | |||
# ./spool/uucp/LOG/uuxqt | |||
uuxqt type=dir | |||
# ./spool/uucp/LOG/uuxqt | |||
.. | |||
# ./spool/uucp/LOG/xferstats | |||
xferstats type=dir | |||
# ./spool/uucp/LOG/xferstats | |||
.. | |||
# ./spool/uucp/LOG | |||
.. | |||
# ./spool/uucp/STST | |||
STST type=dir | |||
# ./spool/uucp/STST | |||
.. | |||
# ./spool/uucp/TM. | |||
TM. type=dir | |||
# ./spool/uucp/TM. | |||
.. | |||
# ./spool/uucp/X. | |||
X. type=dir | |||
# ./spool/uucp/X. | |||
.. | |||
# ./spool/uucp/XTMP | |||
XTMP type=dir | |||
# ./spool/uucp/XTMP | |||
.. | |||
# ./spool/uucp | |||
.. | |||
# ./spool/uucppublic | |||
uucppublic type=dir mode=0777 | |||
# ./spool/uucppublic | |||
.. | |||
# ./spool | |||
.. | |||
# ./tmp | |||
/set type=file gname=wheel uname=nobody mode=0600 | |||
tmp type=dir uname=root mode=01777 | |||
# ./vi.recover | |||
/set type=file gname=wheel uname=nobody mode=0600 | |||
vi.recover type=dir uname=root mode=01777 | |||
# ./vi.recover | |||
.. | |||
# ./tmp | |||
.. | |||
# ./users | |||
/set type=file gname=wheel uname=nobody mode=0600 | |||
users type=dir uname=root mode=755 | |||
# ./users | |||
.. |
@ -0,0 +1,163 @@ | |||
# $NetBSD: special,v 1.3 1995/04/21 00:22:04 cgd Exp $ | |||
# @(#)special 8.2 (Berkeley) 1/23/94 | |||
# | |||
# Hand-crafted mtree specification for the dangerous files. | |||
# | |||
. type=dir mode=0755 uname=root gname=wheel | |||
dev type=dir mode=0755 uname=root gname=wheel | |||
drum type=char mode=640 uname=root gname=kmem | |||
fd type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #dev/fd | |||
kmem type=char mode=640 uname=root gname=kmem | |||
mem type=char mode=640 uname=root gname=kmem ignore | |||
.. #dev | |||
etc type=dir mode=0755 uname=root gname=wheel | |||
aliases type=file mode=0644 uname=root gname=wheel | |||
aliases.db type=file mode=0644 uname=root gname=wheel | |||
crontab type=file mode=0644 uname=root gname=wheel | |||
csh.cshrc type=file mode=0644 uname=root gname=wheel | |||
csh.login type=file mode=0644 uname=root gname=wheel | |||
csh.logout type=file mode=0644 uname=root gname=wheel | |||
daily type=file mode=0644 uname=root gname=wheel | |||
disklabels type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #disklabels | |||
exports type=file mode=0644 uname=root gname=wheel | |||
fstab type=file mode=0644 uname=root gname=wheel | |||
ftpusers type=file mode=0644 uname=root gname=wheel | |||
group type=file mode=0644 uname=root gname=wheel | |||
hosts.equiv type=file mode=0600 uname=root gname=wheel | |||
kerberosIV type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #kerberosIV | |||
mail.rc type=file mode=0644 uname=root gname=wheel | |||
master.passwd type=file mode=600 uname=root gname=wheel | |||
monthly type=file mode=0644 uname=root gname=wheel | |||
mtree type=dir mode=0755 uname=root gname=wheel | |||
special type=file mode=0600 uname=root gname=wheel | |||
.. #mtree | |||
named.boot type=file mode=0644 uname=root gname=wheel | |||
netstart type=file mode=0744 uname=root gname=wheel | |||
passwd type=file mode=644 uname=root gname=wheel | |||
printcap type=file mode=0644 uname=root gname=wheel | |||
rc type=file mode=0644 uname=root gname=wheel | |||
rc.local type=file mode=0644 uname=root gname=wheel | |||
security type=file mode=0644 uname=root gname=wheel | |||
sendmail.cf type=file mode=0644 uname=root gname=wheel | |||
shells type=file mode=0644 uname=root gname=wheel | |||
spwd.db type=file mode=0600 uname=root gname=wheel | |||
syslog.conf type=file mode=0644 uname=root gname=wheel | |||
ttys type=file mode=0644 uname=root gname=wheel | |||
weekly type=file mode=0644 uname=root gname=wheel | |||
.. #etc | |||
root type=dir mode=0755 uname=root gname=wheel | |||
.cshrc type=file mode=0644 uname=root gname=wheel | |||
.klogin type=file mode=0600 uname=root gname=wheel | |||
.login type=file mode=0644 uname=root gname=wheel | |||
.profile type=file mode=0644 uname=root gname=wheel | |||
.rhosts type=file mode=0600 uname=root gname=wheel | |||
.. #root | |||
sbin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #sbin | |||
usr type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/bin | |||
contrib type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/contrib/bin | |||
lib type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/contrib/lib | |||
.. #usr/contrib | |||
games type=dir mode=0755 uname=root gname=wheel | |||
hide type=dir mode=0700 uname=games gname=wheel ignore | |||
.. #usr/games/hide | |||
.. #usr/games | |||
include type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/include | |||
lib type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/lib | |||
libdata type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/libdata | |||
libexec type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/libexec | |||
local type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/local/bin | |||
lib type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/local/lib | |||
.. #usr/local | |||
new type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/new/bin | |||
lib type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/new/lib | |||
.. #usr/new | |||
old type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/old/bin | |||
lib type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/old/lib | |||
.. #usr/old | |||
sbin type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/sbin | |||
share type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #usr/share | |||
src type=dir mode=0775 uname=root gname=wsrc ignore | |||
.. #usr/src | |||
.. #usr | |||
var type=dir mode=0755 uname=root gname=wheel | |||
account type=dir mode=0755 uname=root gname=wheel | |||
acct type=file mode=644 uname=root gname=wheel | |||
.. #var/account | |||
at type=dir mode=0755 uname=root gname=daemon ignore | |||
.. #var/at | |||
backups type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/backups | |||
db type=dir mode=0755 uname=root gname=wheel | |||
kvm_netbsd.db type=file mode=0644 uname=root gname=wheel | |||
.. #var/db | |||
log type=dir mode=0755 uname=root gname=wheel | |||
secure type=file mode=0600 uname=root gname=wheel | |||
wtmp type=file mode=0644 uname=root gname=wheel | |||
.. #var/log | |||
mail type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/mail | |||
preserve type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/preserve | |||
run type=dir mode=0755 uname=root gname=wheel | |||
utmp type=file mode=0664 uname=root gname=utmp | |||
.. #var/run | |||
spool type=dir mode=0755 uname=root gname=wheel | |||
ftp type=dir mode=0755 uname=root gname=wheel | |||
bin type=dir mode=0755 uname=root gname=wheel | |||
ls type=file mode=555 uname=root gname=wheel | |||
.. #var/spool/ftp/bin | |||
etc type=dir mode=0755 uname=root gname=wheel | |||
group type=file mode=644 uname=root gname=wheel | |||
localtime type=file mode=644 uname=root gname=wheel | |||
master.passwd type=file mode=644 uname=root gname=wheel | |||
passwd type=file mode=644 uname=root gname=wheel | |||
.. #var/spool/ftp/etc | |||
hidden type=dir mode=0111 uname=root gname=wheel ignore | |||
.. #var/spool/ftp/hidden | |||
pub type=dir mode=0777 uname=root gname=wheel ignore | |||
.. #var/spool/ftp/pub | |||
.. #var/spool/ftp | |||
mqueue type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/spool/mqueue | |||
news type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/spool/news | |||
output type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/spool/output | |||
secretmail type=dir mode=0755 uname=root gname=wheel ignore | |||
.. #var/spool/secretmail | |||
uucp type=dir mode=0755 uname=uucp gname=daemon ignore | |||
.. #var/spool/uucp | |||
uucppublic type=dir mode=0777 uname=uucp gname=daemon ignore | |||
.. #var/spool/uucppublic | |||
.. #var/spool |
@ -0,0 +1 @@ | |||
myname.my.domain |
@ -0,0 +1,10 @@ | |||
; @(#)localhost.rev 5.1 (Berkeley) 6/30/90 | |||
@ IN SOA ucbvax.Berkeley.EDU. rwh.ucbvax.Berkeley.EDU. ( | |||
1.4 ; Serial | |||
3600 ; Refresh | |||
300 ; Retry | |||
3600000 ; Expire | |||
3600 ) ; Minimum | |||
IN NS ucbvax.Berkeley.EDU. | |||
1 IN PTR localhost.Berkeley.EDU. |
@ -0,0 +1,21 @@ | |||
; @(#)named.boot 5.1 (Berkeley) 6/30/90 | |||
; boot file for secondary name server | |||
; Note that there should be one primary entry for each SOA record. | |||
sortlist 128.3.0.0 | |||
directory /etc/namedb | |||
; type domain source host/file backup file | |||
cache . root.cache | |||
primary 0.0.127.IN-ADDR.ARPA localhost.rev | |||
; example secondary server config: | |||
; secondary Berkeley.EDU 128.32.130.11 128.32.133.1 ucbhosts.bak | |||
; secondary 32.128.IN-ADDR.ARPA 128.32.130.11 128.32.133.1 ucbhosts.rev.bak | |||
; example primary server config: | |||
; primary Berkeley.EDU ucbhosts | |||
; primary 32.128.IN-ADDR.ARPA ucbhosts.rev |
@ -0,0 +1,65 @@ | |||
; $NetBSD: root.cache,v 1.4 1995/09/19 05:30:34 thorpej Exp $ | |||
; | |||
; This file holds the information on root name servers needed to | |||
; initialize cache of Internet domain name servers | |||
; (e.g. reference this file in the "cache . <file>" | |||
; configuration file of BIND domain name servers). | |||
; | |||
; This file is made available by InterNIC registration services | |||
; under anonymous FTP as | |||
; file /domain/named.root | |||
; on server FTP.RS.INTERNIC.NET | |||
; -OR- under Gopher at RS.INTERNIC.NET | |||
; under menu InterNIC Registration Services (NSI) | |||
; submenu InterNIC Registration Archives | |||
; file named.root | |||
; | |||
; last update: Sep 1, 1995 | |||
; related version of root zone: 1995090100 | |||
; | |||
; | |||
; formerly NS.INTERNIC.NET | |||
; | |||
. 3600000 IN NS A.ROOT-SERVERS.NET. | |||
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4 | |||
; | |||
; formerly NS1.ISI.EDU | |||
; | |||
. 3600000 NS B.ROOT-SERVERS.NET. | |||
B.ROOT-SERVERS.NET. 3600000 A 128.9.0.107 | |||
; | |||
; formerly C.PSI.NET | |||
; | |||
. 3600000 NS C.ROOT-SERVERS.NET. | |||
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12 | |||
; | |||
; formerly TERP.UMD.EDU | |||
; | |||
. 3600000 NS D.ROOT-SERVERS.NET. | |||
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90 | |||
; | |||
; formerly NS.NASA.GOV | |||
; | |||
. 3600000 NS E.ROOT-SERVERS.NET. | |||
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10 | |||
; | |||
; formerly NS.ISC.ORG | |||
; | |||
. 3600000 NS F.ROOT-SERVERS.NET. | |||
F.ROOT-SERVERS.NET. 3600000 A 39.13.229.241 | |||
; | |||
; formerly NS.NIC.DDN.MIL | |||
; | |||
. 3600000 NS G.ROOT-SERVERS.NET. | |||
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4 | |||
; | |||
; formerly AOS.ARL.ARMY.MIL | |||
; | |||
. 3600000 NS H.ROOT-SERVERS.NET. | |||
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53 | |||
; | |||
; formerly NIC.NORDU.NET | |||
; | |||
. 3600000 NS I.ROOT-SERVERS.NET. | |||
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17 | |||
; End of File |
@ -0,0 +1,102 @@ | |||
#!/bin/sh - | |||
# | |||
# $NetBSD: netstart,v 1.21 1995/10/08 18:11:40 thorpej Exp $ | |||
# @(#)netstart 5.9 (Berkeley) 3/30/91 | |||
# set these to "NO" to turn them off. otherwise, they're used as flags | |||
routed_flags=-q | |||
rarpd_flags=NO # for 'normal' use: rarpd_flags="-a" | |||
bootparamd_flags=NO # for 'normal' use: bootparamd_flags="" | |||
rbootd_flags=NO # for 'normal' use: rbootd_flags="" | |||
sendmail_flags=NO # for 'normal' use: sendmail_flags="-bd -q30m" | |||
named_flags=NO # for 'normal' use: named_flags="" | |||
timed_flags= | |||
# set the following to "YES" to turn them on | |||
rwhod=NO | |||
nfs_server=NO | |||
nfs_client=NO | |||
gated=NO | |||
kerberos_server=NO | |||
amd=NO | |||
# miscellaneous other flags | |||
# only used if the appropriate server is marked YES above | |||
gated_flags= | |||
amd_dir=/amd # AMD's mount directory | |||
amd_master=/etc/amd/master # AMD 'master' map | |||
# /etc/myname contains my symbolic name | |||
# | |||
hostname=`cat /etc/myname` | |||
hostname $hostname | |||
if [ -f /etc/defaultdomain ]; then | |||
domainname `cat /etc/defaultdomain` | |||
fi | |||
# configure all of the interfaces which we know about. | |||
# do this by reading /etc/hostname.* files, where * is the name | |||
# of a given interface. | |||
# | |||
# these files are formatted like the following, but with no # at the | |||
# beginning of the line | |||
# | |||
# addr_family hostname netmask broadcast_addr options | |||
# dest dest_addr | |||
# | |||
# addr_family is the address family of the interface, generally inet | |||
# hostname is the host name that belongs to the interface, in /etc/hosts. | |||
# netmask is the network mask for the interface. | |||
# broadcast_addr is the broadcast address for the interface | |||
# options are misc. options to ifconfig for the interface. | |||
# | |||
# dest is simply the string "dest" (no quotes, though) if the interface | |||
# has a "destination" (i.e. it's a point-to-point link, like SLIP). | |||
# dest_addr is the hostname of the other end of the link, in /etc/hosts | |||
# | |||
# the only required contents of the file are the addr_family field | |||
# and the hostname. | |||
( | |||
tmp="$IFS" | |||
IFS="$IFS." | |||
set -- `echo /etc/hostname*` | |||
IFS=$tmp | |||
unset tmp | |||
while [ $# -ge 2 ] ; do | |||
shift # get rid of "hostname" | |||
( | |||
read af name mask bcaddr extras | |||
read dt dtaddr | |||
if [ ! -n "$name" ]; then | |||
echo "/etc/hostname.$1: invalid network configuration file" | |||
exit | |||
fi | |||
cmd="ifconfig $1 $af $name " | |||
if [ "${dt}" = "dest" ]; then cmd="$cmd $dtaddr"; fi | |||
if [ -n "$mask" ]; then cmd="$cmd netmask $mask"; fi | |||
if [ -n "$bcaddr" -a "X$bcaddr" != "XNONE" ]; then | |||
cmd="$cmd broadcast $bcaddr"; | |||
fi | |||
cmd="$cmd $extras" | |||
$cmd | |||
) < /etc/hostname.$1 | |||
shift | |||
done | |||
) | |||
# set the address for the loopback interface | |||
ifconfig lo0 inet localhost | |||
# use loopback, not the wire | |||
route add $hostname localhost | |||
# /etc/mygate, if it exists, contains the name of my gateway host | |||
# that name must be in /etc/hosts. | |||
if [ -f /etc/mygate ]; then | |||
route add default `cat /etc/mygate` | |||
fi |
@ -0,0 +1,16 @@ | |||
# @(#)networks 5.1 (Berkeley) 6/30/90 | |||
# | |||
# Your Local Networks Database | |||
# | |||
your-net 127 # your comment | |||
your-netmask 255.255.255 # subnet mask for your-net | |||
# | |||
# Your subnets | |||
# | |||
subnet1 127.0.1 alias1 # comment 1 | |||
subnet2 127.0.2 alias2 # comment 2 | |||
# | |||
# Internet networks (from nic.ddn.mil) | |||
# |
@ -0,0 +1,12 @@ | |||
# configuration file for newsyslog | |||
# $Id: newsyslog.conf,v 1.1.1.1 1995/10/18 08:37:57 deraadt Exp $ | |||
# | |||
# logfilename owner.group mode ngen size time [ZB] | |||
/var/cron/log root.wheel 600 3 10 * Z | |||
/var/log/aculog uucp.dialer 640 7 * 24 Z | |||
/var/log/kerberos.log 640 7 * 24 Z | |||
/var/log/lpd-errs 640 7 10 * Z | |||
/var/log/maillog 600 7 * 24 Z | |||
/var/log/messages 644 5 30 * Z | |||
/var/log/wtmp 644 7 * 168 ZB | |||
/var/log/xferlog 640 7 250 * Z |