|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh - |
|
|
|
# |
|
|
|
# $OpenBSD: MAKEDEV,v 1.21 1997/04/29 17:26:28 niklas Exp $ |
|
|
|
# $OpenBSD: MAKEDEV,v 1.22 1997/04/30 08:17:56 grr Exp $ |
|
|
|
# |
|
|
|
# Copyright (c) 1990 The Regents of the University of California. |
|
|
|
# All rights reserved. |
|
|
@ -337,12 +337,12 @@ ccd*|sd*|xd*|xy*|cd*|vnd*) |
|
|
|
done |
|
|
|
fi |
|
|
|
rm -f $name$unit? r$name$unit? |
|
|
|
minor=`mult $unit 8` |
|
|
|
minor=`mult $unit 16` |
|
|
|
for slice in a b c d e f g h i j k l m n o p |
|
|
|
do |
|
|
|
dev=$name$unit$slice |
|
|
|
mknod $dev b $blk $minor |
|
|
|
mknod r$dev b $chr $minor |
|
|
|
mknod r$dev c $chr $minor |
|
|
|
minor=`add $minor 1` |
|
|
|
done |
|
|
|
chown root.operator $name$unit? r$name$unit? |
|
|
|