- 论坛徽章:
- 0
|
There are basically two ways of using a kernel module from a user application. The first is using a device file (usually in /dev). The kernel module registers itself with a device file when it starts up, and user applications can interact with the module by standard file operations (open, close, read, write, ioctl, etc). The other way is through the /proc interface. The module can register entries in the /proc pseudo file system, and interacts with user applications by reads and writes. We chose to use the first approach.
上面这段英语说明了什么问题,不太明白,请大侠们指教。 |
|