Problem with fd

I am having trouble with mounting a floppy disk as a file system. when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the fdformat
utility, before trying to mount it. The Fsys.floppy is running when I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff thats
happening.

Thanks.

Do a dinit /dev/fd0.

Fdformat does a “low level” format but doesn’t
create the filesystem.

“lalit” <lalit@engrs.unl.edu> wrote in message
news:39AFD0AE.C412D40@engrs.unl.edu

I am having trouble with mounting a floppy disk as a file system. when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the fdformat
utility, before trying to mount it. The Fsys.floppy is running when I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff thats
happening.

Thanks.

lalit <lalit@engrs.unl.edu> wrote:

I am having trouble with mounting a floppy disk as a file system. when i
give the command

Try Dosfys after Fsys.floppy is running.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Even with the Dosfsys, the same problem pertains.


Chris McKillop wrote:

lalit <> lalit@engrs.unl.edu> > wrote:

I am having trouble with mounting a floppy disk as a file system. when i
give the command


Try Dosfys after Fsys.floppy is running.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”
Chris McKillop – Lewis Carroll –
Software Engineer, QSSL

What happened to the “dinit” dommand after the fdformat command??

lalit <lalit@engrs.unl.edu> wrote in message
news:39AFD0AE.C412D40@engrs.unl.edu

I am having trouble with mounting a floppy disk as a file system. when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the fdformat
utility, before trying to mount it. The Fsys.floppy is running when I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff thats
happening.

Thanks.

Make sure there is NOT a disk in the drive while you’re doing the mount
command. You cannot mount the drive with a disk in there.








“lalit” <lalit@engrs.unl.edu> wrote in message
news:39AFD0AE.C412D40@engrs.unl.edu

I am having trouble with mounting a floppy disk as a file system. when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the fdformat
utility, before trying to mount it. The Fsys.floppy is running when I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff thats
happening.

Thanks.

Bingo this is the answer!

Chris Southern <csouthern@sprintmail.com> wrote in message
news:KvUr5.15320$p5.409802@newsread03.prod.itd.earthlink.net

Make sure there is NOT a disk in the drive while you’re doing the mount
command. You cannot mount the drive with a disk in there.








“lalit” <> lalit@engrs.unl.edu> > wrote in message
news:> 39AFD0AE.C412D40@engrs.unl.edu> …
I am having trouble with mounting a floppy disk as a file system. when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the fdformat
utility, before trying to mount it. The Fsys.floppy is running when I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff thats
happening.

Thanks.

Hmmm… I guess it’s not true… I usually mount floppy with a disk in
it. But the disk need to be fdformat’ed and dinit’ed before doing it,
or else mount will warn that there’s a corrupted filesystem.
And it’s even better to mount with a disk in it, since it’ll run
quicklier! (mount won’t wait for disk check timeout)


Ricardo K. Ashikawa

Make sure there is NOT a disk in the drive while you’re doing the
mount
command. You cannot mount the drive with a disk in there.

I am having trouble with mounting a floppy disk as a file system.
when i
give the command

mount /dev/fd0 /fd

I get an error saying that the mount failed because “corrupted file
system detected”. I have formatted the floppy disk using the
fdformat
utility, before trying to mount it. The Fsys.floppy is running when
I
try it.

Another weird thing thats happening is that I am unable to kill the
Fsys.floppy process if I want to. It just wouldnt die with either
kill
or slay commands.

I would appreciated a detailed explaination of this weird stuff
thats
happening.

Thanks.
\

Sent via Deja.com http://www.deja.com/
Before you buy.

Chris Southern <csouthern@sprintmail.com> wrote in message
news:KvUr5.15320$p5.409802@newsread03.prod.itd.earthlink.net

Make sure there is NOT a disk in the drive while you’re doing the mount
command. You cannot mount the drive with a disk in there.

No. You should have a disk in there when you mount (and you should unmount
before you take it out).

To use floppies:

Fsys.floppy (and of course Fsys) must be running.
Fsys.floppy &

The disk must be formatted or you can format it with fdformat. Assuming this
is the first floppy drive (fd0):
fdformat /dev/fd0

The disk must have a qnx-filesystem, you make this with dinit
dinit /dev/fd0

Mount the disk into the filetree, you specify what you want the subdirectoy
to be known as, I prefer /fd:
mount /dev/fd0 /fd

When done, unmount it:
umount /dev/fd0


However, if you want to use DOS-formatted floppies:

Not that the DOS command format formats the floppy and makes a dos
filesystem on it. I don’t think you can dos-format a floppy on a QNX-system
(maybe you can do a fdformat and dump a precopied image of a dos-formatted
floppy?)

Instead of mounting you start the dos file system driver.
Dosfsys -L &

The -L mean Dosfsys will support long filenames, but only for reading
according to the manual for QNX 4.25 (are there newer versions that can?)

Now the drives will show up under /dos as a, b and so on, so the first
floppy is /dos/a.

The error message “Corrupted filesystem detected” is bad and should have
been replaced. It means “Could not detect a valid QNX-filesystem”, and you
get it if you try ti mount an unformatted or unititialized diskette or if
it is a DOS-diskette.