Browse Source

Create some previously missing device nodes, ksyms, uk, and ss.

OPENBSD_2_4
rahnds 26 years ago
parent
commit
c19ae50407
1 changed files with 22 additions and 3 deletions
  1. +22
    -3
      src/etc/etc.powerpc/MAKEDEV

+ 22
- 3
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.18 1998/09/16 04:04:38 rahnds Exp $
# $OpenBSD: MAKEDEV,v 1.19 1998/09/16 04:18:11 rahnds 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.
@ -93,7 +93,7 @@ all)
sh MAKEDEV tty00 tty01 pty0 sh MAKEDEV tty00 tty01 pty0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 tun3 sh MAKEDEV tun0 tun1 tun2 tun3
sh MAKEDEV random
sh MAKEDEV random uk0 uk1 ss0 ss1
sh MAKEDEV lkm sh MAKEDEV lkm
sh MAKEDEV local sh MAKEDEV local
;; ;;
@ -110,7 +110,7 @@ ramdisk)
std) std)
rm -f console drum kmem mem reload zero null tty rm -f console drum kmem mem reload zero null tty
rm -f klog stdin stdout stderr
rm -f klog stdin stdout stderr ksyms
mknod console c 0 0 mknod console c 0 0
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
@ -123,6 +123,7 @@ std)
mknod stdin c 21 0 ; chmod 666 stdin mknod stdin c 21 0 ; chmod 666 stdin
mknod stdout c 21 1 ; chmod 666 stdout mknod stdout c 21 1 ; chmod 666 stdout
mknod stderr c 21 2 ; chmod 666 stderr mknod stderr c 21 2 ; chmod 666 stderr
mknod ksyms c 43 0 ; chmod 640 ksyms ; chown root.kmem ksyms
;; ;;
fd) fd)
@ -430,6 +431,24 @@ random|srandom|urandom|prandom|arandom)
chown root.wheel random srandom urandom prandom arandom chown root.wheel random srandom urandom prandom arandom
chmod 644 random srandom urandom prandom arandom chmod 644 random srandom urandom prandom arandom
;; ;;
uk*)
unit=`expr $i : 'uk\(.*\)'`
rm -f uk$unit
mknod uk$unit c 41 $unit
chown root.operator uk$unit
chmod 640 uk$unit
;;
ss*)
unit=`expr $i : 'ss\(.*\)'`
rm -f ss$unit
mknod ss$unit c 42 $unit
chown root.operator ss$unit
chmod 440 ss$unit
# backwards compatibility with older PINTs
rm -f scan$unit
ln -s ss$unit scan$unit
;;
local) local)
umask 0 umask 0


Loading…
Cancel
Save