Skip to content

options to not compare inode numbers, and disable acl / xattr #89

@ghost

Description

I was thinking about this the other day when looking at the code - and the comment at end of #88 reminded me:

I think it would be worthwhile to have options to disable inode checking, as well as acl and xattr support.

regarding inodes (from rdiff-backup docs)

       --no-compare-inode
              This option prevents rdiff-backup  from  flagging  a  hardlinked
              file  as  changed  when  its device number and/or inode changes.
              This option is useful in situations where the source  filesystem
              lacks  persistent  device  and/or inode numbering.  For example,
              network filesystems may have mount-to-mount differences in their
              device  number  (but  possibly  stable  inode numbers); USB/1394
              devices may come up at different  device  numbers  each  remount
              (but  would  generally  have  same  inode number); and there are
              filesystems which don't even have the same  inode  numbers  from
              use to use.  Without the option rdiff-backup may generate unnec‐
              essary numbers of tiny diff files.

An option to disable xattr and acl support could also potentially help with performance. Maybe by a unnoticeable fraction even over a large backup, but when checking the file cache it would remove the need for 3 additional system calls on top of the lstat. Tools like rdiff-backup (which I was using before and am trialling attic currently) support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions