Re: [Bacula-users] autochanger confusion

2008-10-17 Thread Arno Lehmann
17.10.2008 09:34, Tilman Schmidt wrote: > Am 16.10.2008 22:40 schrieb John Drescher: >> Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" > > What's the purpose of that final "|cat"? Ensure a retuen code of 0, meaning "Ok". Grep might not find the search string, which would indica

Re: [Bacula-users] autochanger confusion

2008-10-17 Thread Tilman Schmidt
Am 16.10.2008 22:40 schrieb John Drescher: > Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'" What's the purpose of that final "|cat"? Just curious T. -- Tilman Schmidt Phoenix Software GmbH Bonn, Germany signature.asc Description: OpenPGP digital signature

Re: [Bacula-users] autochanger confusion

2008-10-16 Thread Craig White
On Thu, 2008-10-16 at 16:40 -0400, John Drescher wrote: > On Thu, Oct 16, 2008 at 4:21 PM, Craig White <[EMAIL PROTECTED]> wrote: > > I'm looking at the documentation and it suggests that I need to put the > > 'Changer Command' in both the Storage definition and in the Autochanger > > Resource. Tha

Re: [Bacula-users] autochanger confusion

2008-10-16 Thread John Drescher
On Thu, Oct 16, 2008 at 4:21 PM, Craig White <[EMAIL PROTECTED]> wrote: > I'm looking at the documentation and it suggests that I need to put the > 'Changer Command' in both the Storage definition and in the Autochanger > Resource. That seems redundant. I am gathering that I only need that > comman

[Bacula-users] autochanger confusion

2008-10-16 Thread Craig White
I'm looking at the documentation and it suggests that I need to put the 'Changer Command' in both the Storage definition and in the Autochanger Resource. That seems redundant. I am gathering that I only need that command in the Autochanger Resource. But what is bothering me more is my bacula-dir.c