[dtrace-discuss] all open files

Casper.Dik at Sun.COM Casper.Dik at Sun.COM
Tue Jul 10 01:42:31 PDT 2007


:
>Zhou Aaron wrote:
>> Thanks for your correcting.
>> Another question: In userland, is there any other way to open file 
>> except for the open()/creat() syscall?

>I'm not sure.  There may be other variants of open/creat.

open64/creat64 (but those tend to be hidden/automatic)
openat()       (opens relative to a specific directory)

>Well, that vnode has to get created and initialized somehow.  But how
>are these questions helpful to the problem?

Yes, by calling the appropriate functions.  (Not part of the DDI/DDK
as of yet, I believe)

Casper


More information about the dtrace-discuss mailing list