borgbackup/borg

"sparse" block devices

Aberta

#5.609 aberto em 3 de jan. de 2021

 (1 comentário) (0 reação) (0 responsável)Python (732 forks)batch import
help wantedquestion

Métricas do repositório

Stars
 (10.086 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador