|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh - |
|
|
#!/bin/sh - |
|
|
# |
|
|
# |
|
|
# $OpenBSD: MAKEDEV,v 1.28 1998/11/25 04:58:54 millert Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: MAKEDEV,v 1.29 1999/05/01 06:28:47 downsj 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. |
|
@ -157,7 +157,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 ; chown root.kmem drum |
|
|
mknod drum c 3 0 ; chmod 640 drum ; chown root.kmem drum |
|
|
mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem |
|
|
mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem |
|
@ -170,6 +170,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 37 0 ; chmod 640 ksyms ; chown root.kmem ksyms |
|
|
;; |
|
|
;; |
|
|
|
|
|
|
|
|
fd) |
|
|
fd) |
|
|