lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: fcntl(2) and other file systems like XFS
From
Date
Jamie Lokier <lfs@tantalophile.demon.co.uk> writes:

> Stephen C. Tweedie wrote:
> > > 2. there is no central repository for all the ioctls so there may
> > > be collisions between ioctls and fcntls.
> >
> > Documentation/ioctl-number.txt
>
> And you will notice there are plenty of collisions already, including
> quite plausible ones with the ext2 ioctls..

Just my 2 cents.
It was mentioned earlier one of the disadvantages of ioctl was that for
special files, that have their own ioctls we can't have use bot sets.

I just too a quick look, and it looks like ioctl can accomplish both
just with a little care. In particular you install some kind of
wrapper for the inode operations after calling init_special_inode...

Eric



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.827 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site