HeadlinesBriefing favicon HeadlinesBriefing.com

πfs: Store All Files Inside the Constant π

Hacker News •
×

GitHub user philipl launches πfs, a data‑free filesystem that stores files inside the mathematical constant π. By treating π as a universal storage pool, πfs promises to eliminate disk usage entirely. The project relies on open‑source build tools like autoconf, automake and libfuse, and mounts via a simple command line interface.

Installation is straightforward: on Debian, users run sudo apt-get install autotools-dev, automake, libfuse-dev, then execute autogen.sh, configure, make, and make install. Once built, πfs mounts with πfs -o mdd=<metadata directory> <mountpoint>, where the metadata folder records file positions inside π and the mountpoint becomes a regular filesystem for data managers and researchers to access visualize data files.

πfs relies on the conjecture that π is a normal number, meaning every possible finite digit sequence appears within its expansion. By treating each byte separately, πfs locates file chunks using the Bailey–Borwein–Plouffe formula. Metadata tracks locations, so losing a file’s address does not remove the data, which remains embedded in π for every user.

Early benchmarks show the prototype can store a 400‑line text file in five minutes, a clear performance gap compared to traditional filesystems. The author suggests future work such as variable‑length search, arithmetic coding, parallel lookup, and cloud‑based π retrieval. The project invites contributors to refine the idea and explore its feasibility on large‑scale platforms today.