Inflated free space
Blocks used by regular files in /.chiaplots are added back into f_bfree and f_bavail. df reflects logical headroom while plots stay on disk.
xchOS extends the kernel with /.chiaplots — a root-level plot vault on ext4.
Free space reporting, create restrictions, and proactive eviction work together so
your system keeps farming without drowning in plot files.
Special behavior applies only to /.chiaplots at the filesystem root — not nested paths with the same name.
Blocks used by regular files in /.chiaplots are added back into f_bfree and f_bavail. df reflects logical headroom while plots stay on disk.
create, mkdir, symlink, and similar ops return -EPERM under the vault. Same-filesystem rename / mv is allowed — the path plots take in production.
When free clusters fall below demand plus a 1 GiB margin, the kernel deletes the oldest regular file in readdir order — making room before allocation fails.
Plots land in /.chiaplots via rename, not create. The metric userland tools use mirrors kernel semantics:
When metric exceeds your threshold, xchos plots more. When the disk starves, the kernel evicts.
Chia chiapos uses -t on a temp dir, -d for final destination.
Same-filesystem mv — allowed where create would fail.
Plot blocks count as free in df; eviction frees real clusters when needed.
xchosA bash loop that keeps your vault filled when headroom allows — Chia plotting by default, with optional dd mode for testing.
$ ./scripts/xchos
xchos: starting CHIAPLOTS_DIR=/.chiaplots THRESHOLD_MB=409600 ...
xchos: chia plotters chiapos -k32 ...
# On first run with chia installed:
chia init → keys → node.xchos.com → farmer-only harvester
PLOTPOLL_CHIA=1
node.xchos.com
prepare-chiaplots-cubic.sh for custom Ubuntu images
When xchos sets up Chia for the first time, farmer rewards are configured to benefit the
Marmot Recovery Foundation
by default — helping save the Vancouver Island marmot, one of Canada’s most endangered mammals.
The foundation breeds and releases marmots, restores habitat, and monitors wild populations. There were once fewer than 30 left in the wild; recovery efforts are bringing them back.
Learn about marmots.orggit clone https://github.com/wjblanke/linux.git
cd linux && cp /boot/config-$(uname -r) .config
make olddefconfig && make -j$(nproc)
sudo make modules_install && sudo make install
sudo mkdir /.chiaplots
sudo chmod 777 /.chiaplots
sudo reboot
./scripts/xchos
# or install to /usr/local/bin/xchos from a Cubic ISO build
xchOS is developed in public at github.com/wjblanke/linux — a Linux kernel fork with ext4 chiaplots, userland tooling, and build docs.
Kernel fork · ext4 /.chiaplots · scripts/xchos · Cubic ISO staging
git clone https://github.com/wjblanke/linux.git
README.md — full xchOS documentation (chiaplots, build, Cubic)fs/ext4/chiaplots.c — kernel implementationscripts/xchos — plot polling and Chia farmer helperscripts/prepare-chiaplots-cubic.sh — stage files for custom Ubuntu ISOshtml/ — this website