From owner-freebsd-fs@freebsd.org Sat Nov 28 05:22:48 2015 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 431C2A3B1E3 for ; Sat, 28 Nov 2015 05:22:48 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CAEAB129D for ; Sat, 28 Nov 2015 05:22:47 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by wmww144 with SMTP id w144so73908910wmw.1 for ; Fri, 27 Nov 2015 21:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=DfeBTcEYynXM1HYWN8zU0RpA5A4u7zsJXAQfIUXc/U0=; b=0z0zje0oaNfdWoqyaT20FNkbQ3F4IaIAlGEUOZ0Q7b+OK3RtjKu7m3SRzh1Hqht+RG KgFiavJP5hYImqk1Z3dIR50srUKrFEeH1NkR6t+ttUCHz7Zc3TrVQmuiCR1Vc9cxKItE aRF6IqsDhG4mWSiN+bQKb1CVMOsngS2ZgWVq16v0qJ+EMFCdo2mIVaTJ1hbOYg/m+OhH MgxuxSX5lXlScC8nppB1b8opvX829Cz8c94yqKB1ALhR9YogLuVORPphhh3qImVYGhkQ MnsGMQK/0L02rYwdiXECqVoWgD+27i9DdzkjYOO5/sTmNx/BXhUafSl9oyJKJSjDKIFn DbKg== MIME-Version: 1.0 X-Received: by 10.28.222.4 with SMTP id v4mr15570216wmg.67.1448688165366; Fri, 27 Nov 2015 21:22:45 -0800 (PST) Received: by 10.194.192.33 with HTTP; Fri, 27 Nov 2015 21:22:45 -0800 (PST) In-Reply-To: <56591999.1040001@aldan.algebra.com> References: <5658E498.9070700@aldan.algebra.com> <56591999.1040001@aldan.algebra.com> Date: Fri, 27 Nov 2015 23:22:45 -0600 Message-ID: Subject: Re: Recovering an unlink-ed, but still opened file From: Adam Vande More To: "Mikhail T." Cc: "alex.burlyga.ietf alex.burlyga.ietf" , freebsd-fs Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Nov 2015 05:22:48 -0000 On Fri, Nov 27, 2015 at 9:03 PM, Mikhail T. 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 -exec mv {} \; -- Adam