Re: Streams devices disappear on reboot
marks <[email protected]> Thu, 26 May 2005 09:52:28 -0700 (PDT)
| Newsgroups | gmane.linux.kernel.streams |
|---|---|
| Message-ID | <Pine.LNX.4.44.0505260941200.10612-100000@adax> |
Hi John,
We have noticed the same problem. A simple init script in
/etc/rc.d/init.d plus symbolic links will work around the problem until a
more permanent solution is at hand:
/etc/rc.d/init.d/streams
/etc/rc.d/rc2.d/S01streams -> ../init.d/streams
/etc/rc.d/rc3.d/S01streams -> ../init.d/streams
/etc/rc.d/rc4.d/S01streams -> ../init.d/streams
/etc/rc.d/rc5.d/S01streams -> ../init.d/streams
$ cat /etc/rc.d/init.d/streams
#
# loading of LiS Streams
# ensure that the streams required device nodes exist in /dev
if [ -e /usr/sbin/strmakenodes ]
then
/usr/sbin/strmakenodes
fi
if [ -e /usr/sbin/streams ]
then
/usr/sbin/streams start
exit 0
else
echo -n $"/usr/sbin/streams not found"
exit 1
fi
You can convert this to use chkconfig on Red Hat if desired. Take a look
at other init scripts in /etc/rc.d/init.d for examples.
On Thu, 26 May 2005, John Hodgkinson wrote:
> Date: Thu, 26 May 2005 14:19:59 +0100
> From: John Hodgkinson <[email protected]>
> To: "'Linux-Streams ([email protected])"
> <[email protected]>
> Subject: [Linux-streams] Streams devices disappear on reboot
>
> Has anyone come across the problem on 2.6 kernels (Red Hat 2.6.9-5.EL in
> this case) where all the /dev devices associated with LiS disappear on
> reboot. My guess is that udev is removing them but I don't know how to add
> them to the udev database. They are definitely there after a make install
> but are gone on the next reboot.
>
> John
>
>
>
>
--
Thanks,
Mark Sincerbox
Adax, Inc.