Browse Source

Populate /etc for luna88k

OPENBSD_3_6
miod 20 years ago
parent
commit
0637018130
7 changed files with 172 additions and 2 deletions
  1. +3
    -2
      src/etc/Makefile
  2. +101
    -0
      src/etc/etc.luna88k/MAKEDEV.md
  3. +16
    -0
      src/etc/etc.luna88k/Makefile.inc
  4. +38
    -0
      src/etc/etc.luna88k/disktab
  5. +4
    -0
      src/etc/etc.luna88k/fbtab
  6. +0
    -0
      src/etc/etc.luna88k/sysctl.conf
  7. +10
    -0
      src/etc/etc.luna88k/ttys

+ 3
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.201 2004/02/29 18:02:14 deraadt Exp $
# $OpenBSD: Makefile,v 1.202 2004/04/21 18:23:40 miod Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -334,6 +334,7 @@ MAKEDEVARCHS+= cats
MAKEDEVARCHS+= hp300
MAKEDEVARCHS+= hppa
MAKEDEVARCHS+= i386
MAKEDEVARCHS+= luna88k
MAKEDEVARCHS+= mac68k
MAKEDEVARCHS+= macppc
MAKEDEVARCHS+= mvme68k
@ -377,7 +378,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
echo '# $$OpenBSD: Makefile,v 1.201 2004/02/29 18:02:14 deraadt Exp $$'; \
echo '# $$OpenBSD: Makefile,v 1.202 2004/04/21 18:23:40 miod Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \


+ 101
- 0
src/etc/etc.luna88k/MAKEDEV.md View File

@ -0,0 +1,101 @@
vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.1 2004/04/21 18:23:44 miod Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
dnl
dnl Permission to use, copy, modify, and distribute this software for any
dnl purpose with or without fee is hereby granted, provided that the above
dnl copyright notice and this permission notice appear in all copies.
dnl
dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl
dnl
dnl *** luna88k-specific devices
dnl
__devitem(sio, ttya, On-board serial console port)dnl
_mkdev(sio, {-ttya-},
{- M ttya c major_sio_c 0 660 dialer uucp
M cuaa c major_sio_c 128 660 dialer uucp -})dnl
dnl
dnl *** MAKEDEV itself
dnl
_TITLE(make)
dnl
dnl all)
dnl
dnl
target(all, ses, 0)dnl
target(all, ch, 0)dnl
target(all, ss, 0)dnl
target(all, xfs, 0)dnl
target(all, pty, 0)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, rd, 0)dnl
target(all, cd, 0, 1)dnl
target(all, sd, 0, 1, 2, 3, 4)dnl
target(all, uk, 0)dnl
target(all, vnd, 0, 1, 2, 3)dnl
target(all, ccd, 0, 1, 2, 3)dnl
twrget(all, sio, tty, a)dnl
_DEV(all)
dnl
dnl ramdisk)
dnl
target(ramd, sd, 0, 1, 2, 3, 4)dnl
target(ramd, st, 0, 1)dnl
target(ramd, cd, 0, 1)dnl)dnl
target(ramd, rd, 0)dnl
twrget(ramd, sio, tty, a)dnl
target(ramd, pty, 0)dnl
_DEV(ramd)
dnl
_DEV(std)
_DEV(local)
dnl
_TITLE(dis)
_DEV(ccd, 17, 9)
_DEV(cd, 9, 6)
_DEV(rd, 18, 7)
_DEV(sd, 8, 4)
_DEV(vnd, 19, 8)
_TITLE(tap)
_DEV(ch, 44)
_DEV(st, 20, 5)
_TITLE(term)
_DEV(sio, 12)
_TITLE(pty)
_DEV(ptm, 52)
_DEV(pty, 5)
_DEV(tty, 4)
_TITLE(cons)
_DEV(wscons)
_DEV(wsdisp, 13)
_DEV(wskbd, 14)
_DEV(wsmux, 16)
_TITLE(point)
_DEV(wsmouse, 15)
_TITLE(spec)
_DEV(bpf, 22)
_DEV(fdesc, 21)
_DEV(lkm, 24)
_DEV(pf, 39)
_DEV(rnd, 40)
_DEV(ss, 42)
_DEV(systrace, 50)
_DEV(tun, 23)
_DEV(uk, 41)
_DEV(xfs, 51)
dnl
divert(__mddivert)dnl
dnl
_std(1, 2, 43, 3, 6)
;;

+ 16
- 0
src/etc/etc.luna88k/Makefile.inc View File

@ -0,0 +1,16 @@
# $OpenBSD: Makefile.inc,v 1.1 2004/04/21 18:23:44 miod Exp $
# etc.luna88k/Makefile.inc -- luna88k-specific etc Makefile targets
.ifdef DESTDIR
snap_md: bsd-generic distrib
cp ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC/bsd \
${DESTDIR}/snapshot/bsd
bsd-generic:
cd ${.CURDIR}/../sys/arch/luna88k/conf && config GENERIC
cd ${.CURDIR}/../sys/arch/luna88k/compile/GENERIC && \
${MAKE} clean && ${MAKE} depend && ${MAKE}
.PHONY: bsd-generic
.endif # DESTDIR check

+ 38
- 0
src/etc/etc.luna88k/disktab View File

@ -0,0 +1,38 @@
# $OpenBSD: disktab,v 1.1 2004/04/21 18:23:44 miod 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-p] partition sizes in sectors
# b[a-p] partition block sizes in bytes
# f[a-p] 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.
#
# 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#128:\
:ta=4.2BSD:oa#0:pa#4096:fa#512:ba#4096\
:ob#0:pb#0:oc#0:pc#4096:
miniroot|Installation root-on-swap FS image:\
:ty=simulated:se#512:ns#32:nt#8:nc#64:\
:ta=4.2BSD:oa#0:pa#16384:\
:ob#0:pb#0:oc#0:pc#16384:

+ 4
- 0
src/etc/etc.luna88k/fbtab View File

@ -0,0 +1,4 @@
/dev/console 0600 /dev/ttyC0:/dev/wskbd0:/dev/wsmouse0:/dev/ttya:/dev/ttyCcfg
/dev/ttya 0600 /dev/ttyC0:/dev/wskbd0:/dev/wsmouse0:/dev/console:/dev/ttyCcfg
/dev/ttyC0 0600 /dev/wskbd0:/dev/wsmouse0:/dev/console:/dev/ttya:/dev/ttyCcfg
/dev/X0 0600 /dev/wsmouse:/dev/wskbd:/dev/ttyC0

+ 0
- 0
src/etc/etc.luna88k/sysctl.conf View File


+ 10
- 0
src/etc/etc.luna88k/ttys View File

@ -0,0 +1,10 @@
#
# $OpenBSD: ttys,v 1.1 2004/04/21 18:23:44 miod Exp $
#
# name getty type status comments
#
# If the console is marked insecure, single-user requires
# the root password.
console "/usr/libexec/getty Pc" unknown on secure
# siotty(4) serial console port
ttya "/usr/libexec/getty Pc" unknown off secure # console

Loading…
Cancel
Save