Subject: Re: fsctl(2) [was: Re: Interface to change NFS exports]
To: None <tech-kern@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-kern
Date: 09/16/2005 18:48:55
On Fri, Sep 16, 2005 at 07:35:22 -0700, Chuck Silvers wrote:

> more precisely, fcntl() operates on file *descriptors*; ioctl()
> operates on files.
[...]
> in short, I don't think having file-system-specific stuff in an
> interface that's intended to control file descriptors makes much
> sense.  we certainly shouldn't move further in that direction, and
> it would be good to eventually replace our existing use of that
> mechanism with something else instead, either ioctl() or possibly
> this fsctl() thing.

I totally agree.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen