Billion file filesystem
For a lark I made an ext4 file system with a billion empty files. https://gitlab.com/larswirzenius/create-empty-files has the program I wrote for this. I’ve done this before, but this time I made it a little simpler for me to do it again: everything in one Rust program rather than clunky scripts.
The disk image starts out as a terabyte-size sparse file, taking no space, and a file system is put in that. Thus, the image is all zeroes except for what actually gets written to it by the file system....
Read more at blog.liw.fi