# cat /proc/devices
Character devices:
1 mem
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
81 video4linux
89 i2c
90 mtd
128 ptm
136 pts
180 usb
188 ttyUSB
189 usb_device
204 ttyAM
253 usb_endpoint
254 rtc
Block devices:
259 blkext
8 sd
31 mtdblock
43 nbd
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
程序位于fs/proc/devices.c
module_init(proc_devices_init);
阅读(1239) | 评论(0) | 转发(0) |