Hacker News new | ask | show | jobs
by Nekit1234007 1428 days ago
Just like creating any sort of archive. You (or a program of sorts) create the fs structure in some directory, then invoke something like `mkdwarfs -i /path/to/that/directory -o /path/to/output/file.dfs`
2 comments

And squashfs works the same way - mksquashfs takes a directory as input and writes a file as output. That file can then be loopback-mounted to present the readonly filesystem.
Got it, yeah so that tracks then, thanks.