diff options
author | gvf <gvf@cvs.openbsd.org> | 1997-04-23 20:39:07 +0000 |
---|---|---|
committer | gvf <gvf@cvs.openbsd.org> | 1997-04-23 20:39:07 +0000 |
commit | 708bf5c385f6bf823dcea5fc5fa0fd8b6ad0a723 (patch) | |
tree | 3f576a8470cc631912baa513b3a3f14c0cb12750 /etc/etc.wgrisc | |
parent | 616dc84ff029620576cad6e2345c4de438fb3ea2 (diff) |
Fix vnd nodes.
Diffstat (limited to 'etc/etc.wgrisc')
-rw-r--r-- | etc/etc.wgrisc/MAKEDEV | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/etc.wgrisc/MAKEDEV b/etc/etc.wgrisc/MAKEDEV index f6f2b8a38f4..31dbf231dde 100644 --- a/etc/etc.wgrisc/MAKEDEV +++ b/etc/etc.wgrisc/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.1 1997/04/09 09:04:43 pefo Exp $ +# $OpenBSD: MAKEDEV,v 1.2 1997/04/23 20:39:05 gvf Exp $ # @(#)MAKEDEV 8.1 (Berkeley) 6/9/93 # @@ -124,8 +124,6 @@ cd*|sd*|vnd*) 0|1|2|3|4|5|6) mknod ${name}${unit}c b $blk `expr $unit '*' 16 + 2` mknod r${name}${unit}c c $chr `expr $unit '*' 16 + 2` - if [ $name != vnd ] - then mknod ${name}${unit}a b $blk `expr $unit '*' 16 + 0` mknod ${name}${unit}b b $blk `expr $unit '*' 16 + 1` mknod ${name}${unit}d b $blk `expr $unit '*' 16 + 3` @@ -156,7 +154,6 @@ cd*|sd*|vnd*) 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` - fi chown root.operator ${name}${unit}[a-p] r${name}${unit}[a-p] chmod 640 ${name}${unit}[a-p] r${name}${unit}[a-p] ;; |