r/linux4noobs • • Sep 08 '22
learning/research What does this command do?
fuck /u/spez
Comment edited and account deleted because of Reddit API changes of June 2023.
Come over https://lemmy.world/
Here's everything you should know about Lemmy and the Fediverse: https://lemmy.world/post/37906
92
Upvotes
View all comments
Show parent comment
2
u/michaelpaoli Sep 08 '22
Actually, it's looking for open files that have already been deleted. But since they're still open, their space isn't freed up (see: unlink(2)).
Yeah, that code is very inefficient and pretty hazardous in many ways ... including that it also uses a rather broad shotgun approach as it's "solution" - which might very well cause problems (e.g. data corruption of impacted running programs).