Date: Fri, 27 Nov 2015 18:46:48 -0800 From: "alex.burlyga.ietf alex.burlyga.ietf" <alex.burlyga.ietf@gmail.com> To: "Mikhail T." <mi+thun@aldan.algebra.com> Cc: freebsd-fs <freebsd-fs@freebsd.org> Subject: Re: Recovering an unlink-ed, but still opened file Message-ID: <CA%2BJhTNQh2CKwuEsKcc0v=G=0zG4a5JQTYO56bXv%2B3MmZ8=MVDg@mail.gmail.com> In-Reply-To: <5658E498.9070700@aldan.algebra.com> References: <5658E498.9070700@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
If you know which process and which file descriptor, should be able to just copy from /proc/<pid>/fd/<fd> to a file. I would try that first. Alex. On Nov 27, 2015 16:18, "Mikhail T." <mi+thun@aldan.algebra.com> wrote: > A deleted file, that's still opened by a process is "there" on the > filesystem. > > Is there any way -- with an existing command-line utility or a new > program using an existing API -- to give the still-valid inode a name > again? Wouldn't that be a wonderful feature to have? Thanks! > > -mi > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BJhTNQh2CKwuEsKcc0v=G=0zG4a5JQTYO56bXv%2B3MmZ8=MVDg>