this post was submitted on 02 Aug 2025
7 points (65.2% liked)

Linux

8740 readers
375 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

Short answer is: yes, as soon as more than one OS mounts a file system in read-write mode.

The kernel of a modern OS (I am generously including Windows here) caches file system data structures in memory. When you hibernate the computer, the content of that memory is written into a large file because that speeds-up a later restart.

Now, if you boot up another OS, and modify these partitions (without mounting them read-only), you alter the file systems data structures. That happens already when you view folders because this modifies access times stored in the inodes.

When you now shut down the second OS, and resume the first OS, the restarted kernel will have and use cached file system metadata which id loaded from the image into the kernel, that does not match that of the files on disk. And this causes file system corruption by definition.

top 6 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 2 points 1 day ago (1 children)

This is not an unknown. Of course this would happen.

I'm confused on if this is a question, or just an assertion that this will happen.

[–] krimson@lemmy.world 6 points 1 day ago (1 children)

It's a bot. Question was asked years ago.

[–] just_another_person@lemmy.world 4 points 1 day ago (1 children)

Oh, I recognize this stupid username. Good eyes.

[–] kurumin@linux.community 0 points 1 day ago (1 children)

The username might be stupid, but I think it is a good idea to bring good content to Lemmy so people can find useful stuff here (like answers and tutorials).

Big tech is killing and walling content created by common folks trying to profit from it as max as possible

[–] just_another_person@lemmy.world 1 points 1 day ago (1 children)

The account in question is notorious for reposting other people's stuff simple for karma or whatever.

[–] kurumin@linux.community 2 points 1 day ago

Oh 😔 I didn't know