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.
- Subject: [Discuss] recover contents of deleted but still open file on a Linux system.
- From: bogstad at pobox.com (Bill Bogstad)
- Date: Tue, 7 Jul 2020 19:44:37 -0400
- In-reply-to: <5f04906a.1c69fb81.4e25f.a491@mx.google.com>
- References: <CAJFsZ=r=sHG84R1XAjjou=KNbYf_9Psc0s+rpVRps_A57pW3MA@mail.gmail.com> <5f04906a.1c69fb81.4e25f.a491@mx.google.com>
On Tue, Jul 7, 2020 at 11:12 AM Rich Pieri <richard.pieri at gmail.com> 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
- Follow-Ups:
- [Discuss] recover contents of deleted but still open file on a Linux system.
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] recover contents of deleted but still open file on a Linux system.
- References:
- [Discuss] recover contents of deleted but still open file on a Linux system.
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] recover contents of deleted but still open file on a Linux system.
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] recover contents of deleted but still open file on a Linux system.
- Prev by Date: [Discuss] recover contents of deleted but still open file on a Linux system.
- Next by Date: [Discuss] recover contents of deleted but still open file on a Linux system.
- Previous by thread: [Discuss] recover contents of deleted but still open file on a Linux system.
- Next by thread: [Discuss] recover contents of deleted but still open file on a Linux system.
- Index(es):