Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 23:22:45 -0600
From:      Adam Vande More <amvandemore@gmail.com>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        "alex.burlyga.ietf alex.burlyga.ietf" <alex.burlyga.ietf@gmail.com>, freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Recovering an unlink-ed, but still opened file
Message-ID:  <CA%2BtpaK0q9zGrP97EDwJDVqoN3-YihoebOQykFxwHq1YyiJWq2Q@mail.gmail.com>
In-Reply-To: <56591999.1040001@aldan.algebra.com>
References:  <5658E498.9070700@aldan.algebra.com> <CA%2BJhTNQh2CKwuEsKcc0v=G=0zG4a5JQTYO56bXv%2B3MmZ8=MVDg@mail.gmail.com> <56591999.1040001@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 27, 2015 at 9:03 PM, Mikhail T. <mi+thun@aldan.algebra.com>
wrote:

> Perhaps more importantly, even if the trick worked, it wouldn't have
> been, what I asked for -- it would've allowed me to create a copy of the
> file. I'd like to be able to restore access to the original -- so that,
> for example, whatever the process writes to it is still available, etc.
> Can that be done somehow? Thanks! Yours,
>
>     -mi
>

find . -inum <inum> -exec mv {} <filename> \;

-- 
Adam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK0q9zGrP97EDwJDVqoN3-YihoebOQykFxwHq1YyiJWq2Q>