]> git.pld-linux.org Git - packages/bacula.git/blame - bacula-mount.patch
- outdated
[packages/bacula.git] / bacula-mount.patch
CommitLineData
0ffa5401
SP
1
2 This patch causes the SD to try at least once to mount a Volume
3 that is not in an Autochanger before asking the operator to
4 intervene. Without it, the user must issue a mount command for
5 every File based volume that is needed.
6
7 Apply to 2.4.1 with the following:
8
9 cd <bacula-source>
10 patch -p0 <2.4.1-mount.patch
11 ./configure <your-options>
12 make
13 ...
14 make install
15
16
17Index: src/stored/mount.c
18===================================================================
19--- src/stored/mount.c (revision 7378)
20+++ src/stored/mount.c (working copy)
21@@ -142,7 +142,7 @@
22 } else {
23 autochanger = false;
24 VolCatInfo.Slot = 0;
25- ask = true;
26+ ask = retry >= 2;
27 }
28 Dmsg1(150, "autoload_dev returns %d\n", autochanger);
29 /*
This page took 0.204455 seconds and 4 git commands to generate.