1. 33
    1. 4

      I fiddled around with a similar idea at one point that used LD_PRELOAD shenanigans to hook open() and such. Glad to see someone else had the same idea and implemented it using kernel structures instead.

    2. 2

      Is it me or the commit feature could be used to make a very simple package manager for an LFS?

    3. 2

      I can see this being incredibly useful

    4. 2

      Completely not the point but: yet another project that writes #!/bin/sh at the top of its scripts but actually depends on /bin/sh being bash-compatible…

      The project itself is cool, but it is cool mostly because we as a community have decided that dropping random files into random dirs is totally cool and normal behaviour for install scripts, which I vehemently disagree with.

      I look forward to it helping me prevent programs polluting my laptop.

      1. 9

        Why do you think so?

        It looks like it will run with /bin/sh

        If I were to nitpick, I’d say for x in $(ls /) is bad, should be for x in /* to avoid ad hoc parsing, and avoid a child process

        1. 5

          Nice catch, I’ve included it a branch that I’m working on https://github.com/binpash/try/commit/c62c267e4c237d89561a697ea3debae265ea0104#