Browse Source

update from netbsd

OPENBSD_2_0
deraadt 29 years ago
parent
commit
e460cf82e7
11 changed files with 67 additions and 80 deletions
  1. +4
    -4
      src/etc/etc.alpha/disktab
  2. +1
    -1
      src/etc/etc.amiga/MAKEDEV
  3. +1
    -1
      src/etc/etc.amiga/Makefile.inc
  4. +1
    -1
      src/etc/etc.amiga/disktab
  5. +1
    -1
      src/etc/etc.atari/ttys
  6. +1
    -1
      src/etc/etc.hp300/MAKEDEV
  7. +54
    -67
      src/etc/etc.i386/MAKEDEV
  8. +1
    -1
      src/etc/etc.pc532/disktab
  9. +1
    -1
      src/etc/etc.sparc/disktab
  10. +1
    -1
      src/etc/etc.sun3/MAKEDEV
  11. +1
    -1
      src/etc/etc.sun3/disktab

+ 4
- 4
src/etc/etc.alpha/disktab View File

@ -1,10 +1,10 @@
# $NetBSD: disktab,v 1.1 1995/02/23 05:59:32 cgd Exp $
# $NetBSD: disktab,v 1.2 1995/10/13 03:09:39 cgd Exp $
# A DEC RZ25, configured so that all of the free partition IDs are at # 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... # the end, etc. A good setup to make a disk image from...
rz25|RZ25|DEC RZ25 SCSI:\ rz25|RZ25|DEC RZ25 SCSI:\
:ty=winchester:dt=SCSI:ns#62:nt#9:nc#1476:\ :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:\
:pa#111600:oa#0:ba#8192:fa#1024:ta=4.2BSD:\
:pb#111600:ob#111600:tb=swap:\
:pc#823608:oc#0:\ :pc#823608:oc#0:\
:pd#544608:od#279000:bd#8192:fd#1024:td=4.2BSD:
:pd#600408:od#223200:bd#8192:fd#1024:td=4.2BSD:

+ 1
- 1
src/etc/etc.amiga/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.17.2.1 1995/10/20 10:30:08 chopps Exp $
# $NetBSD: MAKEDEV,v 1.18 1995/11/28 05:40:18 jtc Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.


+ 1
- 1
src/etc/etc.amiga/Makefile.inc View File

@ -1,7 +1,7 @@
# #
# etc.amiga/Makefile.inc -- amiga-specific etc Makefile targets # etc.amiga/Makefile.inc -- amiga-specific etc Makefile targets
# #
# $NetBSD: Makefile.inc,v 1.6.2.2 1995/11/24 19:44:36 chopps Exp $
# $NetBSD: Makefile.inc,v 1.7 1995/11/28 05:40:21 jtc Exp $
.ifdef DESTDIR .ifdef DESTDIR
snap_md: netbsd-install snap_md: netbsd-install


+ 1
- 1
src/etc/etc.amiga/disktab View File

@ -1,5 +1,5 @@
# #
# $NetBSD: disktab,v 1.3.2.1 1995/11/24 08:00:48 chopps Exp $
# $NetBSD: disktab,v 1.4 1995/11/28 05:40:23 jtc Exp $
# #
# Disk geometry and partition layout tables. # Disk geometry and partition layout tables.
# Key: # Key:


+ 1
- 1
src/etc/etc.atari/ttys View File

@ -1,5 +1,5 @@
# #
# $NetBSD: ttys,v 1.1.1.1.2.1 1995/11/21 07:21:35 leo Exp $
# $NetBSD: ttys,v 1.2 1995/11/28 05:40:26 jtc Exp $
# #
# from: @(#)ttys 5.1 (Berkeley) 4/17/89 # from: @(#)ttys 5.1 (Berkeley) 4/17/89
# #


+ 1
- 1
src/etc/etc.hp300/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.11.2.1 1995/11/07 08:24:41 thorpej Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.


+ 54
- 67
src/etc/etc.i386/MAKEDEV View File

@ -135,10 +135,17 @@ fd)
;; ;;
wt*) 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 2 ; unit=`expr $i : '..\(.*\)'`
case $i in
wt*) name=wt; chr=10; blk=3;;
esac
rm -f $name$unit n$name$unit r$name$unit nr$name$unit
mknod $name$unit b $blk `expr $unit '*' 8 + 0`
mknod n$name$unit b $blk `expr $unit '*' 8 + 4`
mknod r$name$unit c $chr `expr $unit '*' 8 + 0`
mknod nr$name$unit c $chr `expr $unit '*' 8 + 4`
chgrp operator $name$unit n$name$unit r$name$unit nr$name$unit
chmod 640 $name$unit n$name$unit r$name$unit nr$name$unit
umask 77 umask 77
;; ;;
@ -211,22 +218,18 @@ st*)
esac esac
rm -f $name$unit n$name$unit e$name$unit en$name$unit \ 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 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}
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 umask 77
;; ;;
@ -236,9 +239,9 @@ ch*)
ch*) name=ch; chr=17;; ch*) name=ch; chr=17;;
esac esac
rm -f $name$unit rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
chgrp operator ${name}${unit}
chmod 640 ${name}${unit}
mknod $name$unit c $chr `expr $unit '*' 16 + 0`
chgrp operator $name$unit
chmod 640 $name$unit
umask 77 umask 77
;; ;;
@ -258,33 +261,26 @@ cd*|mcd*)
umask 77 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
lpt*|lpa*)
unit=`expr $i : '...\(.*\)'`
case $i in
lpt*) name=lpt; flags=0;;
lpa*) name=lpa; flags=128;;
esac
rm -f $name$unit
mknod $name$unit c 16 `expr $unit + $flags`
chown root.wheel $name$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
bpf*|tun*)
unit=`expr $i : '...\(.*\)'`
case $i in
bpf*) name=bpf; chr=23;;
tun*) name=tun; chr=40;;
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
;; ;;
speaker) # (XXX - installed) speaker) # (XXX - installed)
@ -300,25 +296,16 @@ lkm)
chmod 640 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
mms*|lms*|pms*)
unit=`expr $i : '.ms\(.*\)'`
case $i in
mms*) name=mms; chr=35;;
lms*) name=lms; chr=36;;
pms*) name=pms; chr=37;;
esac
rm -f $name$unit
mknod $name$unit c $chr $unit
chown root.wheel $name$unit
;; ;;
mouse*) # (XXX) mouse*) # (XXX)


+ 1
- 1
src/etc/etc.pc532/disktab View File

@ -1,4 +1,4 @@
# $Id: disktab,v 1.2 1995/10/27 23:58:28 deraadt Exp $
# $Id: disktab,v 1.3 1995/12/15 02:33:10 deraadt Exp $
# #
# PC532 version. # PC532 version.
# #


+ 1
- 1
src/etc/etc.sparc/disktab View File

@ -1,4 +1,4 @@
# $Id: disktab,v 1.4 1995/11/01 17:40:06 deraadt Exp $
# $Id: disktab,v 1.5 1995/12/15 02:33:11 deraadt Exp $
# #
# @(#)disktab 5.5 (Berkeley) 2/27/91 # @(#)disktab 5.5 (Berkeley) 2/27/91
# #


+ 1
- 1
src/etc/etc.sun3/MAKEDEV View File

@ -32,7 +32,7 @@
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91 # @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
# $Id: MAKEDEV,v 1.2 1995/11/23 15:59:42 deraadt Exp $
# $Id: MAKEDEV,v 1.3 1995/12/15 02:33:13 deraadt Exp $
# #
# Device "make" file. Valid arguments: # Device "make" file. Valid arguments:
# std standard devices # std standard devices


+ 1
- 1
src/etc/etc.sun3/disktab View File

@ -1,5 +1,5 @@
# #
# $NetBSD: disktab,v 1.2.2.1 1995/11/21 21:03:50 gwr Exp $
# $NetBSD: disktab,v 1.3 1995/11/21 20:58:33 gwr Exp $
# #
# Disk geometry and partition layout tables. # Disk geometry and partition layout tables.
# Key: # Key:


Loading…
Cancel
Save