#btrfs #cow #xfs #copy #system

reflink

copy-on-write mechanism on supported file systems

4 releases

0.1.3 Apr 2, 2019
0.1.2 Aug 13, 2018
0.1.1 Aug 10, 2018
0.1.0 Aug 10, 2018

#207 in Operating systems

Download history 3815/week @ 2024-12-11 2135/week @ 2024-12-18 1817/week @ 2024-12-25 1883/week @ 2025-01-01 3056/week @ 2025-01-08 2502/week @ 2025-01-15 2775/week @ 2025-01-22 2851/week @ 2025-01-29 3104/week @ 2025-02-05 2216/week @ 2025-02-12 2318/week @ 2025-02-19 1128/week @ 2025-02-26 1230/week @ 2025-03-05 1717/week @ 2025-03-12 2336/week @ 2025-03-19 1286/week @ 2025-03-26

6,720 downloads per month
Used in 8 crates (5 directly)

MIT/Apache

18KB
327 lines

reflink

Build Status

Cross-platform(!) COW reflink copy of files

Some file systems implement COW (copy on write) functionality in order to speed up file copies. On a high level, the new file does not actually get copied, but shares the same on-disk data with the source file. As soon as one of the files is modified, the actual copying is done by the underlying OS.

This library supports Linux, Android, OSX, ios and Windows. As soon as other OS support the functionality, support will be added. For implementation details, visit the docs.

Dependencies

~220KB