what is the kernel function called when a file is created
HELLO,
if u had seen the thread before i was searching an equivalent for dtrace.. i hav resolved to systemtap.. i am able to trace the systemcalls.. but when a file is created it doesnot call create system call.. one can probe kernel function in systemtap also.. any idea of what is the system call or kernel function called when a new file is created..:scratch: |
If I understand your question correctly, I beleive it is the 'open()' call. If the specified file does not exist, it is created.
--- rod. |
ya,thats okay..
open() would work fine.. but is there any way to find that the file opened already exists or new one is created.. i would like to trace files that are created.. thanks, --vivek |
All times are GMT -5. The time now is 12:31 PM. |