News for hackers. Stuff that matters.
Re:Don't YOLO your file system by stavros on Friday March 27, 2026 @11:11PM (#47551208)
I'd really like to try this, but building it is impossible. C++ is such a pain to build with the "`make`; hunt for the dependency that failed; `apt-get install whatever-dev`; goto make" loop...

Please release binaries if you're making a utility :(

Re:Don't YOLO your file system by jbverschoor on Friday March 27, 2026 @11:23PM (#47551279)
https://github.com/jrz/container-shell

It does something very simple, and it’s a POSIX shell script. Works on Linux and macOS. Uses docker to sandbox using bind mount

Re:Don't YOLO your file system by stavros on Friday March 27, 2026 @11:29PM (#47551308)
Yeah but it doesn't COW anything else, and Docker is a bit heavy for this.
Re:Don't YOLO your file system by mazieres on Saturday March 28, 2026 @12:32AM (#47551642)
What distro are you using? The only two dependencies are libacl and libmount. I'm trying to figure out which distros don't include these by default, and if the libraries are really missing, or if it's just the pkgconf ".pc" files. In the former case I should document the dependencies. In the latter case I should maybe switch from PKG_CHECK_MODULES to old-fashioned autoconf.
Re:Don't YOLO your file system by stavros on Saturday March 28, 2026 @06:13AM (#47553222)
I'm using Ubuntu, I gave up when it failed on something about "print".