Messages in this thread | | | Date | Fri, 24 Mar 2000 18:14:20 +0100 | From | Jamie Lokier <> | Subject | Re: fcntl(2) and other file systems like XFS |
| |
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/
| |