Point developers to vnode_if.awk when they look for functions like VOP_READ MFC: 2 weeks
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 59871 Build 56756: arc lint + arc unit
Event Timeline
Comment Actions
The mdoc is fine, so okay from manpages, but see inline comment.
share/man/man9/vnode.9 | ||
---|---|---|
172 | It's generally better if we can provide explicit definition rather than definition by analogy to examples. |
Comment Actions
I think it is even more confusing that the vnode_if.c and vnode_if.h files are generated in the kernel build directory, which makes grep in kernel sources confusing.
It would be useful to point out where to look for generated code.
share/man/man9/vnode.9 | ||
---|---|---|
177 | BTW, .El is missing here. |
share/man/man9/vnode.9 | ||
---|---|---|
172 | Agreed. Maybe something like the following would be better? The .Fn VOP_* functions are generated from .Pa sys/kern/vnode_if.src by the .Pa sys/kern/vndoe_if.awk script. The interfaces are documented in their respective manual pages like .Xr VOP_READ 9 and .Xr VOP_WRITE 9 . |
share/man/man9/vnode.9 | ||
---|---|---|
172 | Looks great! I'll post an update soon. |