Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Setting up a Zip Drive under QNX4
Ref. No. QNX.000009551
Category(ies) Filesystem, Configuration
Issue Is there a document on how to set up a Zip drive?

Solution How to setup a Zip drive:

1.  Determine the interface for the zip drive (EIDE, SCSI, if it is a Parallel see the note below).

2.  Start the interface driver (Fsys.eide or Fsys.aha7scsi, etc...)

  e.g. Type "Fsys.eide &" for an IDE Zip drive.

3.  Type "ls /dev" to see if it has been added to your dev directory.  If it has then you should see either fd0 or fd1 if it is a IDE drive, if not it would appear as hdx (x representing a number).

Now, depending on how the ZIP disk is formatted will determine how you mount the drive.  If it is DOS formatted then, at this point, run "Dosfsys &".  This will then automatically mount the ZIP disk for you in the /dos directory as a drive letter (e.g. /dos/d).  If the ZIP disk is formatted for QNX then follow the steps below.  If you wish to format a new ZIP disk to the QNX filesystem, then simply treat the ZIP disk like another harddisk.  For more information on formatting see your QNX OS Utilties guide on "dinit".

4.  Mount the partition table from the ZIP drive like it was a floppy drive or a hard drive.  Type "mount -p /dev/hd[x]".

5.  Now mount a partition on the drive.  There should be at least one partition on the disk granted it was partitioned already.  QNX partitions are displayed as either 77, 78 or 79.  The would be seen the the /dev directory as something like hd2t77 (meaning hd2 - hard drive 2, t - type, 77).  The mount command works as mount [source] [destination].

  e.g. "mount /dev/hd2t77 /ZIP".

6.  Type "ls /ZIP" and check to see if the drive mounted correctly.  You should see the contents of /ZIP now.  If not make sure that the drive is partitioned correctly, or that it is not formatted for DOS.


Note (IDE):  Depending on when you run your Fsys.eide driver will determine what name will be assigned to the Zip drive.  If you run Fsys.eide before Fsys.floppy, the Zip drive will be listed as fd0 and fd1 and it will be your floppy.  If you run Fsys.floppy first then the Zip will be listed as fd1 and the floppy drive will be labeled as fd0.


If you have a parallel port Zip drive you will need to purchase a driver from Microbusiness Applications.

http://schoenbrun.com/mba/index.html