[Topic DIscussion] 显卡属于什么设备?字符设备、块设备、网络设备?
Tofloor
poster avatar
潜水7年
deepin
2021-07-22 05:51
Author

书上说Linux中的设备分为字符设备,块设备和网络设备。那显卡属于什么设备?块设备吗?

Reply Favorite View the author
All Replies
潜水7年
deepin
2021-07-22 05:55
#1

如果是块设备,为什么lsblk不显示它,只显示磁盘?

Reply View the author
诗羔羊
deepin
2021-07-22 16:35
#2

设备类型是驱动提供给内核的,块设备一般指硬盘等存储设备,显卡明显不是。它属于字符设备

Reply View the author
潜水7年
deepin
2021-07-22 17:29
#3
诗羔羊

设备类型是驱动提供给内核的,块设备一般指硬盘等存储设备,显卡明显不是。它属于字符设备

请问如何在系统中查看显卡的设备文件呢?我理解设备都会有设备文件,然后用ls -l时第一个字母就是文件类型,显卡的设备文件是在哪里呢?

Reply View the author
mutgildeepin
deepin
2021-07-22 22:21
#4

I/O设备,哈哈哈

Reply View the author