help!

i am looking for the equivalent of the UNIX command mknod for QNX. also,
how can i find 2 different minors from a single major for a certain
command QNX? acutally we’re trying to write a DAC converter driver for
QNX. we were able to write the driver for one port, but for two or more
ports, we need the difference major/minor to continue further in our
development. HELP!!!

thanks!
kokoe
tooty@caramail.com

toto <tooty@caramail.com> wrote:

i am looking for the equivalent of the UNIX command mknod for QNX. also,
how can i find 2 different minors from a single major for a certain
command QNX? acutally we’re trying to write a DAC converter driver for
QNX. we were able to write the driver for one port, but for two or more
ports, we need the difference major/minor to continue further in our
development. HELP!!!

mknod doesn’t exist for QNX 4 – but what it does isn’t generally needed.

Are you using the IO manager framework? (I’m not sure exactly at what
stage you are – but my understanding is that you get a unique major
from the OS, but within that, minors can be whatever the driver/manager
chooses them to be.)

-David

QNX Training Services
dagibbs@qnx.com