Hi,

when backing up raw block devices, the device's size is not stored by 
bacula; instead, the device node's size (0 bytes) is kept in the "LStat" 
structure.

I'd suggest to update the file's LStat value when the file backed up was 
a device rather than a regular file.

I can implement such a behavior for Linux; however, getting such 
information about block devices is not a trivial task. Under Linux, one 
would use the /sys file system. I don't have the slightest idea how to 
accomplish such a thing under other Unices. Any interest?

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

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to