Browse Source

add /dev/pci

OPENBSD_3_0
matthieu 23 years ago
parent
commit
3771e9556c
2 changed files with 17 additions and 2 deletions
  1. +8
    -1
      src/etc/etc.i386/MAKEDEV
  2. +9
    -1
      src/etc/etc.powerpc/MAKEDEV

+ 8
- 1
src/etc/etc.i386/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: MAKEDEV,v 1.97 2001/06/21 13:24:02 nate Exp $
# $OpenBSD: MAKEDEV,v 1.98 2001/06/23 03:34:34 matthieu Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@ -742,6 +742,13 @@ wdt*)
chmod 0440 wdt$unit
;;
pci*)
rm -f pci
mknod pci c 72 0
chown root.kmem pci
chmod 660 pci
;;
local)
umask 0
test -s $this.local && sh $this.local


+ 9
- 1
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.46 2001/06/23 02:29:30 drahn Exp $
# $OpenBSD: MAKEDEV,v 1.47 2001/06/23 03:34:34 matthieu Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -161,6 +161,7 @@ all)
sh $this audio0
sh $this random uk0 uk1 ss0 ss1
sh $this wscons
sh $this pci
sh $this lkm xfs0
sh $this usbs
sh $this local
@ -553,6 +554,13 @@ lkm)
chmod 640 lkm
;;
pci*)
rm -f pci
mknod pci c 71 0
chown root.kmem pci
chmod 660 pci
;;
random|srandom|urandom|prandom|arandom)
rm -f random urandom srandom prandom arandom
mknod random c 40 0


Loading…
Cancel
Save