36eb7f923f
tar can't write archive with _contents_ of block device. We need this to backup LVM-based disk images. To avoid dumping image to a file first, create a simple tar archiver just for this purpose. Python is not the fastest possible technology, it's 3 times slower than equivalent written in C. But it's much easier to read, much less error-prone, and still process 1GB image under 1s (CPU time, leaving along actual disk reads). So, it's acceptable. |
||
---|---|---|
.. | ||
int | ||
tools | ||
vm | ||
__init__.py | ||
app.py | ||
devices.py | ||
events.py | ||
extra.py | ||
firewall.py | ||
init.py | ||
run.py | ||
storage_file.py | ||
storage_lvm.py | ||
storage.py | ||
tarwriter.py |