Hi,

I've just noticed that "sh MAKEDEV acd1" doesn't produce node for acd1 due to
incorrect comparasion in the "while" loop. This affecting both 4.0-STABLE and
5.0-CURRENT. With this message I'm attaching short patch which should solve
this little problem.

-Maxim
--- MAKEDEV     2000/05/06 08:25:52     1.1
+++ MAKEDEV     2000/05/06 08:26:14
@@ -795,7 +795,7 @@
        fi
        if [ "${units}" -le 31 ]; then
                i=0
-               while [ $i -lt $units ]; do
+               while [ $i -le $units ]; do
                        dname=$name$i
                        rm -rf ${dname}* r${dname}*
                        mknod ${dname}a c $chr $(($i * 8)) root:operator

Reply via email to