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

Default file size limit does not work #81

Open Bydo-Spore opened 4 years ago

Bydo-Spore commented 4 years ago

Version 1.3.1

The man page says that the default maximum file size is 500 MiB, but it accepted a file of 10 GiB without using -m in the command: $ vmtouch -tv <file> (adding -m <size> does work).

I also put several files over 500 MiB in a directory and executed: $ vmtouch -tv <directory> and it processed them all.

The program is not observing the default 500 MiB size limit at all.