summaryrefslogtreecommitdiff
path: root/etc/etc.sgi
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-06 21:58:23 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>2004-08-06 21:58:23 +0000
commit65fa29ab4f6e46fa4e01750bf0df7274c0240618 (patch)
tree55ab5cbeb6aa4be3497cdc81ed6ed58550b691df /etc/etc.sgi
parent7a08994b108ba27d3a6e01b4f28620b1c04f6479 (diff)
sgi going in.
Diffstat (limited to 'etc/etc.sgi')
-rw-r--r--etc/etc.sgi/MAKEDEV344
-rw-r--r--etc/etc.sgi/MAKEDEV.md89
-rw-r--r--etc/etc.sgi/Makefile.inc20
-rw-r--r--etc/etc.sgi/disktab106
-rw-r--r--etc/etc.sgi/fbtab1
-rw-r--r--etc/etc.sgi/sysctl.conf0
-rw-r--r--etc/etc.sgi/ttys10
7 files changed, 570 insertions, 0 deletions
diff --git a/etc/etc.sgi/MAKEDEV b/etc/etc.sgi/MAKEDEV
new file mode 100644
index 00000000000..140c0197324
--- /dev/null
+++ b/etc/etc.sgi/MAKEDEV
@@ -0,0 +1,344 @@
+#!/bin/sh -
+#
+# THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
+# generated from:
+#
+# OpenBSD: etc.pmonmips/MAKEDEV.md,v 1.2 2002/01/08 03:26:03 todd Exp
+# OpenBSD: MAKEDEV.mi,v 1.52 2002/10/16 15:48:31 todd Exp
+# OpenBSD: MAKEDEV.sub,v 1.7 2002/02/16 01:19:52 deraadt Exp
+#
+#
+# Copyright (c) 2001,2002 Todd T. Fries <todd@OpenBSD.org>
+# 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. 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 ``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 makes all known devices, including local devices.
+# Tries to make the ``standard'' number of each type.
+# std standard devices
+# fd makes fd/* for the fdescfs
+# local configuration specific devices
+# ramdisk makes all devices for a ramdisk kernel
+# Tapes:
+# st* SCSI tapes
+# Disks:
+# wd* "winchester" disk drives (ST506, IDE, ESDI, RLL, ...)
+# sd* SCSI disks
+# cd* SCSI cdrom drives
+# ch* SCSI media changer
+# vnd* "file" pseudo-disks
+# rd* "rd" pseudo-disks
+# ccd* concatenated disk devices
+# Console ports:
+# Terminal ports:
+# tty0* NS16x50 serial ports
+# Pseudo terminals:
+# tty* set of 16 slave psuedo terminals
+# pty* set of 16 master pseudo terminals
+# USB devices:
+# Special purpose devices:
+# bpf* Berkeley Packet Filter
+# tun* network tunnel driver
+# *random inkernel random data source
+# uk* SCSI Unknown device
+# ss* SCSI scanners
+# pf* Packet Filter
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+T=$0
+
+# set this to echo for Echo-Only debugging
+[ "$eo" ] || eo=
+
+hex()
+{
+ case $1 in
+ [0-9]) echo -n $1;;
+ 10) echo -n a;;
+ 11) echo -n b;;
+ 12) echo -n c;;
+ 13) echo -n d;;
+ 14) echo -n e;;
+ 15) echo -n f;;
+ esac
+}
+
+trunc()
+{
+ # XXX pdksh can't seem to deal with locally scoped variables
+ # in ${foo#$bar} expansions
+ arg1="$1"
+ arg2="$2"
+ case $3 in
+ l) echo ${arg2#$arg1} ;;
+ r|*) echo ${arg1#$arg2} ;;
+ esac
+}
+
+unt()
+{
+ # XXX pdksh can't seem to deal with locally scoped variables
+ # in ${foo#$bar} expansions
+ arg="$1"
+ tmp="${arg#[a-zA-Z]*}"
+ tmp="${tmp%*[a-zA-Z]}"
+ while [ "$tmp" != "$arg" ]
+ do
+ arg=$tmp
+ tmp="${arg#[a-zA-Z]*}"
+ tmp="${tmp%*[a-zA-Z]}"
+ done
+ echo $arg
+}
+
+dodisk()
+{
+ [ "$DEBUG" ] && set -x
+ n=$(($((${5}*${7:-16}))+${6})) count=0
+ RMlist="$RMlist $1$2? r$1$2?"
+ [ 0$7 -ne 8 ] && l="i j k l m n o p"
+ for d in a b c d e f g h $l
+ do
+ M $1$2$d b $3 $(($n+$count)) 640
+ M r$1$2$d c $4 $(($n+$count)) 640
+ let count=count+1
+ done
+ MKlist="$MKlist;chown root.operator $1$2? r$1$2?"
+}
+
+dodisk2()
+{
+ n=$(($(($5*${7:-16}))+$6))
+ M $1$2a b $3 $n 640 operator
+ M r$1$2a c $4 $n 640 operator
+ n=$(($n+2))
+ M $1$2c b $3 $n 640 operator
+ M r$1$2c c $4 $n 640 operator
+}
+
+# M name b/c major minor [mode] [group]
+RMlist="rm -f"
+MKlist=":"
+
+mkl() {
+ [ "${mklist[$1]}" ] && {
+ mklist[$1]="${mklist[$1]};mknod -m $1 $2 $3 $4 $5"
+ } || {
+ mklist[$1]="mknod -m $1 $2 $3 $4 $5"
+ modes="$modes $1"
+ }
+}
+
+M() {
+ RMlist="$RMlist $1"
+ mkl ${5-666} $1 $2 $3 $4
+ mklist="$mklist $1"
+ G=${6:-wheel}
+ [ "$7" ] && {
+ MKlist="$MKlist;chown $7.$G $1"
+ } || {
+ case $G in
+ wheel)g=0;;kmem)g=2;;operator)g=5;;tty)g=4;;dialer)g=117;;
+ esac
+ [ "${grplist[$g]}" ] && {
+ grplist[$g]="${grplist[$g]} $1"
+ } || {
+ groups="$groups $g"
+ grplist[$g]="chgrp $G $1"
+ }
+ }
+ return 0
+}
+
+R() {
+[ "$DEBUG" ] && set -x
+for i in "$@"
+do
+U=`unt $i`
+[ "$U" ] || U=0
+
+case $i in
+std)
+ M console c 0 0 600
+ M tty c 2 0
+ M mem c 3 0 640 kmem
+ M kmem c 3 1 640 kmem
+ M null c 3 2
+ M zero c 3 12
+ M stdin c 7 0
+ M stdout c 7 1
+ M stderr c 7 2
+ M ksyms c 35 0 640 kmem
+ M drum c 1 0 640 kmem
+ M klog c 6 0 600
+ ;;
+
+
+
+pf*)
+ M pf c 31 0 600
+ ;;
+
+ss*)
+ M ss$U c 34 $(($U*16)) 640 operator
+ M nss$U c 34 $(($(($U*16))+1)) 640 operator
+ M enss$U c 34 $(($(($U*16))+3)) 640 operator
+ RMlist="$RMlist scan$U"
+ MKlist="$MKlist;umask 77;ln -s ss$U scan$U"
+ ;;
+
+uk*)
+ M uk$U c 32 $U 640 operator
+ ;;
+
+*random)
+ n=0
+ for pre in " " s u p a
+ do
+ M ${pre}random c 33 $n 644
+ n=$(($n+1))
+ done
+ ;;
+
+tun*)
+ M tun$U c 40 $U 600
+ ;;
+
+bpf*)
+ M bpf$U c 12 $U 600
+ ;;
+
+pty*)
+ if [ $U -gt 15 ]; then
+ echo bad unit for pty in: $i
+ continue
+ fi
+ set -A tbl p q r s t u v w x y z P Q R S T
+ name=${tbl[$U]}
+ n=0
+ while [ $n -lt 16 ]
+ do
+ nam=$name$(hex $n)
+ off=$(($U*16))
+ M tty$nam c 4 $(($off+$n))
+ M pty$nam c 5 $(($off+$n))
+ n=$(($n+1))
+ done
+ ;;
+
+tty0*)
+ M tty$U c 17 $U 660 dialer uucp
+ M cua$U c 17 $(($U+128)) 660 dialer uucp
+ ;;
+
+rd*)
+ dodisk2 rd $U 8 22 $U 0
+ ;;
+
+vnd*)
+ dodisk vnd $U 2 11 $U 0
+ dodisk svnd $U 2 11 $U 128
+ ;;
+
+ch*)
+ M ch$U c 36 $U 660 operator
+ ;;
+
+cd*)
+ dodisk2 cd $U 3 8 $U 0
+ ;;
+
+st*)
+ n=$(($U*16))
+ for pre in " " n e en
+ do
+ M ${pre}st$U b 10 $n 660 operator
+ M ${pre}rst$U c 10 $n 660 operator
+ n=$(($n+1))
+ done
+ ;;
+
+ramdisk)
+ R pty0 rd0 cd0 cd1 st0 st1 wd0 wd1 wd2 wd3 wd4 sd0 sd1 sd2
+ R sd3 sd4 bpf0 std
+ ;;
+
+local)
+ test -s $T.local && sh $T.local
+ ;;
+
+fd)
+ RMlist="mkdir -p fd;$RMlist" n=0
+ while [ $n -lt 64 ];do M fd/$n c 7 $n;n=$(($n+1));done
+ MKlist="$MKlist;chmod 555 fd"
+ ;;
+
+all)
+ R ccd0 ccd1 ccd2 ccd3 vnd0 vnd1 vnd2 vnd3 sd0 sd1 sd2 sd3 sd4
+ R cd0 cd1 rd0 tun0 tun1 tun2 tun3 bpf0 bpf1 bpf2 bpf3 bpf4
+ R bpf5 bpf6 bpf7 bpf8 bpf9 pty0 pty1 pty2 ss0 ss1 ch0 local
+ R uk0 random tty00 tty01 tty02 tty03 pf wd0 wd1 wd2 wd3 std
+ R st0 st1 fd
+ ;;
+
+wd*|sd*|ccd*)
+ case $i in
+ wd*) dodisk wd $U 4 18 $U 0;;
+ sd*) dodisk sd $U 0 9 $U 0;;
+ ccd*) dodisk ccd $U 6 23 $U 0;;
+ esac
+ ;;
+
+*)
+ echo $i: unknown device
+ ;;
+esac
+done
+}
+R "$@"
+if [ "$os" = "SunOS" ]; then
+ eo=transform
+ transform() {
+ case $mode in
+ 600) mask=077;;
+ 640) mask=027;;
+ 660) mask=007;;
+ 644) mask=022;;
+ 666) mask=0;;
+ 440) mask=227;;
+ esac
+ echo `echo "$@"|sed \
+ 's/mknod -m \([0-9]*\) /umask '$mask';mknod /;s/-m [0-9]* //g;\
+ s/operator/5/g;s/root.kmem/root.2/g;s/root\./root:/g'`
+ }
+fi
+list="$RMlist"
+for mode in $modes; do
+ list="$list;${mklist[$mode]}"
+done
+for group in $groups; do
+ list="$list;${grplist[$group]}"
+done
+list="$list;$MKlist"
+if [ "$eo" = "echo" -o "$eo" = "transform" ]; then
+ $eo "$list"
+else
+ echo "$list" | sh
+fi
diff --git a/etc/etc.sgi/MAKEDEV.md b/etc/etc.sgi/MAKEDEV.md
new file mode 100644
index 00000000000..89d99d864ff
--- /dev/null
+++ b/etc/etc.sgi/MAKEDEV.md
@@ -0,0 +1,89 @@
+vers(__file__,
+ {-$OpenBSD: MAKEDEV.md,v 1.1 2004/08/06 21:58:22 pefo Exp $-},
+etc.MACHINE)dnl
+dnl
+dnl Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org>
+dnl All rights reserved.
+dnl
+dnl Redistribution and use in source and binary forms, with or without
+dnl modification, are permitted provided that the following conditions
+dnl are met:
+dnl 1. Redistributions of source code must retain the above copyright
+dnl notice, this list of conditions and the following disclaimer.
+dnl 2. The name of the author may not be used to endorse or promote products
+dnl derived from this software without specific prior written permission.
+dnl
+dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+dnl INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+dnl AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
+dnl THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+dnl EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+dnl PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+dnl OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+dnl WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+dnl
+dnl
+_TITLE(make)
+_DEV(all)
+_DEV(std)
+_DEV(fdesc, 7)
+_DEV(local)
+_DEV(ramd)
+_TITLE(tap)
+_DEV(st, 10, 10)
+_TITLE(dis)
+_DEV(wd, 18, 4)
+_DEV(sd, 9, 0)
+_DEV(cd, 8, 3)
+_DEV(ch, 36)
+_DEV(vnd, 11, 2)
+_DEV(rd, 22, 8)
+_DEV(ccd, 23, 6)
+_TITLE(cons)
+_TITLE(term)
+_DEV(com, 17)
+_TITLE(pty)
+_DEV(tty, 4)
+_DEV(pty, 5)
+_TITLE(usb)
+_TITLE(spec)
+_DEV(bpf, 12)
+_DEV(tun, 40)
+_DEV(rnd, 33)
+_DEV(uk, 32)
+_DEV(ss, 34)
+_DEV(pf, 31)
+dnl
+divert(7)dnl
+dnl
+_std(2, 3, 35, 1, 6)
+ ;;
+
+
+dnl
+dnl *** sgimips specific targets
+dnl
+target(all, ses, 0)dnl
+target(all, ch, 0)dnl
+target(all, ss, 0, 1)dnl
+target(all, xfs, 0)dnl
+twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
+twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
+target(all, pty, 0, 1, 2)dnl
+target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
+target(all, tun, 0, 1, 2, 3)dnl
+target(all, xy, 0, 1, 2, 3)dnl
+target(all, rd, 0)dnl
+target(all, cd, 0, 1)dnl
+target(all, sd, 0, 1, 2, 3, 4)dnl
+target(all, vnd, 0, 1, 2, 3)dnl
+target(all, ccd, 0, 1, 2, 3)dnl
+target(ramd, sd, 0, 1, 2, 3, 4)dnl
+target(ramd, wd, 0, 1, 2, 3, 4)dnl
+target(ramd, st, 0, 1)dnl
+target(ramd, cd, 0, 1)dnl)dnl
+target(ramd, rd, 0)dnl
+target(ramd, tty0, 0, 1)dnl
+target(ramd, pty, 0)dnl
diff --git a/etc/etc.sgi/Makefile.inc b/etc/etc.sgi/Makefile.inc
new file mode 100644
index 00000000000..46c17922b24
--- /dev/null
+++ b/etc/etc.sgi/Makefile.inc
@@ -0,0 +1,20 @@
+# $OpenBSD: Makefile.inc,v 1.1 2004/08/06 21:58:22 pefo Exp $
+# etc.sgimips/Makefile.inc -- sgimips-specific etc Makefile targets
+
+.ifdef DESTDIR
+
+snap_md: bsd distrib1
+ cp ${.CURDIR}/../sys/arch/sgimips/compile/GENERIC/bsd \
+ ${DESTDIR}/snapshot/bsd
+
+bsd:
+ cd ${.CURDIR}/../sys/arch/sgimips/conf && config GENERIC
+ cd ${.CURDIR}/../sys/arch/sgimips/compile/GENERIC && \
+ make clean && make
+
+distrib1:
+ ${MAKE} distrib
+
+.PHONY: bsd distrib1
+
+.endif
diff --git a/etc/etc.sgi/disktab b/etc/etc.sgi/disktab
new file mode 100644
index 00000000000..92d89493feb
--- /dev/null
+++ b/etc/etc.sgi/disktab
@@ -0,0 +1,106 @@
+# 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-p] partition offsets in sectors
+# p[a-p] partition sizes in sectors
+# b[a-p] partition block sizes in bytes
+# f[a-p] partition fragment sizes in bytes
+# t[a-p] partition types (filesystem, swap, etc)
+#
+# All partition sizes reserve space for bad sector tables.
+# (5 cylinders needed for maintenance + replacement sectors)
+#
+
+rdroot|ramdiskroot|RAM-disk root FS image:\
+ :ty=simulated:se#512:nc#16:nt#4:ns#128:\
+ :ta=4.2BSD:oa#0:pa#8192:fa#512:ba#4096:\
+ :ob#0:pb#0:oc#0:pc#8192:
+
+# Seagate ST31200N
+ST31200N-MBR:\
+ :ty=winchester:ns#84:nt#9:nc#2700:\
+ :pa#65536:oa#4096:ba#8192:fa#1024:ta=4.2bsd:\
+ :pb#131072:ob#69632:bb#8192:fb#1024:tb=swap:\
+ :pc#2037104:oc#4096:bc#8192:fc#1024:\
+ :pd#2041200:od#0:bd#8192:fd#1024:\
+ :pe#4064:oe#32:be#8192:fe#1024:te=msdos:\
+ :pg#619200:og#200704:bg#8192:fg#1024:tg=4.2bsd:\
+ :ph#1221296:oh#819904:bh#8192:fh#1024:th=4.2bsd:
+
+# QUANTUM, Trailblazer 850 with MBR boot.
+TRB850S-MBR:\
+ :ty=winchester:ns#113:nt#4:nc#3653:\
+ :pa#88096:oa#10240:ba#8192:fa#1024:ta=4.2bsd:\
+ :pb#131072:ob#131072:bb#8192:fb#1024:tb=swap:\
+ :pc#1647060:oc#0:bc#8192:fc#1024:\
+ :pd#10208:od#32:bd#8192:fd#1024:td=msdos:\
+ :pe#586000:oe#229408:be#8192:fe#1024:te=4.2bsd:\
+ :pf#415826:of#815408:bf#8192:ff#1024:tf=4.2bsd:\
+ :pg#415826:og#1231234:bg#8192:fg#1024:tg=4.2bsd:\
+ :ph#831652:oh#815408:bh#8192:fh#1024:th=4.2bsd:
+
+#QUANTUM, FIREBALL1080S
+FIREBALL1080S-MBR:\
+ :ty=winchester:ns#139:nt#4:nc#3835:\
+ :pa#120832:oa#10240:ba#8192:fa#1024:ta=4.2bsd:\
+ :pb#131072:ob#131072:bb#8192:fb#1024:tb=swap:\
+ :pc#2132260:oc#0:bc#8192:fc#1024:\
+ :pd#10208:od#32:bd#8192:fd#1024:td=msdos:\
+ :pe#781250:oe#262144:be#8192:fe#1024:te=4.2bsd:\
+ :pf#544433:of#1043394:bf#8192:ff#1024:tf=4.2bsd:\
+ :pg#544433:og#1587827:bg#8192:fg#1024:tg=4.2bsd:\
+ :ph#1088866:oh#1043394:bh#8192:fh#1024:th=4.2bsd:
+
+#QUANTUM, FIREBALL_TM3200S
+FIREBALL_TM3200S-MBR:\
+ :ty=winchester:ns#184:nt#5:nc#6810:\
+ :pa#120832:oa#10240:ba#8192:fa#1024:ta=4.2bsd:\
+ :pb#131072:ob#131072:bb#8192:fb#1024:tb=swap:\
+ :pc#6265200:oc#0:bc#8192:fc#1024:\
+ :pd#10208:od#32:bd#8192:fd#1024:td=msdos:\
+ :pe#781250:oe#262144:be#8192:fe#1024:te=4.2bsd:\
+ :pf#1205000:of#1043394:bf#8192:ff#1024:tf=4.2bsd:\
+ :pg#2008403:og#2248394:bg#8192:fg#1024:tg=4.2bsd:\
+ :ph#2008403:oh#4256797:bh#8192:fh#1024:th=4.2bsd:
+
+# QUANTUM ATLAS, XP34300
+XP34300:\
+ :ty=winchester:ns#107:nt#20:nc#3907:\
+ :pa#131072:oa#0:ba#8192:fa#1024:ta=4.2bsd:\
+ :pb#131072:ob#131072:bb#8192:fb#1024:tb=swap:\
+ :pc#8360980:oc#0:bc#8192:fc#1024:\
+ :pd#1024000:od#262144:bd#8192:fd#1024:td=4.2bsd:\
+ :pe#1024000:oe#1286144:be#8192:fe#1024:te=4.2bsd:\
+ :pf#2048000:of#2310144:bf#8192:ff#1024:tf=4.2bsd:\
+ :pg#2048000:og#4358144:bg#8192:fg#1024:tg=4.2bsd:\
+ :ph#1954836:oh#6406144:bh#8192:fh#1024:th=4.2bsd:\
+ :pi#2712458:oi#262144:bi#8192:fi#1024:ti=4.2bsd:\
+ :pj#2712458:oj#2974602:bj#8192:fj#1024:tj=4.2bsd:\
+ :pk#2673920:ok#5687060:bk#8192:fk#1024:tk=4.2bsd:\
+ :pl#4068688:ol#262144:bl#8192:fl#1024:tl=4.2bsd:\
+ :pm#4030148:om#4330832:bm#8192:fm#1024:tm=4.2bsd:\
+ :pn#8098836:on#262144:bn#8192:fn#1024:tn=4.2bsd:
+
+#iomega ZIP with MBR boot partition
+ZIP-MBR:\
+ :ty=zip:ns#32:nt#64:nc#96:\
+ :pa#188416:oa#4096:ba#8192:fa#1024:ta=4.2bsd:\
+ :pc#192512:oc#4096:bc#8192:fc#1024:\
+ :pd#4064:od#32:bd#8192:fd#1024:td=msdos:\
diff --git a/etc/etc.sgi/fbtab b/etc/etc.sgi/fbtab
new file mode 100644
index 00000000000..9216d258e64
--- /dev/null
+++ b/etc/etc.sgi/fbtab
@@ -0,0 +1 @@
+/dev/tty00 0600 /dev/console
diff --git a/etc/etc.sgi/sysctl.conf b/etc/etc.sgi/sysctl.conf
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/etc/etc.sgi/sysctl.conf
diff --git a/etc/etc.sgi/ttys b/etc/etc.sgi/ttys
new file mode 100644
index 00000000000..7eade2beb9c
--- /dev/null
+++ b/etc/etc.sgi/ttys
@@ -0,0 +1,10 @@
+#
+# $OpenBSD: ttys,v 1.1 2004/08/06 21:58:22 pefo Exp $
+#
+# name getty type status comments
+#
+console "/usr/libexec/getty std.9600" unknown off secure
+tty00 "/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