fix release/scripts/doFS.sh

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Aug 25 09:58:09 PDT 2003


i found another problem in the release building process:
/usr/src/release/scripts/doFS.sh uses outdated block/char device stuff.
i really don't know why this hasn't bitten anybody yet before me.

attached patch fixes the problem (and syncs behaviour with /dev/MAKEDEV)

apart from that release building should work now on this machine and a
ftp download/install area will be provided soon (just floppy/online
install, no cdrom yet)

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
--- /usr/src/release/scripts/doFS.sh	Tue Jun 17 04:27:21 2003
+++ usr/src/release/scripts/doFS.sh	Mon Aug 25 18:35:01 2003
@@ -39,10 +39,10 @@
     VNDEVICE=vnn$u
 
     rm -f /dev/*vnn*
-    mknod /dev/rvnn${u} c 43 `expr 65538 + $u '*' 8`
-    mknod /dev/rvnn${u}c c 43 `expr 2 + $u '*' 8`
-    mknod /dev/vnn${u} b 15 `expr 65538 + $u '*' 8`
-    mknod /dev/vnn${u}c b 15 `expr 2 + $u '*' 8`
+    mknod /dev/vnn${u} c 43 `expr 65538 + $u '*' 8`
+    ln -s /dev/vnn${u} /dev/rvnn${u}
+    mknod /dev/vnn${u}c c 43 `expr 2 + $u '*' 8`
+    ln -s /dev/vnn${u}c /dev/rvnn${u}c
 
     while true 
     do
Attachment:
pgp00003.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20030825/ba7d684e/attachment-0016.obj>


More information about the Submit mailing list