#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.9 1996/08/29 13:22:21 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.10 1996/09/18 22:03:37 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod null c 2 2 ; chmod 666 null
mknod zero c 2 12 ; chmod 666 zero
mknod tty c 1 0 ; chmod 666 tty
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- 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
;;
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
esac
rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.13 1996/08/29 13:22:22 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.14 1996/09/18 22:03:38 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.21 1996/05/19 21:03:49 veego Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
rm -f console drum kmem mem reload null zero tty
rm -f klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod reload c 2 20 ; chmod 600 reload
mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
mknod fd${unit}b b 2 `expr $unit '*' 16 + 1`
mknod rfd${unit}a c 18 `expr $unit '*' 16`
mknod rfd${unit}b c 18 `expr $unit '*' 16 + 1`
- chgrp operator fd$unit? rfd$unit?
+ chown root.operator fd$unit? rfd$unit?
chmod 640 fd$unit? rfd$unit?
;;
*)
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]
;;
*)
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]
;;
*)
rm -f tty0${unit} ttym${unit}
mknod tty0${unit} c 12 0
mknod ttym${unit} c 12 128
- chown uucp:wheel tty0${unit} ttym${unit}
+ chown uucp.wheel tty0${unit} ttym${unit}
;;
*)
echo bad unit for tty0 in: $i
rm -f ttyA${unit} ttyM${unit}
mknod ttyA${unit} c 17 $unit
mknod ttyM${unit} c 17 `expr 128 + $unit`
- chown uucp:wheel ttyA${unit} ttyM${unit}
+ chown uucp.wheel ttyA${unit} ttyM${unit}
;;
*)
echo bad unit for ttyA in: $i
lkm)
rm -f lkm
mknod lkm c 24 0
- chown root:kmem lkm
+ chown root.kmem lkm
chmod 640 lkm
;;
#!/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
#
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
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}
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]
;;
*)
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
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.5 1996/08/28 08:55:22 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.6 1996/09/18 22:03:40 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/04/26 20:10:24 mark Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
std)
rm -f console drum mem kmem null zero tty klog stdin stdout stderr kbd
rm -f kbdctl vidcvideo0 vidc iic rtc0
- mknod mem c 0 0 ; chmod 640 mem ; chgrp kmem mem
- mknod kmem c 0 1 ; chmod 640 kmem ; chgrp kmem kmem
+ mknod mem c 0 0 ; chmod 640 mem ; chown root.kmem mem
+ mknod kmem c 0 1 ; chmod 640 kmem ; chown root.kmem kmem
mknod null c 0 2 ; chmod 666 null
mknod zero c 0 3 ; chmod 666 zero
- mknod drum c 1 0 ; chmod 640 drum ; chgrp kmem drum
+ mknod drum c 1 0 ; chmod 640 drum ; chown root.kmem drum
mknod console c 2 0
mknod tty c 3 0 ; chmod 666 tty
mknod klog c 5 0 ; chmod 600 klog
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- 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
;;
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
esac
rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
esac
rm -f $name$unit
mknod ${name}${unit} c $chr $unit
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
esac
rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
- 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
;;
rm -f console drum kmem mem nvram reload null zero tty
rm -f klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
- mknod nvram c 2 11 ; chmod 640 nvram ; chgrp kmem nvram
- mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
+ mknod nvram c 2 11 ; chmod 640 nvram ; chown root.kmem nvram
+ mknod reload c 2 20 ; chmod 640 reload ; chown root.kmem reload
mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null
mknod tty c 1 0 ; chmod 666 tty
ser02)
rm -f ser02
mknod ser02 c 7 0
- chown uucp:wheel ser02
+ chown uucp.wheel ser02
;;
mdm02)
rm -f mdm02
mknod mdm02 c 7 16
- chown uucp:wheel mdm02
+ chown uucp.wheel mdm02
;;
st*)
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
mknod rfd${unit}a c 16 `expr $unit '*' 16`
mknod rfd${unit}b c 16 `expr $unit '*' 16 + 1`
mknod rfd${unit}c c 16 `expr $unit '*' 16 + 2`
- chgrp operator fd$unit? rfd$unit?
+ chown root.operator fd$unit? rfd$unit?
chmod 640 fd$unit? rfd$unit?
;;
*)
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]
;;
*)
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
- 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]
;;
*)
lkm)
rm -f lkm
mknod lkm c 20 0
- chown root:kmem lkm
+ chown root.kmem lkm
chmod 640 lkm
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.7 1996/07/23 06:32:55 etheisen Exp $
+# $OpenBSD: MAKEDEV,v 1.8 1996/09/18 22:03:42 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
std)
rm -f console drum kmem mem null zero tty klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod null c 2 2 ; chmod 666 null
mknod zero c 2 12 ; chmod 666 zero
mknod tty c 1 0 ; chmod 666 tty
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- 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]
;;
*)
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.23 1996/09/16 03:43:34 tholo Exp $
+# $OpenBSD: MAKEDEV,v 1.24 1996/09/18 22:03:42 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
mknod console c 0 0
- mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum
- mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ mknod drum c 4 0 ; chmod 640 drum ; chown root.kmem drum
+ mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem
+ mknod mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod null c 2 2 ; chmod 666 null
mknod zero c 2 12 ; chmod 666 zero
- mknod io c 2 14 ; chmod 640 io ; chgrp kmem io
+ mknod io c 2 14 ; chmod 640 io ; chown root.kmem io
mknod tty c 1 0 ; chmod 666 tty
mknod klog c 7 0 ; chmod 600 klog
mknod stdin c 22 0 ; chmod 666 stdin
mknod n$name$unit b $blk `expr $unit '*' 8 + 4`
mknod r$name$unit c $chr `expr $unit '*' 8 + 0`
mknod nr$name$unit c $chr `expr $unit '*' 8 + 4`
- chgrp operator $name$unit n$name$unit r$name$unit nr$name$unit
+ chown root.operator $name$unit n$name$unit r$name$unit nr$name$unit
chmod 640 $name$unit n$name$unit r$name$unit nr$name$unit
umask 77
;;
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
mknod rd${unit} b 17 $unit
# mknod rrd${unit} c 9 $unit
- chgrp operator rd${unit} rrd${unit}
+ chown root.operator rd${unit} rrd${unit}
chmod 640 rd${unit} rrd${unit}
umask 77
;;
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13`
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
- 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]
umask 77
;;
mknod nr$name$unit c $chr `expr $unit '*' 16 + 1`
mknod er$name$unit c $chr `expr $unit '*' 16 + 2`
mknod enr$name$unit c $chr `expr $unit '*' 16 + 3`
- chgrp operator $name$unit n$name$unit e$name$unit en$name$unit \
+ chown root.operator $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
chmod 640 $name$unit n$name$unit e$name$unit en$name$unit \
r$name$unit nr$name$unit er$name$unit enr$name$unit
esac
rm -f $name$unit
mknod $name$unit c $chr `expr $unit '*' 16 + 0`
- chgrp operator $name$unit
+ chown root.operator $name$unit
chmod 640 $name$unit
umask 77
;;
mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 16 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 16 + 3`
- 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
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.7 1996/08/28 08:55:24 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.8 1996/09/18 22:03:43 deraadt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
rm -f console drum kmem mem reload zero null tty
rm -f klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
- mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
+ mknod reload c 2 20 ; chmod 640 reload ; chown root.kmem reload
mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null
mknod tty c 1 0 ; chmod 666 tty
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- 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]
;;
*)
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
case $unit in
0|1|2|3|4|5|6)
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
;;
*)
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
- 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]
;;
*)
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.10 1996/08/28 08:55:25 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.11 1996/09/18 22:03:44 deraadt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: MAKEDEV,v 1.10 1996/08/28 08:55:25 deraadt Exp $
+# $Id: MAKEDEV,v 1.11 1996/09/18 22:03:44 deraadt Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
rm -f console drum kmem mem null zero tty
rm -f klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null
mknod tty c 1 0 ; chmod 666 tty
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
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]
;;
*)
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]
;;
*)
rm -f tty0${unit} cua0${unit}
mknod tty0${unit} c 13 ${unit}
mknod cua0${unit} c 13 `expr 128 + ${unit}`
- chown uucp:wheel tty0${unit} cua0${unit}
+ chown uucp.wheel tty0${unit} cua0${unit}
;;
*)
echo bad unit for tty0 in: $i
rm -f tty${unit} cua${unit}
mknod tty${unit} c 12 ${num}
mknod cua${unit} c 12 `expr 128 + ${num}`
- chown uucp:wheel tty${unit} cua${unit}
+ chown uucp.wheel tty${unit} cua${unit}
;;
*)
echo bad type for tty in: $i
mknod rd$unit b 9 $unit
# mknod rrd$unit b ??? `expr $unit + 16`
mknod rd${unit}c b 9 `expr $unit + 16`
- chgrp operator rd$unit rd${unit}c
+ chown root.operator rd$unit rd${unit}c
chmod 640 rd$unit rd${unit}c
;;
lkm)
rm -f lkm
mknod lkm c 24 0
- chown root:kmem lkm
+ chown root.kmem lkm
chmod 640 lkm
;;
vmes*) maj=32;;
esac
mknod $i c ${maj} 0
- chown root:kmem $i
+ chown root.kmem $i
chmod 640 $i
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.6 1996/08/28 08:55:26 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.7 1996/09/18 22:03:45 deraadt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
mknod console c 0 0
- mknod drum c 4 0 ; chmod 640 drum ; chgrp kmem drum
- mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
+ mknod drum c 4 0 ; chmod 640 drum ; chown root.kmem drum
+ mknod kmem c 2 1 ; chmod 640 kmem ; chown root.kmem kmem
+ mknod mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
mknod null c 2 2 ; chmod 666 null
mknod zero c 2 12 ; chmod 666 zero
mknod tty c 1 0 ; chmod 666 tty
umask 2 ; unit=`expr $i : '.*d\(.*\)'`
mknod rd${unit} b 3 $unit
mknod rrd${unit} c 9 $unit
- chgrp operator rd${unit} rrd${unit}
+ chown root.operator rd${unit} rrd${unit}
chmod 640 rd${unit} rrd${unit}
umask 77
;;
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
- 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
;;
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
mknod r${name}${unit}d c $chr `expr $unit '*' 8 + 3`
- 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
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.6 1996/08/28 08:55:27 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.7 1996/09/18 22:03:46 deraadt Exp $
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
#
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
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
fi
- 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]
;;
*)
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.8 1996/09/12 05:07:52 downsj Exp $
+# $OpenBSD: MAKEDEV,v 1.9 1996/09/18 22:03:47 deraadt Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
std)
mknod console c 0 0
mknod tty c 2 0 ; chmod 666 tty
- mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem
- mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem
+ 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 eeprom c 3 11 ; chmod 640 eeprom ; chgrp kmem eeprom
+ mknod eeprom c 3 11 ; chmod 640 eeprom ; chown root.kmem eeprom
mknod openprom c 70 0 ; chmod 644 openprom
- mknod drum c 7 0 ; chmod 640 drum ; chgrp kmem drum
+ mknod drum c 7 0 ; chmod 640 drum ; chown root.kmem drum
mknod klog c 16 0 ; chmod 600 klog
mknod stdin c 24 0 ; chmod 666 stdin
mknod stdout c 24 1 ; chmod 666 stdout
mknod r${name}${unit}n c $chr `expr $unit '*' 16 + 13`
mknod r${name}${unit}o c $chr `expr $unit '*' 16 + 14`
mknod r${name}${unit}p c $chr `expr $unit '*' 16 + 15`
- 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]
;;
*)
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
esac
rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.8 1996/08/28 08:55:29 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.9 1996/09/18 22:03:47 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.8 1996/03/03 16:54:17 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
mk klog c 16 0 600
mk fb c 22 0
mk kbd c 29 0
- mk stdin c 23 0
- mk stdout c 23 1
- mk stderr c 23 2
+ mk stdin c 23 0
+ mk stdout c 23 1
+ mk stderr c 23 2
;;
fd)
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.7 1996/08/28 08:55:30 deraadt Exp $
+# $OpenBSD: MAKEDEV,v 1.8 1996/09/18 22:03:48 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.3 1996/01/07 16:53:15 ragge Exp $
#
# @(#)MAKEDEV 8.1 (Berkeley) 6/9/93
std)
mknod console c 0 0
- mknod drum c 7 0 ; chmod 640 drum ; chgrp kmem drum
+ mknod drum c 7 0 ; chmod 640 drum ; chown root.kmem drum
mknod floppy c 8 0
mknod crl c 35 0
mknod csa1 c 51 0
mknod tu0 b 8 0
mknod tu1 b 8 1
mknod kUmem c 3 3 ; chmod 600 kUmem
- mknod kmem c 3 1 ; chmod 640 kmem ; chgrp kmem kmem
- mknod mem c 3 0 ; chmod 640 mem ; chgrp kmem mem
+ 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
mknod r${name}${unit}f c $chr `expr $unit '*' 8 + 5`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
fi
- 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]
;;
*)
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.4 1996/07/23 06:33:01 etheisen Exp $
+# $OpenBSD: MAKEDEV,v 1.5 1996/09/18 22:03:49 deraadt Exp $
# $NetBSD: MAKEDEV,v 1.1.1.1.4.1 1996/06/17 02:36:16 oki Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: MAKEDEV,v 1.4 1996/07/23 06:33:01 etheisen Exp $
+# $Id: MAKEDEV,v 1.5 1996/09/18 22:03:49 deraadt Exp $
#
# from:
# hp300/MAKEDEV (1/15/94), from:
rm -f console drum kmem mem reload null zero tty
rm -f klog stdin stdout stderr
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
- mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
- mknod reload c 2 20 ; chmod 640 mem ; chgrp kmem mem
+ 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 mem c 2 0 ; chmod 640 mem ; chown root.kmem mem
+ mknod reload c 2 20 ; chmod 640 mem ; chown root.kmem mem
mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null
mknod tty c 1 0 ; chmod 666 tty
mknod nr${name}${unit} c $chr `expr $unit '*' 16 + 1`
mknod er${name}${unit} c $chr `expr $unit '*' 16 + 2`
mknod enr${name}${unit} c $chr `expr $unit '*' 16 + 3`
- chgrp operator ${name}${unit} n${name}${unit} \
+ chown root.operator ${name}${unit} n${name}${unit} \
e$name$unit en$name$unit \
r${name}${unit} nr${name}${unit} \
er${name}${unit} enr${name}${unit}
mknod rfd${unit}f c 18 `expr $unit '*' 8 + 5`
mknod rfd${unit}g c 18 `expr $unit '*' 8 + 6`
mknod rfd${unit}h c 18 `expr $unit '*' 8 + 7`
- chgrp operator fd$unit? rfd$unit?
+ chown root.operator fd$unit? rfd$unit?
chmod 640 fd$unit? rfd$unit?
;;
*)
mknod r${name}${unit}g c $chr `expr $unit '*' 8 + 6`
mknod r${name}${unit}h c $chr `expr $unit '*' 8 + 7`
fi
- 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]
;;
*)
mknod ${name}${unit}a b $blk `expr $unit '*' 8 + 0`
mknod ${name}${unit}d b $blk `expr $unit '*' 8 + 3`
mknod r${name}${unit}a c $chr `expr $unit '*' 8 + 0`
- 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]
;;
*)
esac
rm -f $name$unit
mknod ${name}${unit} c $chr `expr $unit '*' 16 + 0`
- chgrp operator ${name}${unit}
+ chown root.operator ${name}${unit}
chmod 640 ${name}${unit}
umask 77
;;
rm -f tty0${unit} ttym${unit}
mknod tty0${unit} c 12 $unit
mknod ttym${unit} c 12 `expr 128 + $unit`
- chown uucp:wheel tty0${unit} ttym${unit}
+ chown uucp.wheel tty0${unit} ttym${unit}
;;
*)
echo bad unit for ser in: $i
0|1)
rm -f com${unit}
mknod com${unit} c 16 $unit
- chown uucp:wheel com${unit}
+ chown uucp.wheel com${unit}
;;
*)
echo bad unit for com in: $i
unit=`expr $i : 'bpf\(.*\)'`
rm -f bpf$unit
mknod bpf$unit c 22 $unit
- chown root:wheel bpf$unit
+ chown root.wheel bpf$unit
;;
tun*)
rm -f tun$unit
mknod tun$unit c 31 $unit
chmod 600 tun$unit
- chown root:wheel tun$unit
+ chown root.wheel tun$unit
;;
lkm)
rm -f lkm
mknod lkm c 24 0
- chown root:kmem lkm
+ chown root.kmem lkm
chmod 640 lkm
;;
mknod adpcm c 17 0
mknod pcm c 17 64
mknod audio c 17 128
- chown root:wheel adpcm pcm audio
+ chown root.wheel adpcm pcm audio
chmod 666 adpcm pcm audio
;;
sram)
rm -f sram
mknod sram c 23 0
- chown root:wheel sram
+ chown root.wheel sram
chmod 644 sram
;;
bell*)
rm -f bell
mknod bell c 33 0
- chown root:wheel bell
+ chown root.wheel bell
chmod 666 bell
;;