Unix Programming - Does anybody know when XXattach will be called in Solaris system?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > November 2006 > Does anybody know when XXattach will be called in Solaris system?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Does anybody know when XXattach will be called in Solaris system?
haow

2006-11-22, 7:22 pm

As we know, we define _init, xxattach, xxproble routine when we write
device driver in Solaris system. But I found when I use add_drv or
modinstall, xxattach has not been called. Only when I call open()
function in my process, xxattach will be called. I cannot found any
hint in manpage, can anyone can tell us why? BTW, the driver I'm
designing is a pseudo driver. does the difference exist between pseudo
driver and real device driver?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com