Ramdisk ?

Hi !

I’m trying to find out how to generate a 60MB ramdsk on my QNX 4.25 system.
Troble is, I haven’t found anything that works :frowning:

Does anyone here have a tip or two ?

Regards,
Joachim Holst

Joachim Holst <joachim.holst@obducat.com> wrote:

Hi !

I’m trying to find out how to generate a 60MB ramdsk on my QNX 4.25 system.
Troble is, I haven’t found anything that works > :frowning:

Does anyone here have a tip or two ?

Have you tried “Fsys -r60000”?

That should give a 60000K ram disk available as /dev/ram. After running
Fsys like this:
dinit /dev/ram
mount /dev/ram /ram

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:as2p5f$9tf$1@nntp.qnx.com

Joachim Holst <> joachim.holst@obducat.com> > wrote:
Hi !

I’m trying to find out how to generate a 60MB ramdsk on my QNX 4.25
system.
Troble is, I haven’t found anything that works > :frowning:

Does anyone here have a tip or two ?

Have you tried “Fsys -r60000”?

That should give a 60000K ram disk available as /dev/ram. After running
Fsys like this:
dinit /dev/ram
mount /dev/ram /ram

There is also vdir

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Mario Charest postmaster@127.0.0.1 wrote:

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:as2p5f$9tf$> 1@nntp.qnx.com> …
Joachim Holst <> joachim.holst@obducat.com> > wrote:
Hi !

I’m trying to find out how to generate a 60MB ramdsk on my QNX 4.25
system.
Troble is, I haven’t found anything that works > :frowning:

Does anyone here have a tip or two ?

Have you tried “Fsys -r60000”?

That should give a 60000K ram disk available as /dev/ram. After running
Fsys like this:
dinit /dev/ram
mount /dev/ram /ram

There is also vdir

Yes, there is. If you are already running/using Fsys in your system,
I’d let Fsys give you a ram disk. If not, then vdir will provide one
with less overhead than Fsys, but Fsys has more miles on it than vdir.

Also, if you are using Fsys for ram disk only, you may want to limit
the size of its cache with the -c option.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Joachim Holst wrote:
Thanks all you who answered my question. This has solved one of my problems :slight_smile:

Best Regards,
Joachim Holst