Subject: Re: Addition to force open to open only regular files
To: None <tech-kern@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 11/24/2000 14:13:01
[ On , November 24, 2000 at 09:15:08 (+0100), Love wrote: ]
> Subject: Re: Addition to force open to open only regular files
>
> Greywolf <greywolf@starwolf.com> writes:
> 
> > reserve() would return a filehandle of sorts 
> 
> getfh(2)

I'd forgotten about these and didn't make the connection with "half open".

Only problem (and it may not be an issue for some programs) seems to be
this:

	This system call is restricted to the superuser.

> > One could also have an rstat() call to stat the filehandle and find out
> > what you've reserved.
> 
> fhstat(2)

Ah!  I didn't know about this one  [there's no SEE ALSO in getfh(2)]

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>