diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-06 10:02:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-02-06 10:02:14 +0000 |
commit | 60bbd17ed1748d5877f33a7bc472da2ec879acff (patch) | |
tree | 14cd63c4b12e3d6a0484bcd021616ca1b633a51a /etc | |
parent | 1ce8fe88d699d1ded2301dff378451b876081275 (diff) |
make rd device. only make a & c partitions raw & block
Diffstat (limited to 'etc')
-rw-r--r-- | etc/etc.i386/MAKEDEV | 12 |
1 files 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 ;; |