[root@xxx/home]# insmod xxx.ko
insmod: can't insert 'xxx.ko': File exists
[root@xxx /home]# rmmod xxx.ko
rmmod: can't change directory to '/lib/modules': No such file or directory
[root@xxx /home]# ls /lib/modules
ls: /lib/modules: No such file or directory
安装驱动模块后,卸载该模块时,linux提示没有/lib/modules目录。
问题:卸载内核模块为什么需要这个路径?