root@dw:/home/dengwei/eclipse_workspace/hello# insmod hello.ko
root@dw:/home/dengwei/eclipse_workspace/hello# echo 8 > /proc/sys/kernel/printk
root@dw:/home/dengwei/eclipse_workspace/hello# cat /proc/sys/kernel/printk
8 4 1 7
root@dw:/home/dengwei/eclipse_workspace/hello# rmmod hello.ko
-----------------------------------------------------------------
并没有出现想要的结果,
具体细节参考:牛人博客
http://blog.chinaunix.net/u1/34474/showart.php?id=407383
阅读(502) | 评论(0) | 转发(0) |