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++}
        fbt::fop_*:return /self->t/ {self->t--}
        syscall::open64:return {self->t=0; exit(0)}
        "

and read through the output.

As with your previous question, what are you trying to achieve ?

FrankH.
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to