Re: fcntl(2) and other file systems like XFS

From: Stephen C. Tweedie (sct@scot.redhat.com)
Date: Mon Mar 20 2000 - 14:06:43 EST


On Mon, Mar 20, 2000 at 12:44:45PM -0600, Jim Mostek wrote:
 
> The issues with the ioctl vs fcntls:
>
> 1. programs that run using fcntl() on IRIX or other unixes needs
> to change to use ioctls when ported to Linux. We can build a compatability
> library that intercepts fcntl and switches to ioctl or fcntl.

OK, that sort of thing is easy with ELF if you really want to do it in
user space.
 
> 2. there is no central repository for all the ioctls so there may
> be collisions between ioctls and fcntls.

Documentation/ioctl-number.txt

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:30 EST