hoytech / vmtouch

Portable file system cache diagnostics and control
https://hoytech.com/vmtouch/
BSD 3-Clause "New" or "Revised" License
1.79k stars 210 forks source link

Reread -b file2 when file2 changes #80

Open dilyanpalauzov opened 4 years ago

dilyanpalauzov commented 4 years ago

vmtouch -b file loads the files, mentioned in file, into RAM.

Consider monitorying file, when it is closed, or overwritten, and reread it. In particular, when file1 was in file and file was toched/closed/modified/overwritten, reread file1.

hoytech commented 4 years ago

Neat idea! A sort of combination between inotify (#39) and -b. I'd be open to pull requests.