paulm@ccicpg.UUCP (Paul Moreau) (11/20/90)
Hi, I am now putting the finishing touches on my TAR program for the ST and my SCSI cartirdge tape drive that writes and reads UNIX compatible tar files on tape. It works fine but one problem showed up when I added the -b (block buffering) option: the read from the disk is 4 to 6 times slower than the write to tape! I was using MWC's fread with stat and other releated calls to maintain UNIX type compatiblilty with the directory elements (ie. mtime, mode, and others). I know that my disc will read MUCH faster using the Fread gemdos call but I am unable to find the Handle element in the FILE *structure. I tried porting and recompiling under sozobon and although it reads the disc magnitudes of times faster, I am having problems passing the stat structure pointer around. Can anybody help me out on this? BTW: tar also supports the -f {filename} flag to create tar files on disc instead of tape. I am also thinking of adding the Streaming Disc feature that the latest Backup thread has been talking about. This will backup multiple partitions to tape, file or streaming disc until all is backed up, or space on the tape/disc runs out. When completed, I will post binaries and sources of both the tape driver and tar program. THANX in ADVANCE, Paul Moreau. --- .==========================================================. | ### ####### ### | N O R T H | /==============\ | | ### ### ### | A M E R I C A |< An STC Company >| | ### ####### ####### | (was CCI) | \==============/ | |----------------------------------------------------------| | UUCP: ..uunet!ccicpg!dl2!paulm | Paul L. Moreau | | or ..uunet!ccicpg!dl1!paulm | Sr. Diag Software Eng. | | or ..uunet!ccicpg!paulm | Irvine, California | `=========================================================='