QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Setting up a Jaz Drive under QNX4 |
Ref. No. |
QNX.000010153 |
Category(ies) |
Filesystem |
Issue |
Is there a document on how to set up a Jaz drive?
|
Solution |
How to setup a Jaz drive:
1. Determine the interface for the Jaz 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 Jaz 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 Jaz 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 Jaz disk for you in the /dos directory as a drive letter (e.g. /dos/d). If the Jaz disk is formatted for QNX then follow the steps below. If you wish to format a new Jaz disk to the QNX filesystem, then simply treat the Jaz disk like another harddisk. For more information on formatting see your QNX OS Utilties guide on "dinit" or this link:
http://qdn.qnx.com/support/docs/qnx4/utils/d/dinit.html
4. Mount the partition table from the Jaz 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 Jaz partitons will be seen 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 /Jaz".
6. Type "ls /Jaz" and check to see if the drive mounted correctly. You should see the contents of /Jaz now. If not make sure that the drive is partitioned correctly, or that it is not formatted for DOS.
Note:
If you have a parallel port 1GB Jaz drive you will need to purchase a driver from Microbusiness Applications.
http://schoenbrun.com/mba/index.html |
|