The function of open access to the user is what you think about, it is a system call that returns an int file descriptor. Lots of good links for this, like APUE . 3.3.
An open method device driver is a function in the file_operations structure. It differs from the "open file" in user space. When the device driver is installed, when user code opens the device (for example, calls to / dev / scull 0), this "public method" will be called.
source share