“Everything is a file” is what made me start understanding linux few years ago and from there it got easier to use with each new concept.
Still this was really revolutionary to me when I first heard it. Made a bunch of things just click.
“Everything is a file” is what made me start understanding linux few years ago and from there it got easier to use with each new concept.
Still this was really revolutionary to me when I first heard it. Made a bunch of things just click.
Docker Desktop handles the abstraction in Windows and MacOS. The container thinks it mounted a file.
Oh that’s interesting. I wonder why they do it that way, considering macOS is a Unix OS.
I dunno, but it’s a pain. Hiding low-level components from the user to make it more user-friendly.
I have an old 2014 macbook with a busted GPU temp sensor. The Mac firmware assumes the worst - that the computer is dangerously overheated - and therefore throttles back the CPU by 80% and runs the fans at full blast.
Fixing it on Mac required a number of third-party tools and flashing a custom firmware. I then installed Linux on the device - about ten lines of script that read from the working temp sensor on the CPU die and write a scaled value to /sys/ in response.
So much flippin easier on Linux.
I just said that Docker Desktop handles it. I’ve never used a Mac so I don’t know for sure what’s going on under the hood there but I imagine that everything they can do the same between Mac and Linux, they do. It’s easier that way.