[DRBD-cvs] r1533 - trunk

svn at svn.drbd.org svn at svn.drbd.org
Thu Sep 9 16:17:41 CEST 2004


Author: phil
Date: 2004-09-09 16:17:38 +0200 (Thu, 09 Sep 2004)
New Revision: 1533

Modified:
   trunk/drbd.spec.in
Log:
Fix for drbd.spec
Create the /dev/drbd? files at installtion. 


Modified: trunk/drbd.spec.in
===================================================================
--- trunk/drbd.spec.in	2004-09-06 10:44:54 UTC (rev 1532)
+++ trunk/drbd.spec.in	2004-09-09 14:17:38 UTC (rev 1533)
@@ -150,6 +150,11 @@
 %post
 chkconfig --add drbd
 
+for i in `seq 0 15` ; do 
+    test -b /dev/drbd$i || mknod /dev/drbd$i b 147 $i; 
+done
+
+
 %preun
 if type -p service ; then
 	service drbd stop



More information about the drbd-cvs mailing list