borgbackup/borg

"sparse" block devices

オープン

#5,609 opened on 2021/01/03

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Python (732 件のフォーク)batch import
help wantedquestion

Repository metrics

Stars
 (10,086 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド