vn_ routines
Bill Baker
web at farpoint.austin.ibm.com
Wed Mar 13 07:46:15 AEST 1991
>Does anyone know where all the vn_ routines are kept? Only two of them are
>described as "kernel services", the rest are all "subroutines". But ld can't
>find them in the standard libraries, and despite doing "ar t" on all the .a
>files in /lib and /usr/lib, none of them show up anywhere.
>Ruth Milner
>Systems Manager NRAO/VLA Socorro NM
> rmilner at zia.aoc.nrao.edu
My apologies for the confusing documentation. The vn_ routines described
in the documentation are an attempt to define the entry points for a new file
system type that you would write. For example, if you were writing a dos
file system to run in AIX, you would have to define routines like dos_rdwr,
dos_rele, dos_lookup, and so on. These routines would be called from the
AIX logical file system via a pointer in the vnode.
If you want to do file system I/O from a kernel extension, I'd recommend
the fp_ interfaces. They roughly correspond to the system calls. These
are only callable from a kernel extension. If you're writing applications,
you're stuck with the system call interfaces (normal read, write, ...).
Hope it helps,
web
--
Bill Baker Internet: web at glasnost.austin.ibm.com
IBM AWD AWD net: web at farpoint.austin.ibm.com
11400 Burnet Rd. VNET: WEBAKER AT AUSVMQ
Austin, TX; 78758-2502
More information about the Comp.unix.aix
mailing list