Subject: Re: funlink() for fun!
To: NetBSD Kernel Technical Discussion List <firstname.lastname@example.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
Date: 07/11/2003 02:43:00
> First off if you have cached the open file name then you don't need
> to worry about the link count -- funlink() would always remove the
> intended file in that case since it knows the file's name precisely.
The name under which it was opened does not necessarily bear any
relation to any names it has later, nor does the file which was opened
under a given name necessarily bear any relation to any file that may
later exist under that name.
These remain true even if every file in sight has nlink 1.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML email@example.com
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B