Hello, My device driver stores process specific info in its private field(yes..weird!). On a fork the private field gets a new member (for the child process). When a process exits, i wouldve to clean this up. However given that the device drivers close is called only on teh last close, I cant seem to figure out anyway. Any pointerS? Thanks, Sudharsan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/