how sys_open works?
问题 I have write a simple char device driver (mydev) with "open" file operation in it. In user space application I open this driver node. using open("/dev/mydev", O_RDONLY); The open() system call internally calls the sys_open(). I just want to know the follow of how sys_open() function call my driver's open file operation. How VFS handles this, which function it internally calls. 回答1: I found the answer in Understanding Linux Kernel book, at section 12.5.1 Steps are, Invokes getname( ) to read