[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/fb not there?



Steve Hsieh <steveh@eecs.umich.edu> writes:

> You can use mknod to make them yourself.

Ick.  Inevitably, if you get used to doing things this way, you'll
slip up at some point and create things with the wrong permissions.
A much better solution is to use /dev/MAKEDEV to do it:

/dev/MAKEDEV -v fb

(this must be done as root).

The point is that the existence of files in /dev has little to nothing 
to do with whether or not the kernel supports that device; creating
the device files and supporting those devices in the kernel are
separate tasks.  (I do remember some talk of a kernel patch that would 
make /dev into a virtual filesystem like /proc, so that files would
appear in /dev magically as soon as the kernel was made to support the 
given device, but that's not here yet)


Reply to: