45
you are viewing a single comment's thread
view the rest of the comments
[-] iii@mander.xyz 19 points 1 year ago

Everything is a file. Your past, your present, hopes and dreams, loved ones: it's all a file. That's the true goal of Linux.

[-] N0x0n@lemmy.ml 2 points 1 year ago

Is a link to a file... A file?

[-] sylver_dragon@lemmy.world 11 points 1 year ago* (last edited 1 year ago)

Yes.

Symbolic links are files that act as pointers to other files.
-- Source

A hardlink is the original file.

[-] N0x0n@lemmy.ml 2 points 1 year ago

Thanks for the clarification ! I guess everything is a file in Linux ?

[-] Colloidal@programming.dev 1 points 1 year ago

Used to be. But then systemD attacked...

[-] bitcrafter@programming.dev 1 points 1 year ago

What in systemd is not a file?

[-] Colloidal@programming.dev 3 points 1 year ago

Of course it's all stored in the filesystem, so there isn't anything that isn't technically a file.

But, for instance, while as before you'd have a simple log file you could access directly, now you have a binary blob that is inaccessible without systemD itself.

The are other numerous better exceptions that are better examples than systemD. DBus, for instance. InfernoOS is an interesting example of taking the "everything is a file" to heart.

this post was submitted on 27 May 2025
45 points (97.9% liked)

Opensource

6636 readers
330 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS