diff options
Diffstat (limited to 'etc/etc.arc/MAKEDEV')
-rw-r--r-- | etc/etc.arc/MAKEDEV | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/etc.arc/MAKEDEV b/etc/etc.arc/MAKEDEV index 6b71b02c199..a4208a4c9b9 100644 --- a/etc/etc.arc/MAKEDEV +++ b/etc/etc.arc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.7 1996/09/18 08:46:57 pefo Exp $ +# $OpenBSD: MAKEDEV,v 1.8 1996/09/18 22:03:39 deraadt Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -58,9 +58,9 @@ all) std) mknod console c 0 0 - mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum - mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem - mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem + mknod drum c 1 0 ; chmod 640 drum ; chown root.kmem drum + mknod kmem c 3 1 ; chmod 640 kmem ; chown root.kmem kmem + mknod mem c 3 0 ; chmod 640 mem ; chown root.kmem mem mknod null c 3 2 ; chmod 666 null mknod zero c 3 12 ; chmod 666 zero mknod tty c 2 0 ; chmod 666 tty @@ -121,7 +121,7 @@ st*) mknod nr${name}${unit} c $chr $unit1 mknod r${name}h${unit} c $chr $unit2 mknod nr${name}h${unit} c $chr $unit3 - chgrp operator r${name}${unit} nr${name}${unit} \ + chown root.operator r${name}${unit} nr${name}${unit} \ r${name}h${unit} nr${name}h${unit} chmod 640 r${name}${unit} nr${name}${unit} \ r${name}h${unit} nr${name}h${unit} @@ -197,7 +197,7 @@ fd*|sd*|vnd*) mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14` mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15` fi - chgrp operator ${name}${unit}[a-p] r${name}${unit}[a-p] + chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] ;; *) @@ -217,7 +217,7 @@ cd*) mknod ${name}${unit}c b $blk `expr $unit '*' 8 + 2` mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0` mknod r${name}${unit}c c $chr `expr $unit '*' 8 + 2` - chgrp operator ${name}${unit}[a-h] r${name}${unit}[a-h] + chown root.operator ${name}${unit}[a-h] r${name}${unit}[a-h] chmod 640 ${name}${unit}[a-h] r${name}${unit}[a-h] umask 77 ;; |