borgbackup/borg

"sparse" block devices

Open

#5.609 geöffnet am 3. Jan. 2021

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

Repository-Metriken

Stars
 (10.086 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 12h) (91 gemergte PRs in 30 T)

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