root@KMU-UBUNTU:/work/mod_student# cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
5 ttyprintk
6 lp
7 vcs
10 misc
13 input
21 sg
29 fb
99 ppdev
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
216 rfcomm
226 drm
250 hidraw
251 megaraid_sas_ioctl
252 bsg
253 watchdog
254 rtc
Block devices:
1 ramdisk
2 fd
259 blkext
7 loop
8 sd
9 md
11 sr
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
252 device-mapper
253 virtblk
254 mdp
root@KMU-UBUNTU:/work/mod_student# mknod /dev/suji -c 200 1 // make nod -> 연결하는 디바이스 파일의 노드를 만듬
mknod: invalid option -- 'c'
Try `mknod --help' for more information.
root@KMU-UBUNTU:/work/mod_student# mknod /dev/suji c 200 1
root@KMU-UBUNTU:/work/mod_student# ls -l /dev/suji
crw-r--r-- 1 root root 200, 1 May 9 20:20 /dev/suji
root@KMU-UBUNTU:/work/mod_student#
'이전것 > LINUX' 카테고리의 다른 글
device driver 3 (0) | 2016.05.23 |
---|---|
device driver (2) (0) | 2016.05.16 |
make (0) | 2016.04.04 |
압축 (0) | 2016.03.21 |
퍼미션 (0) | 2016.03.21 |