[dtrace-discuss] tracing change in symlink?

Robert Milkowski milek at task.gda.pl
Wed Apr 1 10:22:01 PDT 2009


Hello Nishchaya,

Wednesday, April 1, 2009, 10:22:53 AM, you wrote:

NB> Hello experts,

NB> Is there a way to find which program is changing the symlink for a 
NB> particular slice using dtrace?

I guess it is probably devfsadmd who is changing your symlink.

If you want to trace what's touching this particular link try to trace
syscalls like: open*(), unlink(), rename(), *stat*() and use a
predicate to specify path to your symlink.



-- 
Best regards,
 Robert Milkowski
                                       http://milek.blogspot.com




More information about the dtrace-discuss mailing list