borgbackup/borg

"sparse" block devices

Offen

#5.609 geöffnet am 03.01.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (732 Forks)batch import
help wantedquestion

Repository-Metriken

Stars
 (10.086 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

for files on supporting filesystems, we have the SEEK_HOLE/SEEK_DATA api.

but this does not apply to block devices, we need something else to detect unused blocks in these.

For block devices, sometimes another API is supported:

Since recently, borg fixed blocksize chunker can accept a sparse map / file map, but there is no way yet to build that map for a block device.

Related to #14.

Contributor Guide