DynamoFS icon indicating copy to clipboard operation
DynamoFS copied to clipboard

Move/delete file being written/read

Open denismo opened this issue 11 years ago • 0 comments

Linux filesystems allow the files which are being written/read to be moved or even deleted without causing errors. This is probably because an open file creates a hidden hard link to the inode (not persisted) which keeps the inode up while the file name is removed.

We need to implement it in some way preferably without locking as I believe this mechanism is used by log rotators/archivers.

denismo avatar Jul 31 '13 13:07 denismo