4 ms·
> Going by your actual meaning - are you saying you zipped a file on disk that was still being written to? That's... weird. That's how Linux works. Some progra
by 323 4y ago
> Going by your actual meaning - are you saying you zipped a file on disk that was still being written to? That's... weird.
That's how Linux works. Some programs, like rsync, will give you a warning at the end, similar to "the file was modified during the rsync operation". Most others, like zip will give no warning at all.
- Karellen 4y agoSorry, I wasn't clear. I didn't mean it was weird that Linux would be able to do that. I meant I thought it was weird that a user would choose to do that. Because without any co-ordinated locking in place, or double-checking at the end (which most won't unless it's been specifically added), having one program read a file while another is modifying it will most probably produce confusing or unexpected results.