On 2/27/05 11:09 AM, "Matt Sergeant" <[EMAIL PROTECTED]> wrote:
> One of the biggest problems will be what the AV scanners actually want > to see - do they want to scan filenames or do they want to scan a > bytestream, or what? I guess we can get around that using temporary > files either way though, but for high performance we want to avoid > doing extra syscalls writing to disk if possible. Why not let the temp dir be documented as "best suited for a memory-based filesystem" and let the user figure out what they want to do with the worst-case scenario or thrashing the disk be the default? Making a tmp dir carved out of vm is pretty easy to do on most OS's, maybe we could build a guide for how to do it on each as contributing sysadmins. I got tired of the lingering files in the ~smtpd/tmp to where that's now a filesystem mounted out of vm. Then whether it's like SA or wants to point to a file, it's nearly all in vm and may have never hit disk. Just a thought. peter
