summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/MAKEDEV3
-rw-r--r--etc/etc.i386/MAKEDEV3
2 files changed, 6 insertions, 0 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index 48c12c85c151..e1b0544c4165 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -481,7 +481,10 @@ worm*)
unit=0
fi
chr=62
+ blk=23
name=worm
+ rm -f ${name}${unit}
+ mknod ${name}${unit} b $blk ${unit}
rm -f r${name}${unit}
mknod r${name}${unit} c $chr ${unit}
rm -f r${name}${unit}.ctl
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 48c12c85c151..e1b0544c4165 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -481,7 +481,10 @@ worm*)
unit=0
fi
chr=62
+ blk=23
name=worm
+ rm -f ${name}${unit}
+ mknod ${name}${unit} b $blk ${unit}
rm -f r${name}${unit}
mknod r${name}${unit} c $chr ${unit}
rm -f r${name}${unit}.ctl