On Wed, 2008-05-07 at 08:42 -0700, xulari wrote: > hi ,rlhamil : i can dtrace the syscall "open", and i come to here : > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/vnode.c#fop_lookup > > how we get "ufs_lookup" or "#fs_lookup" by fop_lookup? > > int line 3293 : it just call a function pointer...
Hint: Look at ufs_vnops.c, and look for ufs_lookup. The Solaris Internals book has some good information to get acquainted with Solaris file systems. Conveniently, chapter 14 is on this very topic, and is available as a sample chapter here: http://www.solarisinternals.com/si/sample/solaris_internals_ch14_file_system_framework.pdf -Seb _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org