Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Features » Fsck_130/!Intro

Fsck_130/!Intro

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1996-03 B.adf » Features
Filename: Fsck_130/!Intro
Read OK:
File size: 097E bytes
Load address: 0000
Exec address: 0000
File contents
Introduction
------------

fsck is a suite of programs that are able to analyse and fix E-Format discs.
If you are only interested to fix your broken disc soon, try to read the  
!QuickFix file.

Here's a list and a brief description of the programs included in this
package:

fsck (1.30) - map fixer and analyst
-----------------------------------

fsck is a disc utility that tries to fix the map of an E-Format disc (hard
or floppy) if it is corrupted for some obscure reasons. fsck can also report
some informations about the way the files are allocated (such as the bytes
lost because of sectors boundaries) and eventually print a detailed
description of the map and directories organization.
fsck can also be considered as a replace of the *CheckMap command because it
is faster, less prone to crash and gives useful informations on the files 
allocation.

eliminate (1.20) - file eliminator!
-----------------------------------

eliminate is a disc utility that eliminates a file from the directory but not
from the disc map. This means that the disc space used by the file is lost
(you should recover it using fsck). eliminate can effectively be useful only
to remove the files that cannot be deleted in the usual way by RISC OS (for
example a broken directory). 

hardfix (1.10) - heavily damaged disc fixer
-------------------------------------------

hardfix is a disc utility that fixes the errors that can affect the boot
block, the 2 copies of the map and the root directory without having to scan
the whole directory tree. These sort of errors generally make the disc
un-readable or un-writable!
hardfix can also be used to write the bootblock, map and root directory to a 
file, so that you can always try to restore them in case they are totally 
damaged (ie. absolutely not-fixable).


Conditions of use
-----------------

The programs and files included in the fsck suite cannot be distributed
separately.
For the conditions of distribution and use, see the !SHAREWARE file.


Where to find more informations
-------------------------------

The latest informations about fsck are available on Internet at:
http://cdc8g5.cdc.polimi.it/~pel0015/fsck.html


Contacting the Author
---------------------

Post:  Sergio Monesi
       Via Trento e Trieste 30
       20046 Biassono (MI)
       Italy

EMail: pel0015@cdc8g5.cdc.polimi.it
       sergio@freebsd.first.gmd.de

WWW:   http://cdc8g5.cdc.polimi.it/~pel0015/
00000000  49 6e 74 72 6f 64 75 63  74 69 6f 6e 0a 2d 2d 2d  |Introduction.---|
00000010  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 0a 66 73 63 6b 20  |---------..fsck |
00000020  69 73 20 61 20 73 75 69  74 65 20 6f 66 20 70 72  |is a suite of pr|
00000030  6f 67 72 61 6d 73 20 74  68 61 74 20 61 72 65 20  |ograms that are |
00000040  61 62 6c 65 20 74 6f 20  61 6e 61 6c 79 73 65 20  |able to analyse |
00000050  61 6e 64 20 66 69 78 20  45 2d 46 6f 72 6d 61 74  |and fix E-Format|
00000060  20 64 69 73 63 73 2e 0a  49 66 20 79 6f 75 20 61  | discs..If you a|
00000070  72 65 20 6f 6e 6c 79 20  69 6e 74 65 72 65 73 74  |re only interest|
00000080  65 64 20 74 6f 20 66 69  78 20 79 6f 75 72 20 62  |ed to fix your b|
00000090  72 6f 6b 65 6e 20 64 69  73 63 20 73 6f 6f 6e 2c  |roken disc soon,|
000000a0  20 74 72 79 20 74 6f 20  72 65 61 64 20 74 68 65  | try to read the|
000000b0  20 20 0a 21 51 75 69 63  6b 46 69 78 20 66 69 6c  |  .!QuickFix fil|
000000c0  65 2e 0a 0a 48 65 72 65  27 73 20 61 20 6c 69 73  |e...Here's a lis|
000000d0  74 20 61 6e 64 20 61 20  62 72 69 65 66 20 64 65  |t and a brief de|
000000e0  73 63 72 69 70 74 69 6f  6e 20 6f 66 20 74 68 65  |scription of the|
000000f0  20 70 72 6f 67 72 61 6d  73 20 69 6e 63 6c 75 64  | programs includ|
00000100  65 64 20 69 6e 20 74 68  69 73 0a 70 61 63 6b 61  |ed in this.packa|
00000110  67 65 3a 0a 0a 66 73 63  6b 20 28 31 2e 33 30 29  |ge:..fsck (1.30)|
00000120  20 2d 20 6d 61 70 20 66  69 78 65 72 20 61 6e 64  | - map fixer and|
00000130  20 61 6e 61 6c 79 73 74  0a 2d 2d 2d 2d 2d 2d 2d  | analyst.-------|
00000140  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000150  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 66 73  |------------..fs|
00000160  63 6b 20 69 73 20 61 20  64 69 73 63 20 75 74 69  |ck is a disc uti|
00000170  6c 69 74 79 20 74 68 61  74 20 74 72 69 65 73 20  |lity that tries |
00000180  74 6f 20 66 69 78 20 74  68 65 20 6d 61 70 20 6f  |to fix the map o|
00000190  66 20 61 6e 20 45 2d 46  6f 72 6d 61 74 20 64 69  |f an E-Format di|
000001a0  73 63 20 28 68 61 72 64  0a 6f 72 20 66 6c 6f 70  |sc (hard.or flop|
000001b0  70 79 29 20 69 66 20 69  74 20 69 73 20 63 6f 72  |py) if it is cor|
000001c0  72 75 70 74 65 64 20 66  6f 72 20 73 6f 6d 65 20  |rupted for some |
000001d0  6f 62 73 63 75 72 65 20  72 65 61 73 6f 6e 73 2e  |obscure reasons.|
000001e0  20 66 73 63 6b 20 63 61  6e 20 61 6c 73 6f 20 72  | fsck can also r|
000001f0  65 70 6f 72 74 0a 73 6f  6d 65 20 69 6e 66 6f 72  |eport.some infor|
00000200  6d 61 74 69 6f 6e 73 20  61 62 6f 75 74 20 74 68  |mations about th|
00000210  65 20 77 61 79 20 74 68  65 20 66 69 6c 65 73 20  |e way the files |
00000220  61 72 65 20 61 6c 6c 6f  63 61 74 65 64 20 28 73  |are allocated (s|
00000230  75 63 68 20 61 73 20 74  68 65 20 62 79 74 65 73  |uch as the bytes|
00000240  0a 6c 6f 73 74 20 62 65  63 61 75 73 65 20 6f 66  |.lost because of|
00000250  20 73 65 63 74 6f 72 73  20 62 6f 75 6e 64 61 72  | sectors boundar|
00000260  69 65 73 29 20 61 6e 64  20 65 76 65 6e 74 75 61  |ies) and eventua|
00000270  6c 6c 79 20 70 72 69 6e  74 20 61 20 64 65 74 61  |lly print a deta|
00000280  69 6c 65 64 0a 64 65 73  63 72 69 70 74 69 6f 6e  |iled.description|
00000290  20 6f 66 20 74 68 65 20  6d 61 70 20 61 6e 64 20  | of the map and |
000002a0  64 69 72 65 63 74 6f 72  69 65 73 20 6f 72 67 61  |directories orga|
000002b0  6e 69 7a 61 74 69 6f 6e  2e 0a 66 73 63 6b 20 63  |nization..fsck c|
000002c0  61 6e 20 61 6c 73 6f 20  62 65 20 63 6f 6e 73 69  |an also be consi|
000002d0  64 65 72 65 64 20 61 73  20 61 20 72 65 70 6c 61  |dered as a repla|
000002e0  63 65 20 6f 66 20 74 68  65 20 2a 43 68 65 63 6b  |ce of the *Check|
000002f0  4d 61 70 20 63 6f 6d 6d  61 6e 64 20 62 65 63 61  |Map command beca|
00000300  75 73 65 20 69 74 0a 69  73 20 66 61 73 74 65 72  |use it.is faster|
00000310  2c 20 6c 65 73 73 20 70  72 6f 6e 65 20 74 6f 20  |, less prone to |
00000320  63 72 61 73 68 20 61 6e  64 20 67 69 76 65 73 20  |crash and gives |
00000330  75 73 65 66 75 6c 20 69  6e 66 6f 72 6d 61 74 69  |useful informati|
00000340  6f 6e 73 20 6f 6e 20 74  68 65 20 66 69 6c 65 73  |ons on the files|
00000350  20 0a 61 6c 6c 6f 63 61  74 69 6f 6e 2e 0a 0a 65  | .allocation...e|
00000360  6c 69 6d 69 6e 61 74 65  20 28 31 2e 32 30 29 20  |liminate (1.20) |
00000370  2d 20 66 69 6c 65 20 65  6c 69 6d 69 6e 61 74 6f  |- file eliminato|
00000380  72 21 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |r!.-------------|
00000390  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000003a0  2d 2d 2d 2d 2d 2d 0a 0a  65 6c 69 6d 69 6e 61 74  |------..eliminat|
000003b0  65 20 69 73 20 61 20 64  69 73 63 20 75 74 69 6c  |e is a disc util|
000003c0  69 74 79 20 74 68 61 74  20 65 6c 69 6d 69 6e 61  |ity that elimina|
000003d0  74 65 73 20 61 20 66 69  6c 65 20 66 72 6f 6d 20  |tes a file from |
000003e0  74 68 65 20 64 69 72 65  63 74 6f 72 79 20 62 75  |the directory bu|
000003f0  74 20 6e 6f 74 0a 66 72  6f 6d 20 74 68 65 20 64  |t not.from the d|
00000400  69 73 63 20 6d 61 70 2e  20 54 68 69 73 20 6d 65  |isc map. This me|
00000410  61 6e 73 20 74 68 61 74  20 74 68 65 20 64 69 73  |ans that the dis|
00000420  63 20 73 70 61 63 65 20  75 73 65 64 20 62 79 20  |c space used by |
00000430  74 68 65 20 66 69 6c 65  20 69 73 20 6c 6f 73 74  |the file is lost|
00000440  0a 28 79 6f 75 20 73 68  6f 75 6c 64 20 72 65 63  |.(you should rec|
00000450  6f 76 65 72 20 69 74 20  75 73 69 6e 67 20 66 73  |over it using fs|
00000460  63 6b 29 2e 20 65 6c 69  6d 69 6e 61 74 65 20 63  |ck). eliminate c|
00000470  61 6e 20 65 66 66 65 63  74 69 76 65 6c 79 20 62  |an effectively b|
00000480  65 20 75 73 65 66 75 6c  20 6f 6e 6c 79 0a 74 6f  |e useful only.to|
00000490  20 72 65 6d 6f 76 65 20  74 68 65 20 66 69 6c 65  | remove the file|
000004a0  73 20 74 68 61 74 20 63  61 6e 6e 6f 74 20 62 65  |s that cannot be|
000004b0  20 64 65 6c 65 74 65 64  20 69 6e 20 74 68 65 20  | deleted in the |
000004c0  75 73 75 61 6c 20 77 61  79 20 62 79 20 52 49 53  |usual way by RIS|
000004d0  43 20 4f 53 20 28 66 6f  72 0a 65 78 61 6d 70 6c  |C OS (for.exampl|
000004e0  65 20 61 20 62 72 6f 6b  65 6e 20 64 69 72 65 63  |e a broken direc|
000004f0  74 6f 72 79 29 2e 20 0a  0a 68 61 72 64 66 69 78  |tory). ..hardfix|
00000500  20 28 31 2e 31 30 29 20  2d 20 68 65 61 76 69 6c  | (1.10) - heavil|
00000510  79 20 64 61 6d 61 67 65  64 20 64 69 73 63 20 66  |y damaged disc f|
00000520  69 78 65 72 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ixer.-----------|
00000530  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000550  0a 0a 68 61 72 64 66 69  78 20 69 73 20 61 20 64  |..hardfix is a d|
00000560  69 73 63 20 75 74 69 6c  69 74 79 20 74 68 61 74  |isc utility that|
00000570  20 66 69 78 65 73 20 74  68 65 20 65 72 72 6f 72  | fixes the error|
00000580  73 20 74 68 61 74 20 63  61 6e 20 61 66 66 65 63  |s that can affec|
00000590  74 20 74 68 65 20 62 6f  6f 74 0a 62 6c 6f 63 6b  |t the boot.block|
000005a0  2c 20 74 68 65 20 32 20  63 6f 70 69 65 73 20 6f  |, the 2 copies o|
000005b0  66 20 74 68 65 20 6d 61  70 20 61 6e 64 20 74 68  |f the map and th|
000005c0  65 20 72 6f 6f 74 20 64  69 72 65 63 74 6f 72 79  |e root directory|
000005d0  20 77 69 74 68 6f 75 74  20 68 61 76 69 6e 67 20  | without having |
000005e0  74 6f 20 73 63 61 6e 0a  74 68 65 20 77 68 6f 6c  |to scan.the whol|
000005f0  65 20 64 69 72 65 63 74  6f 72 79 20 74 72 65 65  |e directory tree|
00000600  2e 20 54 68 65 73 65 20  73 6f 72 74 20 6f 66 20  |. These sort of |
00000610  65 72 72 6f 72 73 20 67  65 6e 65 72 61 6c 6c 79  |errors generally|
00000620  20 6d 61 6b 65 20 74 68  65 20 64 69 73 63 0a 75  | make the disc.u|
00000630  6e 2d 72 65 61 64 61 62  6c 65 20 6f 72 20 75 6e  |n-readable or un|
00000640  2d 77 72 69 74 61 62 6c  65 21 0a 68 61 72 64 66  |-writable!.hardf|
00000650  69 78 20 63 61 6e 20 61  6c 73 6f 20 62 65 20 75  |ix can also be u|
00000660  73 65 64 20 74 6f 20 77  72 69 74 65 20 74 68 65  |sed to write the|
00000670  20 62 6f 6f 74 62 6c 6f  63 6b 2c 20 6d 61 70 20  | bootblock, map |
00000680  61 6e 64 20 72 6f 6f 74  20 64 69 72 65 63 74 6f  |and root directo|
00000690  72 79 20 74 6f 20 61 20  0a 66 69 6c 65 2c 20 73  |ry to a .file, s|
000006a0  6f 20 74 68 61 74 20 79  6f 75 20 63 61 6e 20 61  |o that you can a|
000006b0  6c 77 61 79 73 20 74 72  79 20 74 6f 20 72 65 73  |lways try to res|
000006c0  74 6f 72 65 20 74 68 65  6d 20 69 6e 20 63 61 73  |tore them in cas|
000006d0  65 20 74 68 65 79 20 61  72 65 20 74 6f 74 61 6c  |e they are total|
000006e0  6c 79 20 0a 64 61 6d 61  67 65 64 20 28 69 65 2e  |ly .damaged (ie.|
000006f0  20 61 62 73 6f 6c 75 74  65 6c 79 20 6e 6f 74 2d  | absolutely not-|
00000700  66 69 78 61 62 6c 65 29  2e 0a 0a 0a 43 6f 6e 64  |fixable)....Cond|
00000710  69 74 69 6f 6e 73 20 6f  66 20 75 73 65 0a 2d 2d  |itions of use.--|
00000720  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 0a  |---------------.|
00000730  0a 54 68 65 20 70 72 6f  67 72 61 6d 73 20 61 6e  |.The programs an|
00000740  64 20 66 69 6c 65 73 20  69 6e 63 6c 75 64 65 64  |d files included|
00000750  20 69 6e 20 74 68 65 20  66 73 63 6b 20 73 75 69  | in the fsck sui|
00000760  74 65 20 63 61 6e 6e 6f  74 20 62 65 20 64 69 73  |te cannot be dis|
00000770  74 72 69 62 75 74 65 64  0a 73 65 70 61 72 61 74  |tributed.separat|
00000780  65 6c 79 2e 0a 46 6f 72  20 74 68 65 20 63 6f 6e  |ely..For the con|
00000790  64 69 74 69 6f 6e 73 20  6f 66 20 64 69 73 74 72  |ditions of distr|
000007a0  69 62 75 74 69 6f 6e 20  61 6e 64 20 75 73 65 2c  |ibution and use,|
000007b0  20 73 65 65 20 74 68 65  20 21 53 48 41 52 45 57  | see the !SHAREW|
000007c0  41 52 45 20 66 69 6c 65  2e 0a 0a 0a 57 68 65 72  |ARE file....Wher|
000007d0  65 20 74 6f 20 66 69 6e  64 20 6d 6f 72 65 20 69  |e to find more i|
000007e0  6e 66 6f 72 6d 61 74 69  6f 6e 73 0a 2d 2d 2d 2d  |nformations.----|
000007f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000800  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 54 68 65  |-----------..The|
00000810  20 6c 61 74 65 73 74 20  69 6e 66 6f 72 6d 61 74  | latest informat|
00000820  69 6f 6e 73 20 61 62 6f  75 74 20 66 73 63 6b 20  |ions about fsck |
00000830  61 72 65 20 61 76 61 69  6c 61 62 6c 65 20 6f 6e  |are available on|
00000840  20 49 6e 74 65 72 6e 65  74 20 61 74 3a 0a 68 74  | Internet at:.ht|
00000850  74 70 3a 2f 2f 63 64 63  38 67 35 2e 63 64 63 2e  |tp://cdc8g5.cdc.|
00000860  70 6f 6c 69 6d 69 2e 69  74 2f 7e 70 65 6c 30 30  |polimi.it/~pel00|
00000870  31 35 2f 66 73 63 6b 2e  68 74 6d 6c 0a 0a 0a 43  |15/fsck.html...C|
00000880  6f 6e 74 61 63 74 69 6e  67 20 74 68 65 20 41 75  |ontacting the Au|
00000890  74 68 6f 72 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |thor.-----------|
000008a0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 50 6f 73 74  |----------..Post|
000008b0  3a 20 20 53 65 72 67 69  6f 20 4d 6f 6e 65 73 69  |:  Sergio Monesi|
000008c0  0a 20 20 20 20 20 20 20  56 69 61 20 54 72 65 6e  |.       Via Tren|
000008d0  74 6f 20 65 20 54 72 69  65 73 74 65 20 33 30 0a  |to e Trieste 30.|
000008e0  20 20 20 20 20 20 20 32  30 30 34 36 20 42 69 61  |       20046 Bia|
000008f0  73 73 6f 6e 6f 20 28 4d  49 29 0a 20 20 20 20 20  |ssono (MI).     |
00000900  20 20 49 74 61 6c 79 0a  0a 45 4d 61 69 6c 3a 20  |  Italy..EMail: |
00000910  70 65 6c 30 30 31 35 40  63 64 63 38 67 35 2e 63  |pel0015@cdc8g5.c|
00000920  64 63 2e 70 6f 6c 69 6d  69 2e 69 74 0a 20 20 20  |dc.polimi.it.   |
00000930  20 20 20 20 73 65 72 67  69 6f 40 66 72 65 65 62  |    sergio@freeb|
00000940  73 64 2e 66 69 72 73 74  2e 67 6d 64 2e 64 65 0a  |sd.first.gmd.de.|
00000950  0a 57 57 57 3a 20 20 20  68 74 74 70 3a 2f 2f 63  |.WWW:   http://c|
00000960  64 63 38 67 35 2e 63 64  63 2e 70 6f 6c 69 6d 69  |dc8g5.cdc.polimi|
00000970  2e 69 74 2f 7e 70 65 6c  30 30 31 35 2f 0a        |.it/~pel0015/.|
0000097e