mount floppy disk on ram drive?

Hi!

I am booting QNX on a target that has no hard drive. I boot from a floppy
disk. I would like to write files on the floppy but I get errors when I try
to mount it. I beleive this is because I have no hard drive to mount it to.

Is it possible in QNX to create a ram drive and to mount the floppy
somewhere in the ram drive? If so, could someone please show me how to do
it?

Thanks

Bernard

“Bernard Biron” <bb2@hermes.usherb.ca> wrote in message
news:aetdfr$ji3$1@inn.qnx.com

Hi!

I am booting QNX on a target that has no hard drive. I boot from a floppy
disk. I would like to write files on the floppy but I get errors when I
try
to mount it. I beleive this is because I have no hard drive to mount it
to.

Is it possible in QNX to create a ram drive and to mount the floppy
somewhere in the ram drive? If so, could someone please show me how to do
it?

Floppy are not mounted on the hard disk.
Floppy are mounted just like HD are.
Device are mounted in the path space. The path space is handled
by the “kernel” not by the HD driver.

Is the Floppy driver started, devb-fdc ?

What error are you getting?

Thanks

Bernard

The floppy driver devb-fdc is started.
The error that is get is :
mount: can’t mount /fd/fd0 (type qnx 4)
mount: possible reason: invalid argument

I just saw that there is no fd0 file in the /dev directory! But I boot from
the floppy drive, so I don’t understand…

Thanks!


“Mario Charest” postmaster@l127.0.0.1 a écrit dans le message news:
aete7f$jun$1@inn.qnx.com

“Bernard Biron” <> bb2@hermes.usherb.ca> > wrote in message
news:aetdfr$ji3$> 1@inn.qnx.com> …
Hi!

I am booting QNX on a target that has no hard drive. I boot from a
floppy
disk. I would like to write files on the floppy but I get errors when I
try
to mount it. I beleive this is because I have no hard drive to mount it
to.

Is it possible in QNX to create a ram drive and to mount the floppy
somewhere in the ram drive? If so, could someone please show me how to
do
it?

Floppy are not mounted on the hard disk.
Floppy are mounted just like HD are.
Device are mounted in the path space. The path space is handled
by the “kernel” not by the HD driver.

Is the Floppy driver started, devb-fdc ?

What error are you getting?


Thanks

Bernard
\

“Bernard Biron” <bb2@hermes.usherb.ca> wrote in message
news:aev9bt$2au$1@inn.qnx.com

The floppy driver devb-fdc is started.
The error that is get is :
mount: can’t mount /fd/fd0 (type qnx 4)
mount: possible reason: invalid argument

I just saw that there is no fd0 file in the /dev directory! But I boot
from
the floppy drive, so I don’t understand…

The boot file is loaded by the IPL, as this point the OS is not involved.
There is no need for a floppy driver

Note that devb-fdc takes a while to start and detect the device.
You may want to add on -w /dev/fd0 -W 30, otherwise the mount
command will fail.

Are uou sure devb-fdc is up an running. I think devb-fdc
rely on the precense of other share object, what for that.



Thanks!


“Mario Charest” postmaster@l127.0.0.1 a écrit dans le message news:
aete7f$jun$> 1@inn.qnx.com> …

“Bernard Biron” <> bb2@hermes.usherb.ca> > wrote in message
news:aetdfr$ji3$> 1@inn.qnx.com> …
Hi!

I am booting QNX on a target that has no hard drive. I boot from a
floppy
disk. I would like to write files on the floppy but I get errors when
I
try
to mount it. I beleive this is because I have no hard drive to mount
it
to.

Is it possible in QNX to create a ram drive and to mount the floppy
somewhere in the ram drive? If so, could someone please show me how to
do
it?

Floppy are not mounted on the hard disk.
Floppy are mounted just like HD are.
Device are mounted in the path space. The path space is handled
by the “kernel” not by the HD driver.

Is the Floppy driver started, devb-fdc ?

What error are you getting?


Thanks

Bernard


\

Mario Charest postmaster@127.0.0.1 wrote in article <aevguc$7lh$1@inn.qnx.com>…

“Bernard Biron” <> bb2@hermes.usherb.ca> > wrote in message
news:aev9bt$2au$> 1@inn.qnx.com> …
The floppy driver devb-fdc is started.
The error that is get is :
mount: can’t mount /fd/fd0 (type qnx 4)
mount: possible reason: invalid argument

I just saw that there is no fd0 file in the /dev directory! But I boot
from
the floppy drive, so I don’t understand…

The boot file is loaded by the IPL, as this point the OS is not involved.
There is no need for a floppy driver

Note that devb-fdc takes a while to start and detect the device.
You may want to add on -w /dev/fd0 -W 30, otherwise the mount
command will fail.

Are uou sure devb-fdc is up an running. I think devb-fdc
rely on the precense of other share object, what for that.

Bernard,
Which version of QNX is running? (uname -a). How many threads of devb-fdc do you see? (pidin)

Eduard.
ed1k at ukr dot net