Ubuntu on Windows
Ubuntu on Windows
Posted Apr 4, 2016 20:38 UTC (Mon) by Wol (subscriber, #4433)In reply to: Ubuntu on Windows by Cyberax
Parent article: Ubuntu on Windows
What it did was rename open files to some weird (but standard) name and put the new file in its place. So every now and then you ran a clean-up on all files with this standard filename layout and deleted them.
The thing about Windows that really gets me, though, is when damn background processes I don't want open files I want to access, and lock the file/directory. I typically copy directories off my camera, and the first thing I do is rename the directory - that is - if I can - if Windows hasn't damn well locked it first ...
Cheers,
Wol
Posted Apr 6, 2016 20:52 UTC (Wed)
by nix (subscriber, #2304)
[Link] (2 responses)
Posted Apr 6, 2016 23:42 UTC (Wed)
by anselm (subscriber, #2796)
[Link] (1 responses)
The silly renaming in NFS is necessary in order to maintain Unix file semantics on a (supposedly) stateless NFS server. In Unix, you can open a file and unlink it immediately afterwards, but as long as the process keeps the file open it can still use it even though the file doesn't have a name in the file system anymore. The NFS server, being stateless, doesn't keep track of which files a client has opened. Hence the NFS server must rename the file instead of deleting it outright, in order to be able to find it again when a client which might still have it open (from its POV) accesses it later, even though the file's original name may already be in use for a completely different file. It is silly but there is really not a lot to be done about it.
Posted Apr 12, 2016 16:18 UTC (Tue)
by nix (subscriber, #2304)
[Link]
Ubuntu on Windows
Ubuntu on Windows
Ubuntu on Windows
