3 ms·
I thought perhaps the Linux layer lets you delete/unlink files that are in use, unlike Windows. But I also thought this was pretty baked into the kernel/VM pagi
by MichaelGG 10y ago
I thought perhaps the Linux layer lets you delete/unlink files that are in use, unlike Windows. But I also thought this was pretty baked into the kernel/VM paging system.
If the Linux layer allows deleting and replacing in-use files, that's pretty cool and a welcome feature.
If this is just a substitute for deltree I'm not sure I get the point.
- shadowfox 10y agoWindows (at least NTFS) does allow you to delete files in use as long as it has been opened with a sharing mode of FILE_SHARE_DELETE. Unfortunately most regular programs don't do this. An exception to this is memory mapped files as they are not allowed to be deleted that way. Executables are executed in Windows by memory-mapping them; so runnning programs are hard to delete.
- piscisaureus 10y agoYes, but as long as the file is openen by another process... - You can't delete the parent directory - You can't create a new file with the same name ... which makes that flag quite useless.