this post was submitted on 27 May 2025
47 points (98.0% liked)

Opensource

3055 readers
137 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
you are viewing a single comment's thread
view the rest of the comments
[–] N0x0n@lemmy.ml 2 points 2 weeks ago (1 children)

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

[–] sylver_dragon@lemmy.world 11 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Yes.

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

A hardlink is the original file.

[–] N0x0n@lemmy.ml 2 points 2 weeks ago (1 children)

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

[–] Colloidal@programming.dev 1 points 2 weeks ago (1 children)

Used to be. But then systemD attacked...

[–] bitcrafter@programming.dev 1 points 2 weeks ago (1 children)

What in systemd is not a file?

[–] Colloidal@programming.dev 3 points 2 weeks 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.