📄 readme
字号:
It is very simple.hehe. You just type: insmod scull.ko ./scull_user Early,i want to modified deeply, but i think we just can learn linux-2.6.x interface, that is all. If you want to run the programming, you must recompile the linux 2.6.x kernel, add devfs support, mount devfs and sysfs.The result is :1.[caolingzi@localhost caolingzi]$ cat /proc/versionLinux version 2.6.10 (root@localhost.localdomain) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #6 Sat Feb 19 11:58:16 CST 20052.[caolingzi@localhost caolingzi]$ ls /sys/module/scull/refcnt sections3.[caolingzi@localhost caolingzi]$ ls /devfs/scull/04.[caolingzi@localhost caolingzi]$ cat /proc/devices...180 usb253 scull254 devfs...5.[root@localhost scull_user]# ./scull_userHello, Kernel-2.6.10_scull!ok, good lucky!zhengjiecaolingzi@netease.com2005.2.21
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -