4
votes
1answer
926 views

(How) does deleting open files on Linux and a FAT file system work?

It's clear to me how deleting open files works on filesystems that use inodes - unlink() just decreases the link count to zero, and when the last file handle to the file is closed, the inode will be ...
1
vote
1answer
200 views

Unlinking an open file then crashing

I want to start by stating that I don't have any issues that I'm trying to resolve other than a hypothesis. And I could RTFC, but there's a lot of filesystem code that I'd have to familiarize myself ...