[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula: [6158]
From:       kerns () users ! sourceforge ! net
Date:       2007-12-29 18:19:06
Message-ID: E1J8gH4-0003aY-Mk () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 6158
          http://bacula.svn.sourceforge.net/bacula/?rev=6158&view=rev
Author:   kerns
Date:     2007-12-29 10:19:05 -0800 (Sat, 29 Dec 2007)

Log Message:
-----------
Create /dev/loop2 if it doesn't exist

Modified Paths:
--------------
    trunk/rescue/linux/cdrom/makeinitrd

Modified: trunk/rescue/linux/cdrom/makeinitrd
===================================================================
--- trunk/rescue/linux/cdrom/makeinitrd	2007-12-29 17:45:12 UTC (rev 6157)
+++ trunk/rescue/linux/cdrom/makeinitrd	2007-12-29 18:19:05 UTC (rev 6158)
@@ -10,6 +10,13 @@
 # RAM disk image (initrd) is is in the roottree directory. 
 
 echo "Creating the Initial RAM disk image.... "
+if test ! -b /dev/loop2; then
+  mknod /dev/loop2 b 7 2
+  if [ $? != 0 ] ; then
+     echo "Cannot create /dev/loop2"
+     exit 1
+  fi
+fi
 
 # first find out how much space we need. 
 ISIZE=`du -s -k  roottree/ | awk '{print $1}'`


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic