Skip to contentSkip to conversation

Easy question about drivers

DISCUSSION Michael Willhide 3 participants 3 messages Feb 4, 2000

lore
Share & tools
lore
#1 lore raw
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/

#2 lore raw
In reply to Michael Willhide

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/