굳이 차이점이라면...
insmod는 파일을 이용해서 올리고
modprobe는 모듈 이름을 이용해서 올리고 정도?
pi@raspberrypi ~ $ which modprobe
/sbin/modprobe
pi@raspberrypi ~ $ which insmod
/sbin/insmod
pi@raspberrypi ~ $ ls -al /sbin/modprobe
lrwxrwxrwx 1 root root 9 4월 29 2013 /sbin/modprobe -> /bin/kmod
pi@raspberrypi ~ $ ls -al /sbin/insmod
lrwxrwxrwx 1 root root 9 4월 29 2013 /sbin/insmod -> /bin/kmod
insmod
insmod [ filename ] [ module options... ]
insmod is a trivial program to insert a module into the kernel: if the filename is a hyphen, the module is taken from standard input. Most users will want to use modprobe(8) instead, which is more clever.
[링크 : http://linux.die.net/man/8/insmod]
modprobe
modprobe [ -v ] [ -V ] [ -C config-file ] [ -n ] [ -i ] [ -q ] [ -b ] [ -o modulename ] [ modulename ] [ module parameters... ]
modprobe intelligently adds or removes a module from the Linux kernel: note that for convenience, there is no difference between _ and - in module names. modprobe looks in the module directory /lib/modules/'uname -r' for all the modules and other files, except for the optional /etc/modprobe.conf configuration file and /etc/modprobe.d directory (see modprobe.conf(5)). modprobe will also use module options specified on the kernel command line in the form of <module>.<option>.
[링크 : http://linux.die.net/man/8/modprobe]
[링크 : http://www.readysystem.co.kr/ready/bbs/board.php?bo_table=tech_linux&wr_id=36&page=5]
'Linux' 카테고리의 다른 글
리눅스에서 메모리 뱅크 확인하기 (0) | 2015.10.30 |
---|---|
IIO - Industrial I/O (2) | 2015.09.03 |
리눅스 device tree (0) | 2015.04.29 |
커널 컴파일 옵션 neon 과 cpu feature (0) | 2015.04.28 |
쓰레드 / 프로세스 (0) | 2015.04.27 |