From owner-freebsd-hackers Wed Dec 18 22:58:47 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id WAA04422 for hackers-outgoing; Wed, 18 Dec 1996 22:58:47 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id WAA04416 for ; Wed, 18 Dec 1996 22:58:41 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id HAA19939; Thu, 19 Dec 1996 07:51:08 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id HAA17846; Thu, 19 Dec 1996 07:51:08 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id HAA26525; Thu, 19 Dec 1996 07:46:43 +0100 (MET) From: J Wunsch Message-Id: <199612190646.HAA26525@uriah.heep.sax.de> Subject: Re: unlink by inodes? To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Thu, 19 Dec 1996 07:46:43 +0100 (MET) Cc: reichert@internet.com Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612190418.PAA22239@asstdc.scgt.oz.au> from michael butler at "Dec 19, 96 03:18:40 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As michael butler wrote: > > Is there a way of unlinking a file, given it's _inode_ ? I was > > exploring news expiration alternatives, and was wondering how to > > avoid the overhead of path -> inode lookup... > > Consider that you must find each directory referencing this inode in order > to remove the (possibly multiple) entries pointing to it, ...short of running clri(8) and fsck(8). :-)) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)