Skip to content

Support native copy-on-write semantics on ReFS filesystem #429

@voddan

Description

@voddan

Creating "dir" dirrectory archives involves copying a lot of files from source to target. That can be greatly optimized for some filesystems that support copy-on-write semantics.

Copy-on-write provides near-instantaneous copy operation for files. The initial copy only copies the file descriptor, while the actual bytes stay in the same place on the disk. The bytes are only partially copied when the file content is modified. Exact implementation depends on the filesystem.

Microsoft ReFS filesystem is becoming popular on development machines with Windows 11's "Dev Drive" feature, and it can take advantage of copy-on-write operations. My team has a huge Maven project that heavily uses mave-assembly-plugin, which in turn uses plexus-archiver to perform the file operations. It would greatly benefit from the assembly plugin supporting copy-on-write on ReFS.

Please support copy-on-write semantics for DirectoryArchiver on supporting filesystems, specifically ReFS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions