Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't mount floppy drive

164 views
Skip to first unread message

Au Kwok Wai Samuel

unread,
May 28, 1998, 3:00:00 AM5/28/98
to

Hi,


I can't mount any floppy drive except QNX boot disk. The error message is,

# mount /dev/fd0 /fd
mount: mount() of /dev/fd0 failed: Corrupted file system detected

How to figure it out?

Thanks in advances.

Regards,
Samuel


Inge Vabekk

unread,
May 28, 1998, 3:00:00 AM5/28/98
to

Au Kwok Wai Samuel wrote in message <6kj267$e...@eng-ser1.erg.cuhk.edu.hk>...

> I can't mount any floppy drive except QNX boot disk. The error message
is,
>
># mount /dev/fd0 /fd
>mount: mount() of /dev/fd0 failed: Corrupted file system detected


You need a QNX filesystem on the diskette.

Write

dinit /dev/fd0

before you perform the mount. Remember that this command
will effectively remove any information from the diskette. Don't
be surprised if the "dinit" is fast. It should be.

--
in...@arxi.nospam (remove spam....)

Dave Baerg

unread,
May 28, 1998, 3:00:00 AM5/28/98
to


Au Kwok Wai Samuel wrote:

> Hi,


>
> I can't mount any floppy drive except QNX boot disk. The error message is,
>
> # mount /dev/fd0 /fd
> mount: mount() of /dev/fd0 failed: Corrupted file system detected
>

This is the error message you get when you try to mount a non-qnx disk.

FYI: all 'install disks', except the boot disk, are usually compressed archives and
will return this error.

You should also put the "mount /dev/fd0 /fd" in your sysinit file. It only needs to be
done once as you do not need to "umount" to remove a floppy, QNX handles all this
happily. It also doesn't care if there is no floppy in the drive when the system boots.

To make a qnx disk simply place it in the drive and type "dinit /dev/fd0"

> How to figure it out?
>
> Thanks in advances.
>
> Regards,
> Samuel

HTH.

--
Dave Baerg (dba...@ise.bc.ca)
Software Engineer
International Submarine Engineering

Au Kwok Wai Samuel

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

Inge Vabekk (in...@arxi.nospam) wrote:
: Au Kwok Wai Samuel wrote in message <6kj267$e...@eng-ser1.erg.cuhk.edu.hk>...

: > I can't mount any floppy drive except QNX boot disk. The error message


: is,
: >
: ># mount /dev/fd0 /fd
: >mount: mount() of /dev/fd0 failed: Corrupted file system detected


: You need a QNX filesystem on the diskette.

: Write

: dinit /dev/fd0

The disk is actually in QNX filesystem. I try to mount the license of
Watcom C/C++, but it fails. I've also tried other disks that are in QNX
filesystem format, but failed. What should I do to mount the floppy disk.

Regards,
Samuel


: before you perform the mount. Remember that this command

Inge Vabekk

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

Au Kwok Wai Samuel wrote in message <6klp3c$a...@eng-ser1.erg.cuhk.edu.hk>...
>Inge Vabekk (in...@arxi.nospam) wrote:
>: Au Kwok Wai Samuel wrote in message <6kj267$ems@eng->

>: > I can't mount any floppy drive except QNX boot disk. The error message

>


> The disk is actually in QNX filesystem. I try to mount the license of
>Watcom C/C++, but it fails. I've also tried other disks that are in QNX
>filesystem format, but failed. What should I do to mount the floppy disk.


In these cases the format on the diskette is NOT QNX filesystem,
but a "raw" format intended only for special programs, for instance
the "vol" multiple-floppy backup program, or the "license" program
for license administration.

To load licenses from such a disk, just write

licence /dev/fd0 /etc/licenses

and mounting the floppy is not required.
Sorry for the misunderstanding.

--
in...@arxi.nospam (remove spam....)

Ken Schumm

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

Just because a disk was manufactured by and shipped by QNX does not mean
it has a QNX filesystem on it. In fact when QNX ships a set of OS disks
only the boot disk has a filesystem on it. The rest of the set are
pax archives disks, which is similar to tar. So you need to use vol
and pax to get at the data.

Since you referenced the QNX boot disk I assume, perhaps incorrectly,
that you are trying to get some files off the disk. Why can't you just
use the install procedure?

Au Kwok Wai Samuel <kw...@mae.cuhk.hk> wrote:
> Inge Vabekk (in...@arxi.nospam) wrote:

> : Au Kwok Wai Samuel wrote in message <6kj267$e...@eng-ser1.erg.cuhk.edu.hk>...

> : > I can't mount any floppy drive except QNX boot disk. The error message

> : is,
> : >
> : ># mount /dev/fd0 /fd
> : >mount: mount() of /dev/fd0 failed: Corrupted file system detected


> : You need a QNX filesystem on the diskette.

> : Write

> : dinit /dev/fd0

> The disk is actually in QNX filesystem. I try to mount the license of

> Watcom C/C++, but it fails. I've also tried other disks that are in QNX
> filesystem format, but failed. What should I do to mount the floppy disk.
>

> Regards,
> Samuel
>
>
>

> : before you perform the mount. Remember that this command
> : will effectively remove any information from the diskette. Don't
> : be surprised if the "dinit" is fast. It should be.

> : --
> : in...@arxi.nospam (remove spam....)

--
kwsc...@qsolv.com QSolv, Inc.
Purveyor of custom QNX software solutions

Vadim Borshchev

unread,
May 29, 1998, 3:00:00 AM5/29/98
to

> > I can't mount any floppy drive except QNX boot disk. The error message
> is,
> >
> ># mount /dev/fd0 /fd
> >mount: mount() of /dev/fd0 failed: Corrupted file system detected
>
> You need a QNX filesystem on the diskette.
>
> Write
>
> dinit /dev/fd0
>
> before you perform the mount. Remember that this command
> will effectively remove any information from the diskette. Don't
> be surprised if the "dinit" is fast. It should be.
>

Or first _mount_ the drive without the disk and then _insert_ the floppy
(of course, it should be dinit'ed).

Regards,
Vadim Borshchev.

---
Keyboard not detected. Press F1.


0 new messages