Am Die, 03 Apr 2001 schrieb Stefano Miotto:
> Hi everybody,
> could someone please tell me what should I do to change the number of
> fifos my system have?
> In /dev I have fifos from rtf0 to rtf7, while in
> /usr/src/rtlinux-2.0/rtl/fifos/rt_fifo.c I've found:
> #define RTF_NO 64
> How is this possible?
> Should I recompile this single file?Could you please tell me how?
> Thank you in advance,
> Stefano.
>
Dear Stefano,
in my installation of RTLINUX the makefile installs 64 /dev/rtf%d files,
the entry in the Makefile looks like:
!devices: dummy
! @echo
! @echo -n "Testing for the mbuff device... "
! @if [ ! -e /dev/mbuff ]; then \
! mknod /dev/mbuff c 10 254 && echo "mknod /dev/mbuff c 10 254"; \
! else \
! echo "already existent."; \
! fi
# here comes the part creating the fifos:
! @echo -n "Testing for FIFOs... "
! @if [ ! -e /dev/rtf0 ]; then \
! for i in `seq 0 63`; do \
! mknod /dev/rtf$$i c 150 $$i; \
! done; \
! echo "created /dev/rtf0 - 63 (major 150)"; \
! else \
! echo "already existent."; \
! fi
! @echo
i don't know why you got only fifos from /dev/rtf0 to /dev/rtf7,
just create the other devices with 'mknod'
ciauio uwe
>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/