Yeah Glen, I like the ideas about the Symlinks from Mark...? I think in Windows the equivalent of /dev/null is $NULL from powershell or NUL?from a command prompt...
On Sun, Feb 14, 2021 at 11:05 AM Mark via <markwaldron1=[email protected]> wrote:
You'd have to iron out the particulars and exact syntax, but why not dump the temp directory contents to /dev/null?
This could be tuned on/off as desired, as well.
Other options:
LD-PRELOAD ()"Another approach would be a LD_PRELOAD wrapper; basically a small shared library which is loaded before libc.so, and intercepts calls to "open" with something that checks the prospective file path and substitutes "/dev/null" if it would be in the target directory.This has the advantage of being (a) entirely in user-space - no kernel hacking required; and (b) only affecting the single errant application. A simple example is at
Look into FUSE.
A simple script to clobber any/all contents of the shared folder that runs often.