this post was submitted on 20 Aug 2026
367 points (99.7% liked)

Linux

67120 readers
810 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
[–] HiddenLayer555@lemmy.ml 11 points 8 hours ago* (last edited 8 hours ago) (1 children)

I bet this is done with inodes. Deleted files aren't truely deleted until nothing has it open and its inode gets dropped. Like ARC for files.

You can also do interesting things like overwrite a "file" (as in a specific filesystem path) with new contents while keeping anything that already has the file open on the old contents by unlinking the old inode to the path and writing the new contents under a new inode. I believe mv does this. The kind of lesser known feature that probably strikes a good balance between preventing super annoying silent errors/corruption and causing them.

Relevant Kevin Fang video

[–] AlteredEgo@lemmy.ml 1 points 3 hours ago (1 children)

Thanks for explaining, I was wondering about that.

Wait, is that why renaming or moving files on android takes forever?

[–] diaphragmwp@discuss.tchncs.de 3 points 2 hours ago

No, that's because Android. It's also overlaying all filesystems to enforce stupid rules, like no files named "CON" and no files named the same in a different case (like in DOS).