borgbackup/borg

whiteout file type?

已關閉

#7,174 建立於 2022年11月28日

 (2 則留言) (0 個反應) (0 位負責人)Python (732 個分叉)batch import
help wantedos: bsdos: macOSquestion

倉庫指標

星標
 (10,086 顆星)
PR 合併指標
 (平均合併 5天 12小時) (30 天內合併 91 個 PR)

描述

Accidentally stumbled over a file type borg does not support yet: a whiteout (used by overlay fs)

Infos:

Linux: has a hack avoiding a new file type, using a char dev 0:0 for file whiteouts and an xattr for directory whiteouts macOS: has whiteouts FreeBSD: has support for whiteouts, separate file type DT_WHT OpenBSD: no whiteouts NetBSD: ?

Is there a need for backing up / restoring whiteouts?

  • for a mounted overlay fs, it should be backed up as visible to the user (no whiteouts visible)
  • can one access the layers individually, so that WHT files would become visible (on BSD)?

貢獻者指南