]> git.sur5r.net Git - bacula/bacula/commitdiff
Add mount patch
authorKern Sibbald <kern@sibbald.com>
Sun, 20 Jul 2008 23:52:50 +0000 (23:52 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 20 Jul 2008 23:52:50 +0000 (23:52 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7412 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/patches/2.4.1-mount.patch [new file with mode: 0644]

diff --git a/bacula/patches/2.4.1-mount.patch b/bacula/patches/2.4.1-mount.patch
new file mode 100644 (file)
index 0000000..c48302d
--- /dev/null
@@ -0,0 +1,29 @@
+
+ This patch causes the SD to try at least once to mount a Volume
+ that is not in an Autochanger before asking the operator to
+ intervene. Without it, the user must issue a mount command for
+ every File based volume that is needed.
+
+ Apply to 2.4.1 with the following:
+
+ cd <bacula-source>
+ patch -p0 <2.4.1-mount.patch
+ ./configure <your-options>
+ make
+ ...
+ make install
+
+
+Index: src/stored/mount.c
+===================================================================
+--- src/stored/mount.c (revision 7378)
++++ src/stored/mount.c (working copy)
+@@ -142,7 +142,7 @@
+    } else {
+       autochanger = false;
+       VolCatInfo.Slot = 0;
+-      ask = true;
++      ask = retry >= 2;
+    }
+    Dmsg1(150, "autoload_dev returns %d\n", autochanger);
+    /*