looking at the floppy

Hello,

I am a total newbie at QNX and Unix OS’s. Simple first question is: how do
I
look at the contentes of a floppy disk? I want to examine how the 1.44 M
demo disk is made.

thanks

Hi David,

To see the contents of the floppy, you simply have to mount the drive

mount /dev/fd0 [destination] for example /fd

regards

Francois

David Koning Muller <davem188@lycos.com> wrote:

Hello,

I am a total newbie at QNX and Unix OS’s. Simple first question is: how do
I
look at the contentes of a floppy disk? I want to examine how the 1.44 M
demo disk is made.

thanks

Hello david,

I’m sorry, the demodisk is a boot image, hence it is not possible to view the
content of the floppy. I had read the question incorrectly the first time.

Regards,

Francois

David Koning Muller <davem188@lycos.com> wrote:

Hello,

I am a total newbie at QNX and Unix OS’s. Simple first question is: how do
I
look at the contentes of a floppy disk? I want to examine how the 1.44 M
demo disk is made.

thanks

Hi Francois and everyone,

I did this with the floppy demo on the drive:
$ su super (this is a user with root privileges, i.e. uid=0
gid=0 on passwd)
Password:

mount /dev/fd0 (didn’t specified a mountpoint, don’t know

what I was thinking :slight_smile:)

After this, I don’t remember if there were any error msgs., but when I
did:

mount -u /dev/fd0

/bin/sh: mount: Not found. (don’t know if it is exact, but is
something like this)
Corrupt filesystem detected.

Lots of floppy drive read attempts after anything I write in the
cmdline, commands or bullshit, i.e.:

damned mount!

/bin/sh: damned: Not found.
Corrupt filesystem detected.

And then, when I try to chkfsys /dev/fd0, chkfsys isn’t found. When I
cold-boot my PC again, everything goes OK untill I try to chkfsys
/dev/fd0 without any floppy in. It shows some error msgs then the
systems goes on like above.
I chkfsys /dev/fd0 with the demo in, answered yes to all questions
(lots of ‘Serious error: … : FIXABLE’). Did it again, flagged OK.
Did a -u (unconditional check) and lots of serious errors again. I
threw the floppy away, deleted /fs/fd0, chkfsys /dev/fd0 and /fs/fd0,
everything went OK up to now.

Why did it occour? Was it because ‘the demodisk is a boot image’?

TIA (and thanks for your patience, too :wink:)

  • Carlos Augusto

Tools Mail Account <tools@qnx.com> escreveu nas notícias de
mensagem:9dr816$g07$1@nntp.qnx.com
| Hello david,
|
| I’m sorry, the demodisk is a boot image, hence it is not possible to
view the
| content of the floppy. I had read the question incorrectly the
first time.
|
| Regards,
|
| Francois