home *** CD-ROM | disk | FTP | other *** search
/ Futura 11 / Futura_Issue_11_1994_01_NOSAUG_Side_B.atr / diskutl2.doc < prev    next >
Text File  |  2023-02-26  |  10KB  |  1 lines

  1. ¢גחצירקחכ  (DOC 2)¢by Les Wagar¢¢¢        disk tutorial based on¢           D-Utilities Disk¢             by Les Wagar¢¢¢     ø« הΘ∮σ⌠≥βδ¢¢     This is a program to trace or read files, including any deleted or zapped files.  Choose <3> in the Main Menu, and the Filetrak Menu appears:¢¢          1. Read a file¢          2. Trace a file¢          3. List deleted¢          4. Global index¢          5. Global trace¢          6. Main menu¢¢     The "õ« פσβΣ β µΘ∮σ" option displays files as tokenized, without translating them.  Since LISTed or TEXT files are the only files not tokenized, these will be the only files displayed in plain English.  If deleted or zapped filenames still appear in the Directory, these files will also be read--which may prove useful if you're trying to Restore a file.  In this option, the file trace is displayed before listings are presented, but is done here mainly to show the program working.  The "read buffer" will not handle a program larger than õõØ ≤σπ⌠∩≥≤; if you try it, you will be given a sector count and a polite redirection.  Tracing is better displayed in the Trace Option, which follows.  ¢¢     INPUTTING THE FILENAME NEEDS SPECIAL COMMENT.  Files can only be read from Drive 1.  Do not use the "D:" prefix.  File search will respond to the typical filename input such as "RAMDISK.COM"--but will not respond to a wildcard (*) entry, since it has its own way of shortcutting.  RAMDISK.COM, for instance, can also be found with the entry "RAMDISK", "RAM", or even "R".  The file DISKUTIL can be found with the entry "DI".  BUT NOTE that the file DISK (which follows DISKUTIL in the Directory) will only be found with the entry "DISK."--the period cannot be omitted in such cases.¢¢     The "Ø« ק≥βπσ β µΘ∮σ" option is your best choice to view a trace:  it scrolls the trace by sector number as it proceeds.  If the file you want is DELETED or ZAPPED, as long as the name is still in the Directory this filesearch will find it, and tell you it is looking at a DELETED or ZAPPED file before the trace begins.  Tracing a file may take up to four passes:  each PASS will be traced, and the number of the PASS noted if more than one needs to be made.  This information will be needed when you come to the Restore Option.  When the trace is finished, the program will also tell you if it thinks recovery is possible.  If the program does ∈∩⌠ say "MAY RESTORE ON PASS (#)", recovery may still be possible.  Check out the data in each PASS, using the "1. Read a file" Option.  Sometimes you may still find some of the missing file.  As a demo of a useless trace, try tracing the deleted file NONE on this disk.  If you check out the data covered by these four PASSes, you will find that NONE is what it says.  If you trace the deleted file SUCH, however, you will find that this file can be restored.¢¢     The "ø« כΘ≤⌠ Σσ∮σ⌠σΣ" option will give you a listing of all deleted or zapped files still recorded in the Directory.  List the deleted on this disk, and you will discover another use for the Modify Option in Stylus.¢¢     The "œ« ו∮∩Γβ∮ Θ∈Σσ°" Option is another helpful feature--nearly everything you ever wanted your Directory to tell you, but didn't.  On choosing this option, you are presented with the full Directory picture.  You will be shown all files, each clearly marked as βπ⌠Θ÷σ, Σσ∮σ⌠σΣ, or ·β≡≡σΣ, plus how many sectors for each, and the sector start address.  It will also tell you whether or not the file looks good--an "ERR" notation beside a filename says this file won't boot.¢¢     Both Global Options do a sector count of all active files.  If this count does not agree with VTOC's "free sector" count, the number of "free sectors" which is shown at the bottom of this display will also show an "ERR" notation.  The discrepancy usually means that you have a zapped file (which will also show an "ERR"), but πβ∈ mean that VTOC is just mixed up.  If it's a zap problem, the easiest solution is to ignore the count discrepancy.  Otherwise, short of having a program to update VTOCs (such as DISKEY by Sparky Starks, a commercial program, or VTOCKEY by me, elsewhere on this disk) the only solution is to copy all files to another disk, and re-format.¢¢     The "Œ« ו∮∩Γβ∮ ⌠≥βπσ" Option presents the same kind of display as the former, but takes a good deal longer to do it.  Here, each file is traced, and the directory data checked, before its data and status are put on the screen.  This procedure, of course, provides the more accurate picture.¢¢     œ« פσ≤⌠∩≥σ¢¢     This program will restore deleted or zapped files to active file status so you can LOAD, RUN, or ENTER them again.  It cannot be expected to deliver what you ask if the original file data has already been overwritten by a subsequent disk entry.  In the case of a filename which has disappeared, but whose data is still on the disk, RESTORE will work if you can first re-install the filename as a deleted file in its original place in the Directory--plus start address of data and sector count!--but use DATALIFT for this.¢¢     Before using RESTORE for כחצקed files, check the last two sectors of the file for duplications of line numbers.  If line numbers are repeated in the filler-data of the final sector, use Stylus Option "4. Revise" to erase the duplicate numbers and data.  Here again, the DATALIFT Option may prove easier, as long as you have consecutive sectors.  It will automatically print a listing to the screen after writing the disk, so that any repetition problems in the last lines are immediately apparent.  (See further in DATALIFT.)¢¢     Choose <4> in the Main Menu, and you will be immediately asked "FILE TO BE RESTORED ?".  As with Filetrak, filename input can be shorcut.  If the filename found is not the file you want, hit <RETURN> twice, bypassing the next entry, so as to abort the process, and try again.  When your file is found, you will be asked "WHICH DRIVE?".  Default is Drive 1.  If you have the Ramdisk (Drive 8), this should be the preferred choice if you don't want to overwrite the file you are restoring, or if you have doubts about the data you are restoring.  You will then be asked "WHICH PASS"--asking for the number of the PASS which Filetrak indicated was the correct or best choice.  If you don't know, don't guess!  Hit <RETURN>, go back to Filetrak, and find out the PASS with a file trace, at least.  In the case of a DELETED file which does nothing else but show "trace error," there's not much hope for restoring it.  In the case of a ZAPPED file, chances are you will never get anything other than a "trace error"--but your chances for finding the data are much better.  Choose the PASS which gives you the number of sectors you think the file should have.  And you can always check the data with the "1. Read a file" Option.  After you enter the PASS number, the filesearch begins, after which you will be asked to confirm the drive and filename you are about to write.  A <RETURN> aborts the writing.  Answer <Y>es, and the file is written, after which you are shown the Directory with the filename entered.  Now the acid test:  quit Diskutil, and see if your restored file will ENTER or RUN.¢¢     Œ« גIJקIJכחהק¢¢     This program will give a filename to consecutive disk sectors not exceeding õõØ ≤σπ⌠∩≥≤ per file. (For more sectors, use the version in, for instance, the FILETREK program--not to be confused with the הΘ∮σ⌠≥βδ נ≡⌠Θ∩∈ in the DISKUTIL program.)  Its main use is for restoring files whose filenames have been erased or which register a file number mismatch error, but it πβ∈ give a filename and VTOC respectability to sectors containing weird data or no data at all.  If the necessary file data is not in consecutive sectors, first find sufficient space on the disk--or on another disk--and arrange them in order, using the DATACOPY Option, before going to DATALIFT.  To get an idea of the power of DATALIFT, use it to assign Sectors 706-720 (if you're in single density) or 1026-1040 (if you're in enhanced) to a file in Drive 8 (the Ramdisk), then see if DOS will copy it.  The file will never run, but it sure exists!¢¢     DATALIFT can also be used instead of RESTORE for deleted files, especially if a change of the filename is desired, or if the file in question is a LISTed file.  In the case of LISTed file data, the last sector of data may include filler which repeats the last line number(s), and whose presence will edit-out the originals.  In RESTORE, this problem is overcome by using Stylus Option "4. Revise sector" to erase conflicting line-numbers before restoring.  With DATALIFT, pre-erasure is not necessary.  After it writes your new file to the disk, DATALIFT will print it to the screen for inspection.  If a conflict in the last line numbers is seen at this time, leave the data on the screen, NEW the memory, ENTER the new file without listing it, edit-in the original line(s), and LIST the corrected version to disk.¢¢     À« גחפדבקנפך¢¢     When you call for a Directory, you will be asked for a Drive #.  גσµβ⌡∮⌠ is Drive 1:  just hit the <RTN> key.  Below the display of your choice you are given the option of returning to Main Menu or getting a printout.  The printout program will print in condensed mode, with your choice of a title and the number of columns from 1-6.  The Σσµβ⌡∮⌠ title is "DIRECTORY".  If you wish to make a disk envelope display, the number of columns cannot exceed four.  If you need to change the printer codes, you will find them on כΘ∈σ œõã.¢¢-----------------------------------¢¢