DragonFly BSD
DragonFly submit List (threaded) for 2003-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

fix release/scripts/doFS.sh


From: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
Date: Mon, 25 Aug 2003 18:58:09 +0200

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
Description: PGP signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]