问题:rmmod: can’t change directory to ‘/lib/modules’: No such file or directory
现象:
#rmmod myhello
rmmod: can't change directory to '/lib/modules': No such file or directory
解决方法:
创建目录/lib/modules
#cd /lib/
#mkdir module
再次rmmod,提示
#rmmod myhello
rmmod: can't change directory to '3.14.0': No such file or directory
创建目录
#cd modules/
#mkdir 3.14.0
再次rmmod myhello
成功卸载