summaryrefslogtreecommitdiff
path: root/etc/etc.hp300
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /etc/etc.hp300
initial import of NetBSD tree
Diffstat (limited to 'etc/etc.hp300')
-rw-r--r--etc/etc.hp300/MAKEDEV320
-rw-r--r--etc/etc.hp300/Makefile.inc28
-rw-r--r--etc/etc.hp300/disktab290
-rw-r--r--etc/etc.hp300/fstab.rd6
-rw-r--r--etc/etc.hp300/fstab.sd6
-rw-r--r--etc/etc.hp300/ttys52
6 files changed, 702 insertions, 0 deletions
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV
new file mode 100644
index 00000000000..acc95e57fe8
--- /dev/null
+++ b/etc/etc.hp300/MAKEDEV
@@ -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
diff --git a/etc/etc.hp300/Makefile.inc b/etc/etc.hp300/Makefile.inc
new file mode 100644
index 00000000000..3f51f795ab9
--- /dev/null
+++ b/etc/etc.hp300/Makefile.inc
@@ -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
diff --git a/etc/etc.hp300/disktab b/etc/etc.hp300/disktab
new file mode 100644
index 00000000000..a14c49861d9
--- /dev/null
+++ b/etc/etc.hp300/disktab
@@ -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:
diff --git a/etc/etc.hp300/fstab.rd b/etc/etc.hp300/fstab.rd
new file mode 100644
index 00000000000..d797a9f3387
--- /dev/null
+++ b/etc/etc.hp300/fstab.rd
@@ -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
diff --git a/etc/etc.hp300/fstab.sd b/etc/etc.hp300/fstab.sd
new file mode 100644
index 00000000000..737589e9f64
--- /dev/null
+++ b/etc/etc.hp300/fstab.sd
@@ -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
diff --git a/etc/etc.hp300/ttys b/etc/etc.hp300/ttys
new file mode 100644
index 00000000000..e0bed947a7d
--- /dev/null
+++ b/etc/etc.hp300/ttys
@@ -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