web | Java

如何查看内核中已有的字符设备的信息?

千锋教育

查看字符设备信息可以用lsmod 和modprobe,lsmod可以查看模块的依赖关系,modprobe在加载模块时会加载其他依赖的模块