Jeff,

Does the following script do the same thing?

----------------------------------
[EMAIL PROTECTED]:/home/andy# cat /usr/realtime/bin/script.sh
#!/bin/bash
mknod -m 666 /dev/rtai_shm c 10 254
for n in `seq 0 9`
do
        f=/dev/rtf$n
        mknod -m 666 $f c 150 $n
done

[EMAIL PROTECTED]:/home/andy# ls -l /dev | grep shm
crw-rw-rw- 1 root   root       10, 254 2007-11-01 21:04 rtai_shm
drwxrwxrwt 2 root   root            40 2007-11-01 21:03 shm
----------------------------------

Andy

Jeff Epler wrote:
> The following emc2.rules file, which is installed when you install a
> .deb of emc2 (but not by 'make install), makes the rtai_shm device
> accessible to all users:
>     ~/emc2-src/debian/extras-Ubuntu-6.06/etc/udev/rules.d$ cat emc2.rules 
>     KERNEL=="RTAI_SHM" SYMLINK=="rtai_shm" MODE="0666"
> 
> Jeff

-- 
Andy
PGP Key ID: 0x67090A54

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to