this post was submitted on 20 Aug 2026
517 points (99.8% liked)

Linux

67120 readers
1342 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] rockSlayer@lemmy.blahaj.zone 10 points 1 day ago (3 children)

I know what a symlink is, but what is a magic symlink?

[–] Redjard@reddthat.com 7 points 17 hours ago

Also known as zombie files. If you are unlucky they can take up all space on a drive, or even tmpfs (so your ram) and you can't easily find them. At least until you end the right process or restart.
Had that happen once and had to write my own script to trace it to the log of an open terminal emulator tab that had billions of lines.

[–] zarkanian@sh.itjust.works 28 points 1 day ago (1 children)

A symlink that has been blessed by Richard Stallman.

[–] some_kind_of_guy@lemmy.world 5 points 17 hours ago* (last edited 17 hours ago) (2 children)

Richard Stallman as St. IGNUcius

"Now that's a name I haven't heard in a long time" -Saint IGNUcius

Anyone else getting turned on rn?

[–] Shadow@lemmy.ca 11 points 1 day ago (1 children)

If you delete a file that's still open by the app, the link in proc will still exist and you can copy the file back out of proc.

[–] RustySharp@programming.dev 1 points 1 day ago (1 children)

Does that not make them a hard link (pointing to a filesystem node) instead of a symlink (pointing to another filename)?

[–] Shadow@lemmy.ca 12 points 1 day ago (1 children)

No, you can't have a hard link cross filesystems and proc is its own fs type.

[–] gravitas_deficiency@sh.itjust.works 9 points 23 hours ago (1 children)

Ah - it has its own special magical file system type, that’s the secret sauce. Neat!

[–] Shadow@lemmy.ca 8 points 23 hours ago (2 children)

/dev and /sys are the other two special ones

[–] SlurpingPus@lemmy.world 5 points 18 hours ago

These days there can be a dozen virtual filesystems doing various stuff. If you ever want to get quite baffled, install a terminal emulator on an Android phone (not Termux) and run mount.

[–] Hawke@lemmy.world 2 points 22 hours ago (1 children)

Remember the old days before /dev was its own virtual filesystem?

[–] Shadow@lemmy.ca 5 points 21 hours ago

It still is! If you try and boot a kernel with nothing in /dev, you won't get most of the kernel boot messages since /dev/console doesn't exist. You need a basic set of device nodes in /dev before udev is started.

If you're going to rsync a system to new hardware and exclude /dev /proc /sys, it's better to setup a new mount of your / to a different directory and sync off that, so you get the underlying stuff without the cruft.