borgbackup/borg

"sparse" block devices

Open

#5609 aperta il 3 gen 2021

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Python (732 fork)batch import
help wantedquestion

Metriche repository

Star
 (10.086 star)
Metriche merge PR
 (Merge medio 5g 12h) (91 PR mergiate in 30 g)

Descrizione

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.

Guida contributor