This Linux storage feature feels like cheating once you understand it
This Linux storage feature feels like cheating once you understand it
https://www.howtogeek.com/the-linux-storage-feature-that-feels-like-cheating-once-you-understand-it/
Publish Date: 2026-06-28 15:00:00
Source Domain: www.howtogeek.com
Storage is one of those parts of Linux that most people only think about when something breaks. You pick a file system during install, trust it with your files, and then forget it exists. It sits under everything: your OS, your home folder, your logs, your downloads, your work, and all the small mistakes you make while changing things. For years, that mostly means one thing: when a file changes, the old data is overwritten by the new data, and you move on.
Copy-on-write (CoW) changes that bargain in a way that almost feels like cheating. Instead of rushing to overwrite old blocks, a CoW file system writes the changed data somewhere else and then updates its map. That simple shift is what makes snapshots, cheap clones, rollbacks, and smarter backups possible.
CoW changes the rule you thought was fixed
New writes leave old blocks alone
On a plain file system, changing a file often means changing the old blocks in place. On a CoW file system, the old blocks are left alone, and the changed data is written to new blocks. Only after that does the file system update its pointers.
This means the file system can keep an old view of the data without making a full second copy at the start. That one idea sits behind most of the features that make CoW feel unfair the first time it saves you. A snapshot can hold the old state. A cloned file can share blocks with the first file. A backup stream can send only what changed after an earlier snapshot.
…
Source