mkfifo problem on a PPCBE platform ?

Hi all

i’ ve succesfully made a Neutrino kernel for a ppcbe target and it runs
quite well
the only problem i have is with the mkfifo or mknod command
on the target itself mkfifo test_fifo returns function not implemented and
in a C prog both mkfifo and mknod returns invalid arg . A mknod function
call with S_IFDIR works well .

Any idea ?


Christophe

Christophe Menard <c(no)menard3(spam)@wanadoo.fr> wrote:

Hi all

i’ ve succesfully made a Neutrino kernel for a ppcbe target and it runs
quite well
the only problem i have is with the mkfifo or mknod command
on the target itself mkfifo test_fifo returns function not implemented and
in a C prog both mkfifo and mknod returns invalid arg . A mknod function
call with S_IFDIR works well .

Are you trying to make the fifo/node inside of the image filesystem? It is
read only. If you look in the docs to mkifs you will see you can actually
make the fifo as part of the boot image. Something like…

[type=fifo]/dev/test_fifo

cris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/