L S Q F B This utility is designed to allow for a backup with format to be performed. Only floppy drives may be used, and the backup performed must be mirror image. The syntax is: LSQFB :s :d (parm,parm,parm) :s is the Source drive. The colon is optional. :d is the Destination drive. The colon is optional. The following optional parameters may be used: ALL= parameter used to specify whether all cylinders of the source disk will be read and copied to the destination disk, or only allocated cylinders will be used. The switch ON or OFF may be specified, with the default being OFF. V1= parameter used to specify whether or not a verify of the destination disk is to be performed on the 1st pass. The switch ON or OFF may be used, with the default being ON. V2= parameter used to specify whether or not a verify of the destination disk is to be performed on the 2nd pass. The switch ON or OFF may be used, with the default being OFF. QUERY= Query for parameters not specified. The switch ON or OFF may be used. The default is OFF abbr: ON=Y, OFF=N, QUERY=Q, ALL=A The LSQFB (Quick Format and Backup) utility will allow for the creation of a mirror image backup of a source disk without having to format the destination disk prior to executing the backup. The normal means by which a mirror image backup is made using LDOS/TRSDOS 6.x is to first format a diskette using the FORMAT utility, and then use the BACKUP utility to perform the backup. The limitations of LSQFB are as follows: 1.) Two distinct FLOPPY drives must be used. 2.) The source diskette must have been formatted using the LDOS/TRSDOS 6.x FORMAT utility, and cannot contain any non-standard format. LSQFB will perform a "single pass" format and backup. If LSQFB is entered with no drives specified, prompts will appear for them. If drive numbers are specified, the first drive number will represent the source drive, and the destination drive will be the second drive number. If no parameters are specified, the defaults will be used. Consider the results of entering the following command. LSQFB 1 2 Drive 1 will be used as the source drive, while drive 2 will be the destination drive. Prior to LSQFB performing any action, a prompt will appear to load the diskettes. Once the proper diskettes have been installed, press , and the backup will begin. The following actions will take place. 1.) The source diskette will be logged in, to determine the type of format. 2.) Cylinder 0 of the destination diskette will be formatted. 3.) If cylinder 0 of the source disk contains data, it will be read into memory. 4.) If cylinder 0 of the source diskette contains data, the information stored in memory (see Step 3) will be written out to the destination diskette. 5.) Cylinder 0 of the destination diskette will be verified. 6.) Steps 2-5 will be repeated for all remaining cylinders. 7.) The following message will appear after the last cylinder has been verified: Duplication complete 1 disk created Replace destination disks and press to repeat .. to restart with new parameters ...or.... to exit program. 8.) Press in response to this prompt to make another mirror image backup. Press to abort the LSQFB utility. The following prompt will appear: Load SYSTEM diskette and hit Place a system diskette in drive 0 and press , to return to the DOS level. If it is desired to use LSQFB again with different parameters, press in response to the prompt displayed in step 7. Doing so will cause the drives to be prompted for, and prompts will appear for all parameters. If LSQFB is to be restarted, or the command LSQFB (Q=Y) is entered, the following prompts for the parameters will occur: Duplicate unallocated tracks? (Y/N) Verify on same pass? (Y/N) Verify on second pass? (Y/N) The first prompt relates to the ALL parameter. If it is answered with , all cylinders will be read from the source diskette and written to the destination diskette, regardless of whether or not the cylinder contains information. If this prompt is answered , only cylinders containing information will be read and written. The next prompt relates to the V1 parameter. If it is answered with , all cylinders on the destination diskette will be verified immediately after all writes. If answered , no immediate verify will be done. The final prompt corresponds to the V2 parameter. If it is answered with , all cylinders on the destination diskette will be verified upon completion of all writing to the diskette. If answered , there will be no second pass verification. If an error occurs, an appropriate error message will be displayed, and a prompt will appear requesting the course of action that is desired. During any LSQFB operation, the key will be active, and can be used to abort the process. I M P 0 R T A N T LSQFB assumes that a mirror image backup is desired, and performs no check on the destination diskette with respect to the existence of data. Any existing information on a destination diskette will ALWAYS be destroyed. Also, LSQFB will NOT clear the Mod Flags of files on the source diskette.