RAM Disk

Does anyone know if there is a way to create a RAM disk in QNX 4.25 without
specifying it as an option to Fsys in the boot image? Or, is there a way to
restart Fsys with the -r option without killing the system? I know you can
do this with inetd and other processes and I realize this request is quite a
stretch, but if there was some obscure way of doing it, I would save a lot
of time.


Marc.

Previously, Marc Desjardine wrote in qdn.public.qnx4:

Does anyone know if there is a way to create a RAM disk in QNX 4.25 without
specifying it as an option to Fsys in the boot image? Or, is there a way to
restart Fsys with the -r option without killing the system? I know you can
do this with inetd and other processes and I realize this request is quite a
stretch, but if there was some obscure way of doing it, I would save a lot
of time.

Check out Efsys.ram. I think it has some limitations, though.

  • Pete

“Pete DiMarco” <peted.NOSPAM@NOSPAM.ifsreg.com> wrote in message
news:Voyager.001113170156.1428A@node1…

Previously, Marc Desjardine wrote in qdn.public.qnx4:
Does anyone know if there is a way to create a RAM disk in QNX 4.25
without
specifying it as an option to Fsys in the boot image? Or, is there a
way to
restart Fsys with the -r option without killing the system? I know you
can
do this with inetd and other processes and I realize this request is
quite a
stretch, but if there was some obscure way of doing it, I would save a
lot
of time.

Check out Efsys.ram. I think it has some limitations, though.

And there is also vdir (new with 4.25D). vdir has the advantage of
change size dynamicly!

  • Pete

Previously, Marc Desjardine wrote in qdn.public.qnx4:

Does anyone know if there is a way to create a RAM disk in QNX 4.25 without
specifying it as an option to Fsys in the boot image? Or, is there a way to
restart Fsys with the -r option without killing the system? I know you can
do this with inetd and other processes and I realize this request is quite a
stretch, but if there was some obscure way of doing it, I would save a lot
of time.

You can start another incarnation of Fsys. You have to give a (undocumented?)
name option. I do in my sysinit:
Fsys -N qnx/ramdisk -c0 -r 25M

That way you can slay and restart it as you wish.

Marc.

Thanks, that’s greatly appreciated.

Marc.


Marc Desjardine <MDesjardine@DELETE_THIS_PARTaptpower.com> wrote in message
news:8upp51$o3h$1@inn.qnx.com

Does anyone know if there is a way to create a RAM disk in QNX 4.25
without
specifying it as an option to Fsys in the boot image? Or, is there a way
to
restart Fsys with the -r option without killing the system? I know you
can
do this with inetd and other processes and I realize this request is quite
a
stretch, but if there was some obscure way of doing it, I would save a lot
of time.


Marc.