summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-16 04:18:12 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-16 04:18:12 +0000
commit4113d4d14e5bec40376f6fc93db9f772efdeb7c2 (patch)
treec1c4c6ab6651ac20200ae399557928a12707ef04 /etc
parent4dcb90ae7b66c11143e725e260cb3c64837d4859 (diff)
Create some previously missing device nodes, ksyms, uk, and ss.
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.powerpc/MAKEDEV25
1 files changed, 22 insertions, 3 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index 437331805f1..96b1c3676cb 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/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.
# All rights reserved.
@@ -93,7 +93,7 @@ all)
sh MAKEDEV tty00 tty01 pty0
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh MAKEDEV tun0 tun1 tun2 tun3
- sh MAKEDEV random
+ sh MAKEDEV random uk0 uk1 ss0 ss1
sh MAKEDEV lkm
sh MAKEDEV local
;;
@@ -110,7 +110,7 @@ ramdisk)
std)
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 drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
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 stdout c 21 1 ; chmod 666 stdout
mknod stderr c 21 2 ; chmod 666 stderr
+ mknod ksyms c 43 0 ; chmod 640 ksyms ; chown root.kmem ksyms
;;
fd)
@@ -430,6 +431,24 @@ random|srandom|urandom|prandom|arandom)
chown root.wheel 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)
umask 0