BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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