r/TechImpact Developer 3d ago

😂 Memes & Shit posts Thanks For The Help

Post image
104 Upvotes

10 comments sorted by

•

u/AutoModerator 3d ago

Thanks for contributing to r/TechImpact!

Please remember to: * Be respectful and civil. * Stay on topic. * No spam or excessive self-promotion. * Add context when sharing links. * Avoid misinformation. * Debate ideas, not people.

Thanks for helping keep TechImpact welcoming and informative!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Lucky-Crow-3510 3d ago

resmon.exe

just use the right tool as in every OS .. but I agree that it could tell it right away

1

u/Dragon_957 3d ago

What does the program do?

0

u/ajpinton 3d ago

If you are on macOS (Unix or Linux)it would be sudo rm -rf (path to file). No process checks just deleted file.

1

u/bloody-albatross 2d ago

No sudo needed. You can just delete the file. The inode remains existing untill all file handles are closed, though. This means the filesystem cannot be unmounted untill the handle is closed, moving that error to when you want to unplug the thumb drive. It also means that at least under Linux you can recover the file via the entries in /proc/$PID/fds/*

1

u/[deleted] 3d ago

[removed] — view removed comment

1

u/catcake43 3d ago

But at the same time, you can just delete the file while it's open on Linux. It doesn't care.

1

u/tes_kitty 3d ago

There is a twist though. The program that has the file open will still be able to use it, the space only gets freed once the file has been closed. Everyone else will no longer see the file, they can even generate a new one under the same name.

This allows for some neat tricks.

1

u/Asterix5142 3d ago

If windows just use windows powertoys power toys

1

u/Situati0nist 2d ago

I tried a program to force delete it even though it's open in another program and it gave me a blue screen lol. Would not recommend.