I just say “everything’s a file” until they stop asking questions
I’ve been using Linux for over 2 years. When does that part when I think I know how it works kicks in? I didn’t get it.
I dunno, I’ve been using it since like 2012 and I still have no idea sometimes when it breaks.
Read the meme: you already passed it long ago!
(Though there is a second stage that kicks in when you manage to grow a grey beard - which is particularly impressive if you are a woman!)
… And there are a lot more of those random guys around now.
Statistically yes, but also you’re noticing a lot more because Lemmy creates those guys. Source: random guy. (Although I’m actually the low end “who the fuck knows” on the IQ chart version of this meme.)
We don’t ask that question here
I don’t know shit about Linux. I just know it’s fast and not Microsoft.
It is something about all the files being wildebeests, right ?
Wtf. My files are dolphins. Did I do something wrong?
It’s just files, how hard could it be 🤷
Check out dbus and notify.
And then unpack your dracut initrd.I don’t understand the dbus.
I’ve tried.
But I just don’t get it.
Understand on what level?
The basic idea is that dbus is a type of communication layer and api.
Services can register there and programs see their registrations. dbus can in theory then launch a service too, so things don’t have to run all the time.
The idea is similar to having some known config file, that programs write to and that a service listens on or uses later. But dbus has more granularity.It also often runs the other way, with system components presenting info in dbus and programs using it, to adapt to user configuration.
And let’s not even get into udev.
Point here is that dbus could be implemented via a command and an sqlite database for example. The command checks the database and constructs the dbus state from it.
But for likely performance reasons it isn’t, so this info is simply hidden in dbus, in ram, instead of being a file.You can access dbus via a socket file ofc, but it’s not like you can mount it.
Even more confusingly, the internal ephemeral dbus structure with its apis and endpoints resembles a filesystem. In that way it is similar to the w!ndows registry, though not nearly as bad.
so yeah dbus is most definitely not files
edit: also there’s multiple dbusses, usually one per user and one for the system. Those two hold different apis and info. It’s just the same thing twice tho.
All those levels.
I mean what do you wanna know?
What’s your concrete question, or how did you get confused by dbus?I’m being facetious
Your comment was actually very thorough and helpful.

So when is the rest of this gif happening?
24 years exclusively running it.
Short answer: magic.
Long answer: a stressful full week trying to get everything right, followed by a long, blissful period forgetting how hard it was to get it up and running like magic.
After a dozen of those stressful weeks I decided to write down everything new I learn if I can.
my experiece is just stuff getting fixed and breaking rsndomly tbh.
It takes the raw code, bakes it at 450°F for 90 minutes, then does some magic.
When Linux is working, one does not tempt fate by asking why.
One does not ask how the Linux is working, one only asks if.
As someone who uses Linux every day for work, I don’t know how to fix shit. I’m not paid to troubleshoot
I compiled Linux last week and I don’t even know how it works
First you get a file(kernel source), then use another file to change the file, then you have a kernel, but the kernel(file) in the the file system, then use a magic boot file to run the file. That’s basically it?
Well. ACTUALLY, it’s very simple you see every time you spin up a new linux box a little piece of Linus Torvold’s soul get’s imprinted in the CPU registers and then that fragment handles everything from there.
Everything’s a file.
except that thing. …and the other thing. that thing used to be a file but it’s not anymore. that’s only a file if you use this specific shell. that one is a file system, but there’s no files in it. oh don’t touch that file, that’s deprecated. oh that’s only a partial file, you need to open this one too otherwise it breaks.











