[Discuss] recover contents of deleted but still open file on a Linux system.

Rich Pieri richard.pieri at gmail.com
Tue Jul 7 11:10:33 EDT 2020


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.

-- 
Rich Pieri


More information about the Discuss mailing list