lsof
This commit is contained in:
parent
7575c5bb56
commit
24370fa3ac
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ There is a `watch` branch in git that adds the command.
|
||||||
Possible fixes:
|
Possible fixes:
|
||||||
|
|
||||||
* Somehow track or detect if a file is open for write by any processes.
|
* Somehow track or detect if a file is open for write by any processes.
|
||||||
|
`lsof` could be used, although it would be a little slow, and not
|
||||||
|
avoid every possible race.
|
||||||
* Or, when possible, making a copy on write copy before adding the file
|
* Or, when possible, making a copy on write copy before adding the file
|
||||||
would avoid this.
|
would avoid this.
|
||||||
* Or, as a last resort, make an expensive copy of the file and add that.
|
* Or, as a last resort, make an expensive copy of the file and add that.
|
||||||
|
|
Loading…
Reference in a new issue