From owner-freebsd-questions Mon Jun 24 15:43:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA20113 for questions-outgoing; Mon, 24 Jun 1996 15:43:32 -0700 (PDT) Received: from arnie.systems.sa.gov.au (arnie.systems.sa.gov.au [143.216.242.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA20108 for ; Mon, 24 Jun 1996 15:43:29 -0700 (PDT) Received: from state.systems.sa.gov.au by arnie.systems.sa.gov.au (PMDF V4.3-7 #13538) id <01I6BHMTUYOW00GP36@arnie.systems.sa.gov.au>; Tue, 25 Jun 1996 08:13:17 +1030 Received: from jolt (jolt.systems.sa.gov.au) by state.systems.sa.gov.au (PMDF V5.0-4 #13538) id <01I6BHMO5VVK005GOS@state.systems.sa.gov.au> for questions@freefall.freebsd.org; Tue, 25 Jun 1996 08:13:09 +0930 Date: Tue, 25 Jun 1996 08:15:06 -1000 From: Garth T Kidd Subject: int link(const int inode, const char *name2) X-Sender: garth@dogbert.systems.sa.gov.au To: questions@freefall.freebsd.org Message-id: <1.5.4.32.19960625181506.00384450@dogbert.systems.sa.gov.au> MIME-version: 1.0 X-Mailer: Windows Eudora Light Version 1.5.4 (32) Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: 7BIT Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [This is on a BSDI machine, but BSDI and FreeBSD are at least half-brothers, so here goes...] I've accidentally unlinked a file (or rather, had it unlinked for me by gzip -- still my mistake) from the directory it was in. The file is, however, still open. If I can get the inode (downloading lsof now), is it possible to link it to the directory again? -- garth@dogbert.systems.sa.gov.au | Garth Kidd +61-8-207-7740 (voice) | Network Services +61-8-207-7860 (fax) | EDS | Adelaide, AUSTRALIA