On Thursday 16 June 2005 16:20, Russell Howe wrote: > Kern Sibbald wrote: > > On Thursday 16 June 2005 15:44, Russell Howe wrote: > >>We have two tape drives, connected to the same box. When I request the > >>status of one of the corresponding storage devices, I get the status of > >>both returned - is this how it should be? > > > > The status is given for all the drives known to the SD. > > Should it be, though?
I am not convinced it would be worth writing the code to give the status for only one device. In any case, I probably wouldn't refuse a patch, but it is unlikely to be me that writes the code (other higher priorities). > Especially if you use the syntax Arno mentioned > > status storage="Tandberg DLT8000" Yes, it isn't very logical. This bothers me a bit. However, what bothers me even more is if you just say "status storage" you will get a list of all the devices in the SD -- that's when the inconsistency becomes the most flagrant, to me at least. > > for example, also displays details of the "Quantum DLT8000" device. > > If the syntax were: > > status storage=spanky-sd Unfortunately , the Director has no concept of what spanky-sd is. > > Then the output would seem more logical... > > > This is a problem not only for the reason you cite, but in addition, > > sometimes one is printed in SD messages, and sometimes the other. > > > > In version 1.37, the device "name" is systematically printed as > > "Device name (Unix name)" e.g. "DDS-4 (/dev/nst0)". > > Nice :) Yes, a lot better, but the "inconsistencies" you mention above are not *yet* resolved ... -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users