borgbackup/borg

"sparse" block devices

Aperta

#5609 aperta il 3 gen 2021

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

Metriche repository

Star
 (10.086 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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