> when we open a file, how solaris get the vnode of
> this file from the path of
> the file??? related with dnlc
Use the source, Luke:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/syscall/open.c#195
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts
On Wed, 7 May 2008, xulari wrote:
> when we open a file, how solaris get the vnode of this file from the path of
> the file??? related with dnlc
Try this:
dtrace -Fn "
syscall::open64:entry {self->t=1}
fbt::: /self->t == 1/ {}
fbt::fop_*:entry /self->t/ {self->t++}
when we open a file, how solaris get the vnode of this file from the path of
the file??? related with dnlc
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org