From owner-freebsd-fs@freebsd.org Sat Nov 28 15:23: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 523FAA3A216 for ; Sat, 28 Nov 2015 15:23:48 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F0771C3A; Sat, 28 Nov 2015 15:23:47 +0000 (UTC) (envelope-from mi+thun@aldan.algebra.com) Received: from [192.168.1.8] ([100.1.236.52]) by vms173005.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NYJ00BHJ6RGJX10@vms173005.mailsrvcs.net>; Sat, 28 Nov 2015 09:23:41 -0600 (CST) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=UorMnhrCY2jH/mPejITChw==:117 a=LaogzpLLAAAA:8 a=oR5dmqMzAAAA:8 a=qtqOOiqGOCEA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=Z29a-TBkDGM1egZ8RIQA:9 a=pILNOxqGKmIA:10 a=E_JP7TCqwq8A:10 a=6I5d2MoRAAAA:8 a=AE_zWaUsDz9FSKkf5Z0A:9 a=HDl3vuLClUmWSPM6:21 a=_W_S_7VecoQA:10 Subject: Re: Recovering an unlink-ed, but still opened file To: Julian Elischer , "alex.burlyga.ietf alex.burlyga.ietf" References: <5658E498.9070700@aldan.algebra.com> <56591999.1040001@aldan.algebra.com> <56593251.90705@aldan.algebra.com> <56597B78.6060203@freebsd.org> Cc: freebsd-fs From: "Mikhail T." Message-id: <5659C6FC.9080708@aldan.algebra.com> Date: Sat, 28 Nov 2015 10:23:40 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-version: 1.0 In-reply-to: <56597B78.6060203@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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 15:23:48 -0000 On 28.11.2015 05:01, Julian Elischer wrote: > are you allowed to reboot? I'd rather it was not required... > fsdb may be your answer to relink it and then reboot, causing fsck to > correct the linkage counts. Can't the linkage count be fixed by other means? Some equivalent of link(2): linkfd(pid_t pid, int fd, const char *name2); ? Yours, -mi