On Tue, Jul 7, 2020 at 11:12 AM Rich Pieri <[email protected]> wrote:
>
> Something along these lines should work on probably any UNIX or
> UNIX-like system. Unlinking a file removes the directory entry but the
> storage blocks are not released for reuse until all file handles are
> closed. This ends up being more of an annoyance than a benefit when
> long-running jobs put big files on scratch storage which is
> periodically pruned.

But not all UNIX-like systems have a /proc/PID/fd directory that makes
it easy to access the contents of
such an unlinked file.   I don't know if the *BSDs do or not.

Bill Bogstad
_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to