From 2f187b2bd21049c530d5f2f49abe1aa8cea2dcd3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 20 Jul 2008 23:52:50 +0000 Subject: [PATCH] Add mount patch git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7412 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/2.4.1-mount.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 bacula/patches/2.4.1-mount.patch diff --git a/bacula/patches/2.4.1-mount.patch b/bacula/patches/2.4.1-mount.patch new file mode 100644 index 0000000000..c48302d871 --- /dev/null +++ b/bacula/patches/2.4.1-mount.patch @@ -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 + patch -p0 <2.4.1-mount.patch + ./configure + 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); + /* -- 2.39.5