nowfound

Life & fun · May 7, 2017

CD

Compressed directories on Linux

Compressed directories on Linux launched on May 7, 2017 with 70 votes, #651 of 3,229 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 9 years on.

Visit excamera.com ↗Alternativestop 20% of May 2017

In plain words

This is a technical guide for Linux users managing large, repetitive files such as test vectors or trace data. It explains how to use BTRFS filesystem with loopback devices to create compressed directories, achieving transparent compression on a single directory without modifying the entire system. The approach uses LZO compression to reduce storage requirements and improve read-write performance for data-heavy workloads, making it practical for datasets approaching terabyte sizes.

written from the facts on this page · September 2026

From the sources

I had a situation with very large, compressible files. These files are huge, but mostly repeated data -- they are test vectors for a piece of hardware. As the traces have grown towards 1TB, reading and writing has got painfully slow. What I need was lightweight transparent compression that works on one directory. Here is one answer that seems to work: use the 'loopback' device to create a small BTRFS filesystem. BTRFS lzo optimization works very well. The data fit in a fraction of the storage, and reading and writing are much faster. Create a backing store for the volume. Here it's sized at 50 GB: That's it. The filesystem is ready to fill up with redundantfrom excamera.com

Does a similar job

all alternatives →
  • I missed the moving blocks, so I built a real Linux disk defragmenterAug 2026 · github.com · ▲97

    Linux filesystem defragger written in Rust and Qt Quick/Kirigami - gbin/defragger

  • WS
    We scaled Git to support 1 TB repos2022 · xethub.com · ▲279

    I’ve been in the MLOps space for ~10 years, and data is still the hardest unsolved open problem. Code is versioned using Git, data is stored somewhere else, and context often lives in a 3rd location like Slack or GDocs. This is why we built XetHub, a platform that enables teams to treat data like code, using Git. Unlike Git LFS, we don’t just store the files. We use content-defined chunking and Merkle Trees to dedupe against everything in history. This allows small changes in large files to be stored compactly. Read more here:…

  • I made an ls alternative for my personal use2024 · github.com · ▲197

    blazing fast `ls` replacement with superpowers. Contribute to chaqchase/lla development by creating an account on GitHub.

  • On-disk B+ tree for Python 32018 · github.com · ▲159

    An on-disk B+tree for Python 3. Contribute to NicolasLM/bplustree development by creating an account on GitHub.

  • WF
    Wget-finder2015 · javier.io · ▲130

    Since some days ago I’ve been playing with bifrost-build, a github repository with recipes for building static linux binaries. The recipes are no different from other linux distributions where an…

  • ClearMeshMay 2026 · ▲61

    A Git-like platform for datasets, models, and binary folders

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, May 2017

the whole month →
  • Design, code and collaborate. Now all-in-one.

    Dev tools · 2017 · framer.com

  • An app that shows if your food is a hotdog 🌭

    Life & fun · 2017

  • A limitless presentation tool for designers.

    Work · 2017 · ludus.one

  • History shouldn't have to repeat itself

    Life & fun · 2017 · startupgraveyard.io

  • Best sales emails from great companies

    Growth · 2017 · goodsalesemails.com

  • Complete revamp of the original, award-winning task manager

    Work · 2017 · culturedcode.com