Subject: Re: funlink() for fun!
To: NetBSD Kernel Technical Discussion List <tech-kern@NetBSD.ORG>
From: Roland Dowdeswell <firstname.lastname@example.org>
Date: 07/11/2003 11:03:03
On 1057854937 seconds since the Beginning of the UNIX epoch
"Greg A. Woods" wrote:
>[ On Wednesday, July 9, 2003 at 13:00:03 (-0700), Greywolf wrote: ]
>> Subject: Re: POSIX shm_open() vs. mmap(MAP_ANON|MAP_SHARED)....
>> Um, slightly off-topic, but wouldn't funlink() be somewhat disastrous in
>No more than unlink(), provided that the link count was only one;
>alternately the pathname could be cached in the kernel. ;-)
I think that funlink(2) as an idea doesn't really make sense.
unlink(2) specifically operates on directory entries, not on files.
Roland Dowdeswell http://www.Imrryr.ORG/~elric/