On Sun, Sep 17, 2000 at 09:01:08PM +0800, crzhang wrote:
> Hi all,
> I have install rtlinux2.2 with linux-2.2.14, but in the /dev I have only rtf0 ~
>rtf7, and how do I create the other RT-FIFOs.
Try 'make devices' in the toplevel RTLinux directory, as root. i'm
not sure if that rule was in the Makefile as early as 2.2, but it works for
the current tree we are developing on. Just in case, here is what the rule
does:
echo
echo -n "Testing for the mbuff device... "
mkdir -p /dev
if [ ! -e /dev/mbuff ]; then \
mknod /dev/mbuff c 10 254 && echo "mknod /dev/mbuff c 10 254"; \
else \
echo "already exists."; \
fi
echo -n "Testing for FIFOs... "
if [ ! -e /dev/rtf10 ]; then \
rm -f /dev/rtf*; \
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 exist."; \
fi
echo
--
Nathan Paul Simons, Programmer for FSMLabs
http://www.fsmlabs.com/
-- [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/