Begin File:qsz.tgz Description:SCSI utility Keywords:qsz utility scsi Version: Entered-date:Jan 21, 1996 Author: Ported-by: Original-site: Copying-policy: Supplemental: August 21, 1996 This release of the QNX SCSI Utility contains various bug fixes and expanded help text. I had omitted a number of commands from the help text in the initial release, since they will not work with the 512 byte ioctl() data limitation. Now that this limit is being increased to 8Kb in QNX 4.3, these commands should now work (though untested on QNX 4.3 at this time). This version of 'qsz' was built and tested on QNX 4.22. Please send me mail if you find this program useful or if you have any problems or questions. Cheers, Robin ========================================================================== January 22, 1996 This file contains notes regarding the QNX SCSI Utility program. System Requirements: o You must be running the 32-bit process manager. The program is compiled using Watcom 9.52 using the flat memory model. o My testing has been done using an Adaptec 1740 in standard mode. I've successfully tested SCSI disks, tapes, and floppies. o SCSI devices tested have been CCS and SCSI-2 compliant devices. Program Limitations: o QNX IOCTL's are limited to 512 byte on QNX V4.x systems. Due to this limitation, data transfer commands such as read/write buffer, read/write data, or others that exceed 512 bytes are not possible. o You must run a root (super-user) to issue SCSI commands to devices. o Disk sectors is not read/written during a reassign command at this time, so data is not preserved (this will change later). Program Startup: Format: % qsz [ -options... ] [ command [ keywords... ] ] Where options are: -f device-name The device name path. -n Don't execute startup script. -p Enables pipe operation mode. -s startup-file Specify startup script file name. If the device name is not specified on the command line, the environment variable QSZ_DEVICE can be used to define the device name. If a startup script file is not specified on the command line, the environment variable QSZ_SCRIPT is checked and used, and if neither are specified, the program looks for ".qszrc" first in the current directory & then in $HOME/.qszrc. If a command is not entered on the command line, the program will prompt for commands until you terminate the program. Commands can be abbreviated to the least ambiguous number of characters. Program Help: Simply use the "qsz help" command. The ASCII help file 'qsz.hlp' can also be printed. Program Uses: You can use this program to format disks/diskettes, reassign bad blocks, play audio CD's, alter mode pages, show log pages, start/stop devices, perform tape operations (see 'mt' cmd), and much more. Please send mail to "rtmiller" on quics if you have questions and/or problems using this program. Have fun, Robin Miller archive contents: drwxr-xr-x 0 rmiller staff Aug 21 10:52 ./qsz-Kit.d -rw-r--r-- 0 rmiller staff 156277 Aug 21 10:58 ./qsz-Kit.d/qsz.hlp -rwxr-xr-x 0 rmiller staff 270644 Jul 4 17:18 ./qsz-Kit.d/qsz -rw-r--r-- 0 rmiller staff 2916 Aug 21 10:12 ./qsz-Kit.d/README.qnx -rw-r--r-- 0 rmiller staff 5616 Jan 23 09:31 ./qsz-Kit.d/examples -rw-r--r-- 0 rmiller staff 1267 Oct 20 15:42 ./qsz-Kit.d/mbad.dat End