IT lexicon › Infra & Ops › HAMMER (file system)

HAMMER (file system)

Infra & Ops På svenska → Updated: 2026-11-08
More info
Creator
Matthew Dillon
Released
2008
Type
File system
License
BSD

DragonFly BSD's home-grown file system, with history built in: older versions of files stick around without anyone asking.

Matthew Dillon wrote HAMMER for DragonFly 2.0 in 2008, around the time ZFS and Btrfs were pushing file systems in the same direction. Every change carries a transaction ID, and by supplying one you can read a file or directory as it looked at an earlier point. Snapshots become nearly free, and the file system could mirror itself to another machine as a stream of changes.

HAMMER2 is a rewrite built on copy-on-write, with compression and deduplication, and became the default in DragonFly 5.2 in 2018. Attempts to port HAMMER elsewhere have been made but never got far, so anyone who wants it gets DragonFly in the bargain.

← Back to the lexicon