Why Nostr? What is Njump?
2024-03-22 16:05:34

James Just James on Nostr: TIL how systemd-binfmt works and how Linux binfmt_misc works! This lets you teach ...

TIL how systemd-binfmt works and how Linux binfmt_misc works!

This lets you teach Linux how to run different kinds of binaries, like aarch64 ones, or even M$ stuff with wine!

Interesting, the shebang mechanism actually uses this Kernel feature to kick off scripts!

Of course someone hacked it to run golang as well:

https://blog.cloudflare.com/using-go-as-a-scripting-language-in-linux/
Author Public Key
npub13qj75nlk62sxa60ahhzffwn4tuzv7r6ft9gx6xuvu3lyvnngzw8sx02yer