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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Fri Mar 24 2000 - 12:14:20 EST


David Howells wrote:
> I still think that there should be some sort of equivalent of fcntl() that
> works on filenames rather than file descriptors for this sort of thing.
>
> Not all fcntl() options would be valid in such a context (for instance file
> locks), but some of the others proposed might.

fcntl() is almost by definition, an operation on an open fd. You'll
notice none of the existing fcntl() operations makes sense without a
descriptor. Only the proposed extensions, which it has been argued
should be ioctls not fcntls.

-- Jamie

-
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 : Fri Mar 31 2000 - 21:00:13 EST