Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 1996 07:46:43 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        reichert@internet.com
Subject:   Re: unlink by inodes?
Message-ID:  <199612190646.HAA26525@uriah.heep.sax.de>
In-Reply-To: <199612190418.PAA22239@asstdc.scgt.oz.au> from michael butler at "Dec 19, 96 03:18:40 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612190646.HAA26525>