Hello,

Why do you need the size?

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.

The above said, if there is some essential reason, we are open to 
discussing.

Regards,
Kern

On 10/28/2011 12:51 PM, Bastian Friedrich wrote:
> 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
>


------------------------------------------------------------------------------
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