From 90cc2fdfd4cc202d6382186826e3090aa100f06a Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 6 Feb 1997 10:02:13 +0000 Subject: [PATCH] make rd device. only make a & c partitions raw & block --- etc/etc.i386/MAKEDEV | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index 99f3e73d89b..5bec0ea53fd 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.35 1996/12/14 18:23:57 millert Exp $ +# $OpenBSD: MAKEDEV,v 1.36 1997/02/06 10:02:13 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. @@ -159,10 +159,12 @@ wt*) rd*) umask 2 ; unit=`expr $i : '.*d\(.*\)'` - mknod rd${unit} b 17 $unit -# mknod rrd${unit} c 9 $unit - chown root.operator rd${unit} rrd${unit} - chmod 640 rd${unit} rrd${unit} + mknod rd${unit}a b 17 `expr $unit '*' 16 + 0` + mknod rd${unit}c b 17 `expr $unit '*' 16 + 2` + mknod rrd${unit}a c 47 `expr $unit '*' 16 + 0` + mknod rrd${unit}c c 47 `expr $unit '*' 16 + 2` + chown root.operator rd${unit}[ac] rrd${unit}[ac] + chmod 640 rd${unit}[ac] rrd${unit}[ac] umask 77 ;; -- 2.20.1