Y
Hacker News
new
|
ask
|
show
|
jobs
by
sim-
1003 days ago
Imagine if Windows just allowed DeleteFile() even if the file was open, like unlink() on almost any other OS...
2 comments
ChrisSD
1002 days ago
It does. But this issue arises because of file locks. Running an executable holds a lock that prevents deletions (but not renames).
Many OSes have file locks, though they often don't use them as liberally as Windows.
link
nikanj
1002 days ago
Imagine all the "WinBLOWZ is bullshit, I deleted 200 gigs of shit and my C: still has no more free space" posts if Windows started doing soft deletes
link
Many OSes have file locks, though they often don't use them as liberally as Windows.