Easy question about drivers
Are video cards considered character devices?
--
Michael Willhide
[email protected]
http://www.personal.psu.edu/mdw190
--
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 2 lines · Michael Willhide
Are video cards considered character devices?
$ ls -l /dev/fb0 crw------- 1 rich root 29, 0 Jun 25 1999 /dev/fb0 ^
Yup. :-)
-Rich
--
------------------------------ Rich Lafferty ---------------------------
Sysadmin/Programmer, Instructional and Information Technology Services
Concordia University, Montreal, QC (514) 848-7625
------------------------- [email protected] ----------------------
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
In message <B4C07534.2AA2%[email protected]> you write:
Quoted 2 lines
Are video cards considered character devices?
Yes.
In simple words, a device is either a block device, or a charcter device.
A block device is something which can hold a filesystem.
You cannot make a filesystem on a video card.
Ergo: a video card is a character device.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Of all possible committee reactions to any given agenda item, the reaction that will occur is the one which will liberate the greatest
amount of hot air. -- Thomas L. Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/