messages printed lots of times

mohit verma mohit89mlnc at gmail.com
Sat Feb 26 06:32:55 EST 2011


hi all,

i am putting a printk() on link_path_walk() kernel function ( the pathname
resolution function). i access that printk() only at some special condition
(like if pathname passed to link_path_walk() matches with some name) . but
when it gets hit  like when i pass pathname via unlink(2) , lots of messages
are written to dmesg ( or /var/log/messages) . i could not understand why
these lots of messages are being written  ? (i was hoping for only one
message)

i check for the match  with some perticular filename just for a trial.

thanks in advance

-- 
........................
*MOHIT VERMA*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110226/8feae1db/attachment.html 


More information about the Kernelnewbies mailing list