Hi, Am 28.10.2011 15:47, schrieb Kern Sibbald: > Why do you need the size?
Our systems provide a web based restore GUI that displays the size of each restorable element. Users are interested in being presented a proper value instead of "0 bytes". > In general, in Bacula we try to avoid doing system dependent stuff unless > it is absolutely required. Things such as reading /sys or /proc are things > we do not do because there is no definitive interface, so this can > create severe support problems in the future. I absolutely see your point. I don't see any problem in ifdef-ing the respective code; this would also allow for complementary code for other systems. > The above said, if there is some essential reason, we are open to > discussing. Another option would be storing the backup size of each file as read by the fd (rather than by the stat call) in the file table; this would, however, require database modifications? Thx Bastian -- Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany p: +49 (0) 89-990 157-28 www.collax.com Geschäftsführer: Bernd Bönte, Boris Nalbach AG München HRB 173695. Ust.-IdNr: DE270819312 ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel