I want to store some process-dependent information in my
driver. I want to init them in open() and
deinit them in flush(), these 2 methods get called when the
app process calling open() or close() functions.
But if one parent process forked child process with my driver
opened. Than, is the open() method get called?
I want to store child-process-dependent as well.
How about in dup() ?? Will the
open() get called in this case? thanks.
|