17 Oct
2016
17 Oct
'16
21:21
On 2016-10-17 17:50, Greg Freemyer wrote:
On Mon, Oct 17, 2016 at 10:42 AM, Carlos E. R. <robin.listas@telefonica.net> wrote:
In MsDOS you can try to acquire a lock on the file before backing it up. If the file is in use, it will fail, so the backup either waits or continues with another file, and try the locked file later. At the end, it can produce a list of failed-locked files.
I don't know if that is possible in Linux.
To my knowledge all file level locking is voluntary. ie. user space apps have to intentionally respect other programs locking a file.
No, there are also kernel locks. I read something about mandatory locking, but I don't know how good it is. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)