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

Fsck_130/hard_help

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/hard_help
Read OK:
File size: 2F49 bytes
Load address: 0000
Exec address: 0000
File contents
hardfix (1.10) - heavily damaged disc fixer

NOTE: this program is SHAREWARE. Read the !SHAREWARE file for more info.

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 unfixable).


Index
-----

- Usage
- When you need to use it
- The fixable errors
- The logfile
- Notes
- Extra features
- Saved file format
- Disclaimer
- Limitations
- Bugs
- Results achieved up to now
- History
- Credits
- Conditions of use
- Contacting the Author


Usage
-----

hardfix [-options] [-[s|r] savefile] [-l logfile] pathname
  -l   print the results in "logfile"
  -s   save bootblock/map/root sectors to "savefile"
  -r   restore bootblock/map/root sectors from "savefile"
  -Q   ask before fixing
 -1/-2 force to fix the first/second copy of the map

If the disc is readable, pathname can contain the disc name (eg.
IDEFS::IDEDisc4.$), otherwise it must contain the disc number (eg.
IDEFS::4.$).


When you need to use it
-----------------------

hardfix should not be used regularly like fsck, since the errors it fixes are
usually really uncommon. Moreover fsck recognises most of the errors hardfix
cures and tells you when it is needed.
Anyway, you can use it regularly to save the important disc data (ie.
bootblock, map and root) to a file, so that you will be able to restore them
if they are completely destroyed for some mysterious reason. Moreover, you
are adviced to save them before trying to fix the map with fsck or with
hardfix itself: if the fix is wrong (especially if it aggravates the
situation!), you can always restore your old data.
Remember that restoring old maps generally causes many file corruptions! In
fact, the map is costantly updated while files are saved/deleted, and even
files that are not updated can be automatically moved around by RISC OS.
If your map is broken, try to fix it with fsck and hardfix and eventually
restore an old one only if you are sure there is nothing better to do!


The fixable errors
------------------

hardfix is able to fix the following errors:
- bootblock checksum wrong
- bootblock defect list end marker missing
- bootblock defect list checksum wrong
- map cross check wrong
- map copies different
- zone checksum wrong (this is the typical cause of unreadable discs)
- zone free chunk offset wrong
- zone free linked list wrong (this is the typical cause of unwritable discs)
- zone not correctly terminated
- ID too high for the disc shape
- not sector-aligned object
- last object in zone too long
- root directory identifiers wrong
- root checksum wrong
- root master sequence numbers different
- root endmarker wrong
- root reserved bytes not cleared
- root address wrong

The bootblock errors should never appear, unless your disc is *really*
damanged or badly formatted, and will probably be useless to try to fix it.
Moreover it seems that some some disc have been made completely unreadable
after hardfix 'cured' the bootblock checksum (anyway, reformatting and
restoring the map and the root directory using hardfix fixed everything!).
Considering this bad experience I removed the possibility to save the
bootblock from the unregistered version. If you really need it (for example
because the disc is unreadable due to bootblock corrupton) you *must* contact
me (sending the saved disc data) and I will try to investigate. In old
versions of this file I said "you *should* contact the author" but someone
didn't and...

The map errors are the most common, especially the ones about free lists, but
can usually be successfully cured.

The root directory errors are generally serious since they usually imply that
the directory has been completely overwritten. In this case the only choice
is to restore it from a previously saved file (only the root should be
restored, not the bootblock and map, too!).

Using the -Q option you will be asked to choose if the error(s) has to be
fixed or left intact. So you can choose to fix only the map and not the
bootblock, for example.
You will always be asked if the fixes has to be applied to the disc (ie. if
you really want to save the fixed bootblock, map and root directory).


The logfile
-----------

Using the logfile (-l) option is generally really useful: if something
strange happens, the author will be more helpful if he can see exactly what
happened and you don't even have to try to explain what happened when you run
hardfix, the logfile and the saved disc data is usually enough!
The logfile contains exactly what it is printed to the screen, so it should
be really small (nearly 1K on a good disc or nearly 5K on a quite corrupted
one).
You cannot save the logfile to the disc to fix!
If a file with the same name of the logfile already exists, the new data will
be attached at the end of it: in this way, you can attach together two or
more logfiles.


Notes
-----

If the two copies of the map are different, hardfix tries to fix the less
damaged. If they are apparently damaged at the same level, hardfix will ask
you which map to fix. In normal cases, you are adviced to fix the map that
hardfix suggests or, by default, choose the first one.
The -1 and -2 options can be used to force hardfix to try to fix the first or
the second copy, regardless of their state.


Extra features
--------------

Registered versions will support 'big' discs (ie discs larger than 512Mb
supported by the new FileCore module for RISC OS 3.60 or later) while the
unregistered version will refuse to work on them.

A special features code is available to allow hardfix to write to the
bootblock. Since this may be dangerous I'll not usually allow people to use
this code (unless they need it to fix their disc).


Saved file format
-----------------

This is only of interest to people who wants to access to the saved file in
their own programs (probably nobody!).
The saved file has a header that contains the filesystem informations
followed by a series of tagged object.
The header consists of the filesystem name followed by a newline and then the
disc number followed by another newline.
Each tagged object consists of a textual tag of 4 bytes followed by the
object itself. The currently recognised tags are:
"BOOT" - bootblock (512 bytes)
"MAP1" - the first copy of the map (the length can be calculated from the
         bootblock data)
"MAP2" - the second copy of the map (the same length as the first copy)
"ROOT" - the root directory (2048 bytes)
"RSiX" - the RISCiX partition table (only if RISCiX partitioned!) (256 bytes)

The bootblock must always come before the map, otherwise the length of the
map cannot be calculated. Only 800K floppies have no bootblock: in this case
the length of the map is 1024 bytes.
The second copy of the map must always follow the first one.
Any other tag is ignored and the file is scanned until a recognised tag is
found. The tags should be word aligned (the alignement refers to the first
tag even if it isn't actually word aligned inside the file because of the
filesystem name).


Disclaimer
----------

hardfix can be considered a really dangerous program since it can directly
write to the bootblock, map and root directory: these are the key sectors of
a disc, damaging them can result in the complete or partial loss of the data
on the disc.

I tried most of the features of hardfix on my disc and on some floppies but I
cannot be completely sure it will work on your disc, too. Always save the
data using the -s option before trying to fix the disc and remember that it's
generally better not to fix the bootblock (actually it isn't possible with
the unregistered version...).
Anyway, if something goes wrong, I am sorry for you but I AM NOT RESPONSIBLE
for any loss of data on your discs, so use hardfix at your own risk.


Limitations
-----------

I think that hardfix is able to cure almost every 'fixable' error I
experienced: this means that it cannot fix a completely damaged disc (ie. if
both copies of the map are overwritten by some random data it can't do
nothing apart from restoring a saved file). Maybe other types of possible
errors exist, I'll try to add a fix for them as soon as someone will
encounter them.

hardfix cannot join two adjacent free chunks but I don't think this is a
problem. This limitation could be fixed in future versions.

Sometimes, if the map is very corrupted, you will need to run hardfix more
than once for a complete fix.


Bugs
----

hardfix may have problems with RISCiX partitioned drives: if you have such a
drive and if hardfix wants to fix a map that seems to be good (try CheckMap
and fsck on it) don't let it write the map back to disc!


Results achieved up to now
--------------------------

If you run hardfix on your corrupted HD, please let me know! If it wasn't
able to fix it, I'll try to modify it to cope with your problem. If you want
to stay anonymous tell me not to include your name.

Positive results:
 1) some 800K ADFS floppy (used during development).
 2) my 16Mb IDE that I damaged just to see if hardfix worked on it!
 3) 203Mb IDE. Owner: L. Domisse
 4) 87Mb SCSI (Lingenuity interface). Owner: S. Kock
 5) 327Mb SCSI (Acorn interface). Owner: C. Ghezzi
 6) 80Mb SCSI (Lingenuity interface). Owner: N. Bannon
 7) many experiments on my 545Mb IDE (Risc PC), so that now RISC OS
    recognises it as a 545Mb drive even if only 400Mb are formatted...

I don't think that hardfix will ever have a long list of fixed disc...

Negative results:
 1) 116Mb IDE (Desktop Projects interface). Owner: A.D. Hodgkinson
    Trying to fix the bootblock (the checksum was wrong, apparently it has
    always been wrong...), the disc was made completely unreadable. The
    disc was then formatted and hardfix was able to restore the map and the
    root directory (so that all the disc content was restored!).
 2) 210Mb IDE (Risc PC). Owner: P.B. Trying to fix the bootblock, the defect
    list was corrupted and the disc became completely unreadable/unwritable.
    This problem no more occurs in version > 1.00.

I hope that hardfix will never have a long list of failures too!


History
-------

1.00  -- 11 Oct 94
First released version.

1.01  -- 05 Feb 95
Cured a bug that in some case prevented to fix some strange case of lost free
space in some zone. When restoring the map it tries not to read the disc
shape from the disc itself (because it may be corrupted) but uses the saved
one. Removed the possibility to write the bootblock to disc since it could be
dangerous. Added fix of too high ID and not sector-aligned objects. Fixed
some problem with RISCiX partitioned bootblocks and with bad defect list (not
really useful since the ability to fix bootblocks has been removed!). Added
fix of root address and root reserved bytes.

1.02  -- 12 Jun 95
Fixed defect list checksum calculation that was broken if there was only one
defect. Improved handling of non-ADFS partitioned discs.

1.10  -- 03 Jan 96
Added code-based user registration. Added check for last object in zone too
long. Added support for 'big' discs (registered version only).


Credits
-------

I'd like to thank the following people who contibuted in some way to the
development of hardfix (in alphabetical order):
- Laurent Domisse who pushed me to write this program to fix his unreadable
  disc (and then unwritable, too!)
- Hans Ole Rafaelsen who tried hardfix on 1.6Mb floppies.


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

hardfix can only be distributed with the complete fsck suite.
Read the !SHAREWARE file for the conditions of use and distribution of the
whole package.


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  68 61 72 64 66 69 78 20  28 31 2e 31 30 29 20 2d  |hardfix (1.10) -|
00000010  20 68 65 61 76 69 6c 79  20 64 61 6d 61 67 65 64  | heavily damaged|
00000020  20 64 69 73 63 20 66 69  78 65 72 0a 0a 4e 4f 54  | disc fixer..NOT|
00000030  45 3a 20 74 68 69 73 20  70 72 6f 67 72 61 6d 20  |E: this program |
00000040  69 73 20 53 48 41 52 45  57 41 52 45 2e 20 52 65  |is SHAREWARE. Re|
00000050  61 64 20 74 68 65 20 21  53 48 41 52 45 57 41 52  |ad the !SHAREWAR|
00000060  45 20 66 69 6c 65 20 66  6f 72 20 6d 6f 72 65 20  |E file for more |
00000070  69 6e 66 6f 2e 0a 0a 68  61 72 64 66 69 78 20 69  |info...hardfix i|
00000080  73 20 61 20 64 69 73 63  20 75 74 69 6c 69 74 79  |s a disc utility|
00000090  20 74 68 61 74 20 66 69  78 65 73 20 74 68 65 20  | that fixes the |
000000a0  65 72 72 6f 72 73 20 74  68 61 74 20 63 61 6e 20  |errors that can |
000000b0  61 66 66 65 63 74 20 74  68 65 20 62 6f 6f 74 0a  |affect the boot.|
000000c0  62 6c 6f 63 6b 2c 20 74  68 65 20 32 20 63 6f 70  |block, the 2 cop|
000000d0  69 65 73 20 6f 66 20 74  68 65 20 6d 61 70 20 61  |ies of the map a|
000000e0  6e 64 20 74 68 65 20 72  6f 6f 74 20 64 69 72 65  |nd the root dire|
000000f0  63 74 6f 72 79 20 77 69  74 68 6f 75 74 20 68 61  |ctory without ha|
00000100  76 69 6e 67 20 74 6f 20  73 63 61 6e 0a 74 68 65  |ving to scan.the|
00000110  20 77 68 6f 6c 65 20 64  69 72 65 63 74 6f 72 79  | whole directory|
00000120  20 74 72 65 65 2e 20 54  68 65 73 65 20 73 6f 72  | tree. These sor|
00000130  74 20 6f 66 20 65 72 72  6f 72 73 20 67 65 6e 65  |t of errors gene|
00000140  72 61 6c 6c 79 20 6d 61  6b 65 20 74 68 65 20 64  |rally make the d|
00000150  69 73 63 0a 75 6e 2d 72  65 61 64 61 62 6c 65 20  |isc.un-readable |
00000160  6f 72 20 75 6e 2d 77 72  69 74 61 62 6c 65 21 0a  |or un-writable!.|
00000170  68 61 72 64 66 69 78 20  63 61 6e 20 61 6c 73 6f  |hardfix can also|
00000180  20 62 65 20 75 73 65 64  20 74 6f 20 77 72 69 74  | be used to writ|
00000190  65 20 74 68 65 20 62 6f  6f 74 62 6c 6f 63 6b 2c  |e the bootblock,|
000001a0  20 6d 61 70 20 61 6e 64  20 72 6f 6f 74 20 64 69  | map and root di|
000001b0  72 65 63 74 6f 72 79 20  74 6f 20 61 0a 66 69 6c  |rectory to a.fil|
000001c0  65 2c 20 73 6f 20 74 68  61 74 20 79 6f 75 20 63  |e, so that you c|
000001d0  61 6e 20 61 6c 77 61 79  73 20 74 72 79 20 74 6f  |an always try to|
000001e0  20 72 65 73 74 6f 72 65  20 74 68 65 6d 20 69 6e  | restore them in|
000001f0  20 63 61 73 65 20 74 68  65 79 20 61 72 65 20 74  | case they are t|
00000200  6f 74 61 6c 6c 79 0a 64  61 6d 61 67 65 64 20 28  |otally.damaged (|
00000210  69 65 2e 20 61 62 73 6f  6c 75 74 65 6c 79 20 75  |ie. absolutely u|
00000220  6e 66 69 78 61 62 6c 65  29 2e 0a 0a 0a 49 6e 64  |nfixable)....Ind|
00000230  65 78 0a 2d 2d 2d 2d 2d  0a 0a 2d 20 55 73 61 67  |ex.-----..- Usag|
00000240  65 0a 2d 20 57 68 65 6e  20 79 6f 75 20 6e 65 65  |e.- When you nee|
00000250  64 20 74 6f 20 75 73 65  20 69 74 0a 2d 20 54 68  |d to use it.- Th|
00000260  65 20 66 69 78 61 62 6c  65 20 65 72 72 6f 72 73  |e fixable errors|
00000270  0a 2d 20 54 68 65 20 6c  6f 67 66 69 6c 65 0a 2d  |.- The logfile.-|
00000280  20 4e 6f 74 65 73 0a 2d  20 45 78 74 72 61 20 66  | Notes.- Extra f|
00000290  65 61 74 75 72 65 73 0a  2d 20 53 61 76 65 64 20  |eatures.- Saved |
000002a0  66 69 6c 65 20 66 6f 72  6d 61 74 0a 2d 20 44 69  |file format.- Di|
000002b0  73 63 6c 61 69 6d 65 72  0a 2d 20 4c 69 6d 69 74  |sclaimer.- Limit|
000002c0  61 74 69 6f 6e 73 0a 2d  20 42 75 67 73 0a 2d 20  |ations.- Bugs.- |
000002d0  52 65 73 75 6c 74 73 20  61 63 68 69 65 76 65 64  |Results achieved|
000002e0  20 75 70 20 74 6f 20 6e  6f 77 0a 2d 20 48 69 73  | up to now.- His|
000002f0  74 6f 72 79 0a 2d 20 43  72 65 64 69 74 73 0a 2d  |tory.- Credits.-|
00000300  20 43 6f 6e 64 69 74 69  6f 6e 73 20 6f 66 20 75  | Conditions of u|
00000310  73 65 0a 2d 20 43 6f 6e  74 61 63 74 69 6e 67 20  |se.- Contacting |
00000320  74 68 65 20 41 75 74 68  6f 72 0a 0a 0a 55 73 61  |the Author...Usa|
00000330  67 65 0a 2d 2d 2d 2d 2d  0a 0a 68 61 72 64 66 69  |ge.-----..hardfi|
00000340  78 20 5b 2d 6f 70 74 69  6f 6e 73 5d 20 5b 2d 5b  |x [-options] [-[|
00000350  73 7c 72 5d 20 73 61 76  65 66 69 6c 65 5d 20 5b  |s|r] savefile] [|
00000360  2d 6c 20 6c 6f 67 66 69  6c 65 5d 20 70 61 74 68  |-l logfile] path|
00000370  6e 61 6d 65 0a 20 20 2d  6c 20 20 20 70 72 69 6e  |name.  -l   prin|
00000380  74 20 74 68 65 20 72 65  73 75 6c 74 73 20 69 6e  |t the results in|
00000390  20 22 6c 6f 67 66 69 6c  65 22 0a 20 20 2d 73 20  | "logfile".  -s |
000003a0  20 20 73 61 76 65 20 62  6f 6f 74 62 6c 6f 63 6b  |  save bootblock|
000003b0  2f 6d 61 70 2f 72 6f 6f  74 20 73 65 63 74 6f 72  |/map/root sector|
000003c0  73 20 74 6f 20 22 73 61  76 65 66 69 6c 65 22 0a  |s to "savefile".|
000003d0  20 20 2d 72 20 20 20 72  65 73 74 6f 72 65 20 62  |  -r   restore b|
000003e0  6f 6f 74 62 6c 6f 63 6b  2f 6d 61 70 2f 72 6f 6f  |ootblock/map/roo|
000003f0  74 20 73 65 63 74 6f 72  73 20 66 72 6f 6d 20 22  |t sectors from "|
00000400  73 61 76 65 66 69 6c 65  22 0a 20 20 2d 51 20 20  |savefile".  -Q  |
00000410  20 61 73 6b 20 62 65 66  6f 72 65 20 66 69 78 69  | ask before fixi|
00000420  6e 67 0a 20 2d 31 2f 2d  32 20 66 6f 72 63 65 20  |ng. -1/-2 force |
00000430  74 6f 20 66 69 78 20 74  68 65 20 66 69 72 73 74  |to fix the first|
00000440  2f 73 65 63 6f 6e 64 20  63 6f 70 79 20 6f 66 20  |/second copy of |
00000450  74 68 65 20 6d 61 70 0a  0a 49 66 20 74 68 65 20  |the map..If the |
00000460  64 69 73 63 20 69 73 20  72 65 61 64 61 62 6c 65  |disc is readable|
00000470  2c 20 70 61 74 68 6e 61  6d 65 20 63 61 6e 20 63  |, pathname can c|
00000480  6f 6e 74 61 69 6e 20 74  68 65 20 64 69 73 63 20  |ontain the disc |
00000490  6e 61 6d 65 20 28 65 67  2e 0a 49 44 45 46 53 3a  |name (eg..IDEFS:|
000004a0  3a 49 44 45 44 69 73 63  34 2e 24 29 2c 20 6f 74  |:IDEDisc4.$), ot|
000004b0  68 65 72 77 69 73 65 20  69 74 20 6d 75 73 74 20  |herwise it must |
000004c0  63 6f 6e 74 61 69 6e 20  74 68 65 20 64 69 73 63  |contain the disc|
000004d0  20 6e 75 6d 62 65 72 20  28 65 67 2e 0a 49 44 45  | number (eg..IDE|
000004e0  46 53 3a 3a 34 2e 24 29  2e 0a 0a 0a 57 68 65 6e  |FS::4.$)....When|
000004f0  20 79 6f 75 20 6e 65 65  64 20 74 6f 20 75 73 65  | you need to use|
00000500  20 69 74 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | it.------------|
00000510  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 0a 0a 68 61 72  |-----------..har|
00000520  64 66 69 78 20 73 68 6f  75 6c 64 20 6e 6f 74 20  |dfix should not |
00000530  62 65 20 75 73 65 64 20  72 65 67 75 6c 61 72 6c  |be used regularl|
00000540  79 20 6c 69 6b 65 20 66  73 63 6b 2c 20 73 69 6e  |y like fsck, sin|
00000550  63 65 20 74 68 65 20 65  72 72 6f 72 73 20 69 74  |ce the errors it|
00000560  20 66 69 78 65 73 20 61  72 65 0a 75 73 75 61 6c  | fixes are.usual|
00000570  6c 79 20 72 65 61 6c 6c  79 20 75 6e 63 6f 6d 6d  |ly really uncomm|
00000580  6f 6e 2e 20 4d 6f 72 65  6f 76 65 72 20 66 73 63  |on. Moreover fsc|
00000590  6b 20 72 65 63 6f 67 6e  69 73 65 73 20 6d 6f 73  |k recognises mos|
000005a0  74 20 6f 66 20 74 68 65  20 65 72 72 6f 72 73 20  |t of the errors |
000005b0  68 61 72 64 66 69 78 0a  63 75 72 65 73 20 61 6e  |hardfix.cures an|
000005c0  64 20 74 65 6c 6c 73 20  79 6f 75 20 77 68 65 6e  |d tells you when|
000005d0  20 69 74 20 69 73 20 6e  65 65 64 65 64 2e 0a 41  | it is needed..A|
000005e0  6e 79 77 61 79 2c 20 79  6f 75 20 63 61 6e 20 75  |nyway, you can u|
000005f0  73 65 20 69 74 20 72 65  67 75 6c 61 72 6c 79 20  |se it regularly |
00000600  74 6f 20 73 61 76 65 20  74 68 65 20 69 6d 70 6f  |to save the impo|
00000610  72 74 61 6e 74 20 64 69  73 63 20 64 61 74 61 20  |rtant disc data |
00000620  28 69 65 2e 0a 62 6f 6f  74 62 6c 6f 63 6b 2c 20  |(ie..bootblock, |
00000630  6d 61 70 20 61 6e 64 20  72 6f 6f 74 29 20 74 6f  |map and root) to|
00000640  20 61 20 66 69 6c 65 2c  20 73 6f 20 74 68 61 74  | a file, so that|
00000650  20 79 6f 75 20 77 69 6c  6c 20 62 65 20 61 62 6c  | you will be abl|
00000660  65 20 74 6f 20 72 65 73  74 6f 72 65 20 74 68 65  |e to restore the|
00000670  6d 0a 69 66 20 74 68 65  79 20 61 72 65 20 63 6f  |m.if they are co|
00000680  6d 70 6c 65 74 65 6c 79  20 64 65 73 74 72 6f 79  |mpletely destroy|
00000690  65 64 20 66 6f 72 20 73  6f 6d 65 20 6d 79 73 74  |ed for some myst|
000006a0  65 72 69 6f 75 73 20 72  65 61 73 6f 6e 2e 20 4d  |erious reason. M|
000006b0  6f 72 65 6f 76 65 72 2c  20 79 6f 75 0a 61 72 65  |oreover, you.are|
000006c0  20 61 64 76 69 63 65 64  20 74 6f 20 73 61 76 65  | adviced to save|
000006d0  20 74 68 65 6d 20 62 65  66 6f 72 65 20 74 72 79  | them before try|
000006e0  69 6e 67 20 74 6f 20 66  69 78 20 74 68 65 20 6d  |ing to fix the m|
000006f0  61 70 20 77 69 74 68 20  66 73 63 6b 20 6f 72 20  |ap with fsck or |
00000700  77 69 74 68 0a 68 61 72  64 66 69 78 20 69 74 73  |with.hardfix its|
00000710  65 6c 66 3a 20 69 66 20  74 68 65 20 66 69 78 20  |elf: if the fix |
00000720  69 73 20 77 72 6f 6e 67  20 28 65 73 70 65 63 69  |is wrong (especi|
00000730  61 6c 6c 79 20 69 66 20  69 74 20 61 67 67 72 61  |ally if it aggra|
00000740  76 61 74 65 73 20 74 68  65 0a 73 69 74 75 61 74  |vates the.situat|
00000750  69 6f 6e 21 29 2c 20 79  6f 75 20 63 61 6e 20 61  |ion!), you can a|
00000760  6c 77 61 79 73 20 72 65  73 74 6f 72 65 20 79 6f  |lways restore yo|
00000770  75 72 20 6f 6c 64 20 64  61 74 61 2e 0a 52 65 6d  |ur old data..Rem|
00000780  65 6d 62 65 72 20 74 68  61 74 20 72 65 73 74 6f  |ember that resto|
00000790  72 69 6e 67 20 6f 6c 64  20 6d 61 70 73 20 67 65  |ring old maps ge|
000007a0  6e 65 72 61 6c 6c 79 20  63 61 75 73 65 73 20 6d  |nerally causes m|
000007b0  61 6e 79 20 66 69 6c 65  20 63 6f 72 72 75 70 74  |any file corrupt|
000007c0  69 6f 6e 73 21 20 49 6e  0a 66 61 63 74 2c 20 74  |ions! In.fact, t|
000007d0  68 65 20 6d 61 70 20 69  73 20 63 6f 73 74 61 6e  |he map is costan|
000007e0  74 6c 79 20 75 70 64 61  74 65 64 20 77 68 69 6c  |tly updated whil|
000007f0  65 20 66 69 6c 65 73 20  61 72 65 20 73 61 76 65  |e files are save|
00000800  64 2f 64 65 6c 65 74 65  64 2c 20 61 6e 64 20 65  |d/deleted, and e|
00000810  76 65 6e 0a 66 69 6c 65  73 20 74 68 61 74 20 61  |ven.files that a|
00000820  72 65 20 6e 6f 74 20 75  70 64 61 74 65 64 20 63  |re not updated c|
00000830  61 6e 20 62 65 20 61 75  74 6f 6d 61 74 69 63 61  |an be automatica|
00000840  6c 6c 79 20 6d 6f 76 65  64 20 61 72 6f 75 6e 64  |lly moved around|
00000850  20 62 79 20 52 49 53 43  20 4f 53 2e 0a 49 66 20  | by RISC OS..If |
00000860  79 6f 75 72 20 6d 61 70  20 69 73 20 62 72 6f 6b  |your map is brok|
00000870  65 6e 2c 20 74 72 79 20  74 6f 20 66 69 78 20 69  |en, try to fix i|
00000880  74 20 77 69 74 68 20 66  73 63 6b 20 61 6e 64 20  |t with fsck and |
00000890  68 61 72 64 66 69 78 20  61 6e 64 20 65 76 65 6e  |hardfix and even|
000008a0  74 75 61 6c 6c 79 0a 72  65 73 74 6f 72 65 20 61  |tually.restore a|
000008b0  6e 20 6f 6c 64 20 6f 6e  65 20 6f 6e 6c 79 20 69  |n old one only i|
000008c0  66 20 79 6f 75 20 61 72  65 20 73 75 72 65 20 74  |f you are sure t|
000008d0  68 65 72 65 20 69 73 20  6e 6f 74 68 69 6e 67 20  |here is nothing |
000008e0  62 65 74 74 65 72 20 74  6f 20 64 6f 21 0a 0a 0a  |better to do!...|
000008f0  54 68 65 20 66 69 78 61  62 6c 65 20 65 72 72 6f  |The fixable erro|
00000900  72 73 0a 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |rs.-------------|
00000910  2d 2d 2d 2d 2d 0a 0a 68  61 72 64 66 69 78 20 69  |-----..hardfix i|
00000920  73 20 61 62 6c 65 20 74  6f 20 66 69 78 20 74 68  |s able to fix th|
00000930  65 20 66 6f 6c 6c 6f 77  69 6e 67 20 65 72 72 6f  |e following erro|
00000940  72 73 3a 0a 2d 20 62 6f  6f 74 62 6c 6f 63 6b 20  |rs:.- bootblock |
00000950  63 68 65 63 6b 73 75 6d  20 77 72 6f 6e 67 0a 2d  |checksum wrong.-|
00000960  20 62 6f 6f 74 62 6c 6f  63 6b 20 64 65 66 65 63  | bootblock defec|
00000970  74 20 6c 69 73 74 20 65  6e 64 20 6d 61 72 6b 65  |t list end marke|
00000980  72 20 6d 69 73 73 69 6e  67 0a 2d 20 62 6f 6f 74  |r missing.- boot|
00000990  62 6c 6f 63 6b 20 64 65  66 65 63 74 20 6c 69 73  |block defect lis|
000009a0  74 20 63 68 65 63 6b 73  75 6d 20 77 72 6f 6e 67  |t checksum wrong|
000009b0  0a 2d 20 6d 61 70 20 63  72 6f 73 73 20 63 68 65  |.- map cross che|
000009c0  63 6b 20 77 72 6f 6e 67  0a 2d 20 6d 61 70 20 63  |ck wrong.- map c|
000009d0  6f 70 69 65 73 20 64 69  66 66 65 72 65 6e 74 0a  |opies different.|
000009e0  2d 20 7a 6f 6e 65 20 63  68 65 63 6b 73 75 6d 20  |- zone checksum |
000009f0  77 72 6f 6e 67 20 28 74  68 69 73 20 69 73 20 74  |wrong (this is t|
00000a00  68 65 20 74 79 70 69 63  61 6c 20 63 61 75 73 65  |he typical cause|
00000a10  20 6f 66 20 75 6e 72 65  61 64 61 62 6c 65 20 64  | of unreadable d|
00000a20  69 73 63 73 29 0a 2d 20  7a 6f 6e 65 20 66 72 65  |iscs).- zone fre|
00000a30  65 20 63 68 75 6e 6b 20  6f 66 66 73 65 74 20 77  |e chunk offset w|
00000a40  72 6f 6e 67 0a 2d 20 7a  6f 6e 65 20 66 72 65 65  |rong.- zone free|
00000a50  20 6c 69 6e 6b 65 64 20  6c 69 73 74 20 77 72 6f  | linked list wro|
00000a60  6e 67 20 28 74 68 69 73  20 69 73 20 74 68 65 20  |ng (this is the |
00000a70  74 79 70 69 63 61 6c 20  63 61 75 73 65 20 6f 66  |typical cause of|
00000a80  20 75 6e 77 72 69 74 61  62 6c 65 20 64 69 73 63  | unwritable disc|
00000a90  73 29 0a 2d 20 7a 6f 6e  65 20 6e 6f 74 20 63 6f  |s).- zone not co|
00000aa0  72 72 65 63 74 6c 79 20  74 65 72 6d 69 6e 61 74  |rrectly terminat|
00000ab0  65 64 0a 2d 20 49 44 20  74 6f 6f 20 68 69 67 68  |ed.- ID too high|
00000ac0  20 66 6f 72 20 74 68 65  20 64 69 73 63 20 73 68  | for the disc sh|
00000ad0  61 70 65 0a 2d 20 6e 6f  74 20 73 65 63 74 6f 72  |ape.- not sector|
00000ae0  2d 61 6c 69 67 6e 65 64  20 6f 62 6a 65 63 74 0a  |-aligned object.|
00000af0  2d 20 6c 61 73 74 20 6f  62 6a 65 63 74 20 69 6e  |- last object in|
00000b00  20 7a 6f 6e 65 20 74 6f  6f 20 6c 6f 6e 67 0a 2d  | zone too long.-|
00000b10  20 72 6f 6f 74 20 64 69  72 65 63 74 6f 72 79 20  | root directory |
00000b20  69 64 65 6e 74 69 66 69  65 72 73 20 77 72 6f 6e  |identifiers wron|
00000b30  67 0a 2d 20 72 6f 6f 74  20 63 68 65 63 6b 73 75  |g.- root checksu|
00000b40  6d 20 77 72 6f 6e 67 0a  2d 20 72 6f 6f 74 20 6d  |m wrong.- root m|
00000b50  61 73 74 65 72 20 73 65  71 75 65 6e 63 65 20 6e  |aster sequence n|
00000b60  75 6d 62 65 72 73 20 64  69 66 66 65 72 65 6e 74  |umbers different|
00000b70  0a 2d 20 72 6f 6f 74 20  65 6e 64 6d 61 72 6b 65  |.- root endmarke|
00000b80  72 20 77 72 6f 6e 67 0a  2d 20 72 6f 6f 74 20 72  |r wrong.- root r|
00000b90  65 73 65 72 76 65 64 20  62 79 74 65 73 20 6e 6f  |eserved bytes no|
00000ba0  74 20 63 6c 65 61 72 65  64 0a 2d 20 72 6f 6f 74  |t cleared.- root|
00000bb0  20 61 64 64 72 65 73 73  20 77 72 6f 6e 67 0a 0a  | address wrong..|
00000bc0  54 68 65 20 62 6f 6f 74  62 6c 6f 63 6b 20 65 72  |The bootblock er|
00000bd0  72 6f 72 73 20 73 68 6f  75 6c 64 20 6e 65 76 65  |rors should neve|
00000be0  72 20 61 70 70 65 61 72  2c 20 75 6e 6c 65 73 73  |r appear, unless|
00000bf0  20 79 6f 75 72 20 64 69  73 63 20 69 73 20 2a 72  | your disc is *r|
00000c00  65 61 6c 6c 79 2a 0a 64  61 6d 61 6e 67 65 64 20  |eally*.damanged |
00000c10  6f 72 20 62 61 64 6c 79  20 66 6f 72 6d 61 74 74  |or badly formatt|
00000c20  65 64 2c 20 61 6e 64 20  77 69 6c 6c 20 70 72 6f  |ed, and will pro|
00000c30  62 61 62 6c 79 20 62 65  20 75 73 65 6c 65 73 73  |bably be useless|
00000c40  20 74 6f 20 74 72 79 20  74 6f 20 66 69 78 20 69  | to try to fix i|
00000c50  74 2e 0a 4d 6f 72 65 6f  76 65 72 20 69 74 20 73  |t..Moreover it s|
00000c60  65 65 6d 73 20 74 68 61  74 20 73 6f 6d 65 20 73  |eems that some s|
00000c70  6f 6d 65 20 64 69 73 63  20 68 61 76 65 20 62 65  |ome disc have be|
00000c80  65 6e 20 6d 61 64 65 20  63 6f 6d 70 6c 65 74 65  |en made complete|
00000c90  6c 79 20 75 6e 72 65 61  64 61 62 6c 65 0a 61 66  |ly unreadable.af|
00000ca0  74 65 72 20 68 61 72 64  66 69 78 20 27 63 75 72  |ter hardfix 'cur|
00000cb0  65 64 27 20 74 68 65 20  62 6f 6f 74 62 6c 6f 63  |ed' the bootbloc|
00000cc0  6b 20 63 68 65 63 6b 73  75 6d 20 28 61 6e 79 77  |k checksum (anyw|
00000cd0  61 79 2c 20 72 65 66 6f  72 6d 61 74 74 69 6e 67  |ay, reformatting|
00000ce0  20 61 6e 64 0a 72 65 73  74 6f 72 69 6e 67 20 74  | and.restoring t|
00000cf0  68 65 20 6d 61 70 20 61  6e 64 20 74 68 65 20 72  |he map and the r|
00000d00  6f 6f 74 20 64 69 72 65  63 74 6f 72 79 20 75 73  |oot directory us|
00000d10  69 6e 67 20 68 61 72 64  66 69 78 20 66 69 78 65  |ing hardfix fixe|
00000d20  64 20 65 76 65 72 79 74  68 69 6e 67 21 29 2e 0a  |d everything!)..|
00000d30  43 6f 6e 73 69 64 65 72  69 6e 67 20 74 68 69 73  |Considering this|
00000d40  20 62 61 64 20 65 78 70  65 72 69 65 6e 63 65 20  | bad experience |
00000d50  49 20 72 65 6d 6f 76 65  64 20 74 68 65 20 70 6f  |I removed the po|
00000d60  73 73 69 62 69 6c 69 74  79 20 74 6f 20 73 61 76  |ssibility to sav|
00000d70  65 20 74 68 65 0a 62 6f  6f 74 62 6c 6f 63 6b 20  |e the.bootblock |
00000d80  66 72 6f 6d 20 74 68 65  20 75 6e 72 65 67 69 73  |from the unregis|
00000d90  74 65 72 65 64 20 76 65  72 73 69 6f 6e 2e 20 49  |tered version. I|
00000da0  66 20 79 6f 75 20 72 65  61 6c 6c 79 20 6e 65 65  |f you really nee|
00000db0  64 20 69 74 20 28 66 6f  72 20 65 78 61 6d 70 6c  |d it (for exampl|
00000dc0  65 0a 62 65 63 61 75 73  65 20 74 68 65 20 64 69  |e.because the di|
00000dd0  73 63 20 69 73 20 75 6e  72 65 61 64 61 62 6c 65  |sc is unreadable|
00000de0  20 64 75 65 20 74 6f 20  62 6f 6f 74 62 6c 6f 63  | due to bootbloc|
00000df0  6b 20 63 6f 72 72 75 70  74 6f 6e 29 20 79 6f 75  |k corrupton) you|
00000e00  20 2a 6d 75 73 74 2a 20  63 6f 6e 74 61 63 74 0a  | *must* contact.|
00000e10  6d 65 20 28 73 65 6e 64  69 6e 67 20 74 68 65 20  |me (sending the |
00000e20  73 61 76 65 64 20 64 69  73 63 20 64 61 74 61 29  |saved disc data)|
00000e30  20 61 6e 64 20 49 20 77  69 6c 6c 20 74 72 79 20  | and I will try |
00000e40  74 6f 20 69 6e 76 65 73  74 69 67 61 74 65 2e 20  |to investigate. |
00000e50  49 6e 20 6f 6c 64 0a 76  65 72 73 69 6f 6e 73 20  |In old.versions |
00000e60  6f 66 20 74 68 69 73 20  66 69 6c 65 20 49 20 73  |of this file I s|
00000e70  61 69 64 20 22 79 6f 75  20 2a 73 68 6f 75 6c 64  |aid "you *should|
00000e80  2a 20 63 6f 6e 74 61 63  74 20 74 68 65 20 61 75  |* contact the au|
00000e90  74 68 6f 72 22 20 62 75  74 20 73 6f 6d 65 6f 6e  |thor" but someon|
00000ea0  65 0a 64 69 64 6e 27 74  20 61 6e 64 2e 2e 2e 0a  |e.didn't and....|
00000eb0  0a 54 68 65 20 6d 61 70  20 65 72 72 6f 72 73 20  |.The map errors |
00000ec0  61 72 65 20 74 68 65 20  6d 6f 73 74 20 63 6f 6d  |are the most com|
00000ed0  6d 6f 6e 2c 20 65 73 70  65 63 69 61 6c 6c 79 20  |mon, especially |
00000ee0  74 68 65 20 6f 6e 65 73  20 61 62 6f 75 74 20 66  |the ones about f|
00000ef0  72 65 65 20 6c 69 73 74  73 2c 20 62 75 74 0a 63  |ree lists, but.c|
00000f00  61 6e 20 75 73 75 61 6c  6c 79 20 62 65 20 73 75  |an usually be su|
00000f10  63 63 65 73 73 66 75 6c  6c 79 20 63 75 72 65 64  |ccessfully cured|
00000f20  2e 0a 0a 54 68 65 20 72  6f 6f 74 20 64 69 72 65  |...The root dire|
00000f30  63 74 6f 72 79 20 65 72  72 6f 72 73 20 61 72 65  |ctory errors are|
00000f40  20 67 65 6e 65 72 61 6c  6c 79 20 73 65 72 69 6f  | generally serio|
00000f50  75 73 20 73 69 6e 63 65  20 74 68 65 79 20 75 73  |us since they us|
00000f60  75 61 6c 6c 79 20 69 6d  70 6c 79 20 74 68 61 74  |ually imply that|
00000f70  0a 74 68 65 20 64 69 72  65 63 74 6f 72 79 20 68  |.the directory h|
00000f80  61 73 20 62 65 65 6e 20  63 6f 6d 70 6c 65 74 65  |as been complete|
00000f90  6c 79 20 6f 76 65 72 77  72 69 74 74 65 6e 2e 20  |ly overwritten. |
00000fa0  49 6e 20 74 68 69 73 20  63 61 73 65 20 74 68 65  |In this case the|
00000fb0  20 6f 6e 6c 79 20 63 68  6f 69 63 65 0a 69 73 20  | only choice.is |
00000fc0  74 6f 20 72 65 73 74 6f  72 65 20 69 74 20 66 72  |to restore it fr|
00000fd0  6f 6d 20 61 20 70 72 65  76 69 6f 75 73 6c 79 20  |om a previously |
00000fe0  73 61 76 65 64 20 66 69  6c 65 20 28 6f 6e 6c 79  |saved file (only|
00000ff0  20 74 68 65 20 72 6f 6f  74 20 73 68 6f 75 6c 64  | the root should|
00001000  20 62 65 0a 72 65 73 74  6f 72 65 64 2c 20 6e 6f  | be.restored, no|
00001010  74 20 74 68 65 20 62 6f  6f 74 62 6c 6f 63 6b 20  |t the bootblock |
00001020  61 6e 64 20 6d 61 70 2c  20 74 6f 6f 21 29 2e 0a  |and map, too!)..|
00001030  0a 55 73 69 6e 67 20 74  68 65 20 2d 51 20 6f 70  |.Using the -Q op|
00001040  74 69 6f 6e 20 79 6f 75  20 77 69 6c 6c 20 62 65  |tion you will be|
00001050  20 61 73 6b 65 64 20 74  6f 20 63 68 6f 6f 73 65  | asked to choose|
00001060  20 69 66 20 74 68 65 20  65 72 72 6f 72 28 73 29  | if the error(s)|
00001070  20 68 61 73 20 74 6f 20  62 65 0a 66 69 78 65 64  | has to be.fixed|
00001080  20 6f 72 20 6c 65 66 74  20 69 6e 74 61 63 74 2e  | or left intact.|
00001090  20 53 6f 20 79 6f 75 20  63 61 6e 20 63 68 6f 6f  | So you can choo|
000010a0  73 65 20 74 6f 20 66 69  78 20 6f 6e 6c 79 20 74  |se to fix only t|
000010b0  68 65 20 6d 61 70 20 61  6e 64 20 6e 6f 74 20 74  |he map and not t|
000010c0  68 65 0a 62 6f 6f 74 62  6c 6f 63 6b 2c 20 66 6f  |he.bootblock, fo|
000010d0  72 20 65 78 61 6d 70 6c  65 2e 0a 59 6f 75 20 77  |r example..You w|
000010e0  69 6c 6c 20 61 6c 77 61  79 73 20 62 65 20 61 73  |ill always be as|
000010f0  6b 65 64 20 69 66 20 74  68 65 20 66 69 78 65 73  |ked if the fixes|
00001100  20 68 61 73 20 74 6f 20  62 65 20 61 70 70 6c 69  | has to be appli|
00001110  65 64 20 74 6f 20 74 68  65 20 64 69 73 63 20 28  |ed to the disc (|
00001120  69 65 2e 20 69 66 0a 79  6f 75 20 72 65 61 6c 6c  |ie. if.you reall|
00001130  79 20 77 61 6e 74 20 74  6f 20 73 61 76 65 20 74  |y want to save t|
00001140  68 65 20 66 69 78 65 64  20 62 6f 6f 74 62 6c 6f  |he fixed bootblo|
00001150  63 6b 2c 20 6d 61 70 20  61 6e 64 20 72 6f 6f 74  |ck, map and root|
00001160  20 64 69 72 65 63 74 6f  72 79 29 2e 0a 0a 0a 54  | directory)....T|
00001170  68 65 20 6c 6f 67 66 69  6c 65 0a 2d 2d 2d 2d 2d  |he logfile.-----|
00001180  2d 2d 2d 2d 2d 2d 0a 0a  55 73 69 6e 67 20 74 68  |------..Using th|
00001190  65 20 6c 6f 67 66 69 6c  65 20 28 2d 6c 29 20 6f  |e logfile (-l) o|
000011a0  70 74 69 6f 6e 20 69 73  20 67 65 6e 65 72 61 6c  |ption is general|
000011b0  6c 79 20 72 65 61 6c 6c  79 20 75 73 65 66 75 6c  |ly really useful|
000011c0  3a 20 69 66 20 73 6f 6d  65 74 68 69 6e 67 0a 73  |: if something.s|
000011d0  74 72 61 6e 67 65 20 68  61 70 70 65 6e 73 2c 20  |trange happens, |
000011e0  74 68 65 20 61 75 74 68  6f 72 20 77 69 6c 6c 20  |the author will |
000011f0  62 65 20 6d 6f 72 65 20  68 65 6c 70 66 75 6c 20  |be more helpful |
00001200  69 66 20 68 65 20 63 61  6e 20 73 65 65 20 65 78  |if he can see ex|
00001210  61 63 74 6c 79 20 77 68  61 74 0a 68 61 70 70 65  |actly what.happe|
00001220  6e 65 64 20 61 6e 64 20  79 6f 75 20 64 6f 6e 27  |ned and you don'|
00001230  74 20 65 76 65 6e 20 68  61 76 65 20 74 6f 20 74  |t even have to t|
00001240  72 79 20 74 6f 20 65 78  70 6c 61 69 6e 20 77 68  |ry to explain wh|
00001250  61 74 20 68 61 70 70 65  6e 65 64 20 77 68 65 6e  |at happened when|
00001260  20 79 6f 75 20 72 75 6e  0a 68 61 72 64 66 69 78  | you run.hardfix|
00001270  2c 20 74 68 65 20 6c 6f  67 66 69 6c 65 20 61 6e  |, the logfile an|
00001280  64 20 74 68 65 20 73 61  76 65 64 20 64 69 73 63  |d the saved disc|
00001290  20 64 61 74 61 20 69 73  20 75 73 75 61 6c 6c 79  | data is usually|
000012a0  20 65 6e 6f 75 67 68 21  0a 54 68 65 20 6c 6f 67  | enough!.The log|
000012b0  66 69 6c 65 20 63 6f 6e  74 61 69 6e 73 20 65 78  |file contains ex|
000012c0  61 63 74 6c 79 20 77 68  61 74 20 69 74 20 69 73  |actly what it is|
000012d0  20 70 72 69 6e 74 65 64  20 74 6f 20 74 68 65 20  | printed to the |
000012e0  73 63 72 65 65 6e 2c 20  73 6f 20 69 74 20 73 68  |screen, so it sh|
000012f0  6f 75 6c 64 0a 62 65 20  72 65 61 6c 6c 79 20 73  |ould.be really s|
00001300  6d 61 6c 6c 20 28 6e 65  61 72 6c 79 20 31 4b 20  |mall (nearly 1K |
00001310  6f 6e 20 61 20 67 6f 6f  64 20 64 69 73 63 20 6f  |on a good disc o|
00001320  72 20 6e 65 61 72 6c 79  20 35 4b 20 6f 6e 20 61  |r nearly 5K on a|
00001330  20 71 75 69 74 65 20 63  6f 72 72 75 70 74 65 64  | quite corrupted|
00001340  0a 6f 6e 65 29 2e 0a 59  6f 75 20 63 61 6e 6e 6f  |.one)..You canno|
00001350  74 20 73 61 76 65 20 74  68 65 20 6c 6f 67 66 69  |t save the logfi|
00001360  6c 65 20 74 6f 20 74 68  65 20 64 69 73 63 20 74  |le to the disc t|
00001370  6f 20 66 69 78 21 0a 49  66 20 61 20 66 69 6c 65  |o fix!.If a file|
00001380  20 77 69 74 68 20 74 68  65 20 73 61 6d 65 20 6e  | with the same n|
00001390  61 6d 65 20 6f 66 20 74  68 65 20 6c 6f 67 66 69  |ame of the logfi|
000013a0  6c 65 20 61 6c 72 65 61  64 79 20 65 78 69 73 74  |le already exist|
000013b0  73 2c 20 74 68 65 20 6e  65 77 20 64 61 74 61 20  |s, the new data |
000013c0  77 69 6c 6c 0a 62 65 20  61 74 74 61 63 68 65 64  |will.be attached|
000013d0  20 61 74 20 74 68 65 20  65 6e 64 20 6f 66 20 69  | at the end of i|
000013e0  74 3a 20 69 6e 20 74 68  69 73 20 77 61 79 2c 20  |t: in this way, |
000013f0  79 6f 75 20 63 61 6e 20  61 74 74 61 63 68 20 74  |you can attach t|
00001400  6f 67 65 74 68 65 72 20  74 77 6f 20 6f 72 0a 6d  |ogether two or.m|
00001410  6f 72 65 20 6c 6f 67 66  69 6c 65 73 2e 0a 0a 0a  |ore logfiles....|
00001420  4e 6f 74 65 73 0a 2d 2d  2d 2d 2d 0a 0a 49 66 20  |Notes.-----..If |
00001430  74 68 65 20 74 77 6f 20  63 6f 70 69 65 73 20 6f  |the two copies o|
00001440  66 20 74 68 65 20 6d 61  70 20 61 72 65 20 64 69  |f the map are di|
00001450  66 66 65 72 65 6e 74 2c  20 68 61 72 64 66 69 78  |fferent, hardfix|
00001460  20 74 72 69 65 73 20 74  6f 20 66 69 78 20 74 68  | tries to fix th|
00001470  65 20 6c 65 73 73 0a 64  61 6d 61 67 65 64 2e 20  |e less.damaged. |
00001480  49 66 20 74 68 65 79 20  61 72 65 20 61 70 70 61  |If they are appa|
00001490  72 65 6e 74 6c 79 20 64  61 6d 61 67 65 64 20 61  |rently damaged a|
000014a0  74 20 74 68 65 20 73 61  6d 65 20 6c 65 76 65 6c  |t the same level|
000014b0  2c 20 68 61 72 64 66 69  78 20 77 69 6c 6c 20 61  |, hardfix will a|
000014c0  73 6b 0a 79 6f 75 20 77  68 69 63 68 20 6d 61 70  |sk.you which map|
000014d0  20 74 6f 20 66 69 78 2e  20 49 6e 20 6e 6f 72 6d  | to fix. In norm|
000014e0  61 6c 20 63 61 73 65 73  2c 20 79 6f 75 20 61 72  |al cases, you ar|
000014f0  65 20 61 64 76 69 63 65  64 20 74 6f 20 66 69 78  |e adviced to fix|
00001500  20 74 68 65 20 6d 61 70  20 74 68 61 74 0a 68 61  | the map that.ha|
00001510  72 64 66 69 78 20 73 75  67 67 65 73 74 73 20 6f  |rdfix suggests o|
00001520  72 2c 20 62 79 20 64 65  66 61 75 6c 74 2c 20 63  |r, by default, c|
00001530  68 6f 6f 73 65 20 74 68  65 20 66 69 72 73 74 20  |hoose the first |
00001540  6f 6e 65 2e 0a 54 68 65  20 2d 31 20 61 6e 64 20  |one..The -1 and |
00001550  2d 32 20 6f 70 74 69 6f  6e 73 20 63 61 6e 20 62  |-2 options can b|
00001560  65 20 75 73 65 64 20 74  6f 20 66 6f 72 63 65 20  |e used to force |
00001570  68 61 72 64 66 69 78 20  74 6f 20 74 72 79 20 74  |hardfix to try t|
00001580  6f 20 66 69 78 20 74 68  65 20 66 69 72 73 74 20  |o fix the first |
00001590  6f 72 0a 74 68 65 20 73  65 63 6f 6e 64 20 63 6f  |or.the second co|
000015a0  70 79 2c 20 72 65 67 61  72 64 6c 65 73 73 20 6f  |py, regardless o|
000015b0  66 20 74 68 65 69 72 20  73 74 61 74 65 2e 0a 0a  |f their state...|
000015c0  0a 45 78 74 72 61 20 66  65 61 74 75 72 65 73 0a  |.Extra features.|
000015d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 0a  |--------------..|
000015e0  52 65 67 69 73 74 65 72  65 64 20 76 65 72 73 69  |Registered versi|
000015f0  6f 6e 73 20 77 69 6c 6c  20 73 75 70 70 6f 72 74  |ons will support|
00001600  20 27 62 69 67 27 20 64  69 73 63 73 20 28 69 65  | 'big' discs (ie|
00001610  20 64 69 73 63 73 20 6c  61 72 67 65 72 20 74 68  | discs larger th|
00001620  61 6e 20 35 31 32 4d 62  0a 73 75 70 70 6f 72 74  |an 512Mb.support|
00001630  65 64 20 62 79 20 74 68  65 20 6e 65 77 20 46 69  |ed by the new Fi|
00001640  6c 65 43 6f 72 65 20 6d  6f 64 75 6c 65 20 66 6f  |leCore module fo|
00001650  72 20 52 49 53 43 20 4f  53 20 33 2e 36 30 20 6f  |r RISC OS 3.60 o|
00001660  72 20 6c 61 74 65 72 29  20 77 68 69 6c 65 20 74  |r later) while t|
00001670  68 65 0a 75 6e 72 65 67  69 73 74 65 72 65 64 20  |he.unregistered |
00001680  76 65 72 73 69 6f 6e 20  77 69 6c 6c 20 72 65 66  |version will ref|
00001690  75 73 65 20 74 6f 20 77  6f 72 6b 20 6f 6e 20 74  |use to work on t|
000016a0  68 65 6d 2e 0a 0a 41 20  73 70 65 63 69 61 6c 20  |hem...A special |
000016b0  66 65 61 74 75 72 65 73  20 63 6f 64 65 20 69 73  |features code is|
000016c0  20 61 76 61 69 6c 61 62  6c 65 20 74 6f 20 61 6c  | available to al|
000016d0  6c 6f 77 20 68 61 72 64  66 69 78 20 74 6f 20 77  |low hardfix to w|
000016e0  72 69 74 65 20 74 6f 20  74 68 65 0a 62 6f 6f 74  |rite to the.boot|
000016f0  62 6c 6f 63 6b 2e 20 53  69 6e 63 65 20 74 68 69  |block. Since thi|
00001700  73 20 6d 61 79 20 62 65  20 64 61 6e 67 65 72 6f  |s may be dangero|
00001710  75 73 20 49 27 6c 6c 20  6e 6f 74 20 75 73 75 61  |us I'll not usua|
00001720  6c 6c 79 20 61 6c 6c 6f  77 20 70 65 6f 70 6c 65  |lly allow people|
00001730  20 74 6f 20 75 73 65 0a  74 68 69 73 20 63 6f 64  | to use.this cod|
00001740  65 20 28 75 6e 6c 65 73  73 20 74 68 65 79 20 6e  |e (unless they n|
00001750  65 65 64 20 69 74 20 74  6f 20 66 69 78 20 74 68  |eed it to fix th|
00001760  65 69 72 20 64 69 73 63  29 2e 0a 0a 0a 53 61 76  |eir disc)....Sav|
00001770  65 64 20 66 69 6c 65 20  66 6f 72 6d 61 74 0a 2d  |ed file format.-|
00001780  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00001790  0a 0a 54 68 69 73 20 69  73 20 6f 6e 6c 79 20 6f  |..This is only o|
000017a0  66 20 69 6e 74 65 72 65  73 74 20 74 6f 20 70 65  |f interest to pe|
000017b0  6f 70 6c 65 20 77 68 6f  20 77 61 6e 74 73 20 74  |ople who wants t|
000017c0  6f 20 61 63 63 65 73 73  20 74 6f 20 74 68 65 20  |o access to the |
000017d0  73 61 76 65 64 20 66 69  6c 65 20 69 6e 0a 74 68  |saved file in.th|
000017e0  65 69 72 20 6f 77 6e 20  70 72 6f 67 72 61 6d 73  |eir own programs|
000017f0  20 28 70 72 6f 62 61 62  6c 79 20 6e 6f 62 6f 64  | (probably nobod|
00001800  79 21 29 2e 0a 54 68 65  20 73 61 76 65 64 20 66  |y!)..The saved f|
00001810  69 6c 65 20 68 61 73 20  61 20 68 65 61 64 65 72  |ile has a header|
00001820  20 74 68 61 74 20 63 6f  6e 74 61 69 6e 73 20 74  | that contains t|
00001830  68 65 20 66 69 6c 65 73  79 73 74 65 6d 20 69 6e  |he filesystem in|
00001840  66 6f 72 6d 61 74 69 6f  6e 73 0a 66 6f 6c 6c 6f  |formations.follo|
00001850  77 65 64 20 62 79 20 61  20 73 65 72 69 65 73 20  |wed by a series |
00001860  6f 66 20 74 61 67 67 65  64 20 6f 62 6a 65 63 74  |of tagged object|
00001870  2e 0a 54 68 65 20 68 65  61 64 65 72 20 63 6f 6e  |..The header con|
00001880  73 69 73 74 73 20 6f 66  20 74 68 65 20 66 69 6c  |sists of the fil|
00001890  65 73 79 73 74 65 6d 20  6e 61 6d 65 20 66 6f 6c  |esystem name fol|
000018a0  6c 6f 77 65 64 20 62 79  20 61 20 6e 65 77 6c 69  |lowed by a newli|
000018b0  6e 65 20 61 6e 64 20 74  68 65 6e 20 74 68 65 0a  |ne and then the.|
000018c0  64 69 73 63 20 6e 75 6d  62 65 72 20 66 6f 6c 6c  |disc number foll|
000018d0  6f 77 65 64 20 62 79 20  61 6e 6f 74 68 65 72 20  |owed by another |
000018e0  6e 65 77 6c 69 6e 65 2e  0a 45 61 63 68 20 74 61  |newline..Each ta|
000018f0  67 67 65 64 20 6f 62 6a  65 63 74 20 63 6f 6e 73  |gged object cons|
00001900  69 73 74 73 20 6f 66 20  61 20 74 65 78 74 75 61  |ists of a textua|
00001910  6c 20 74 61 67 20 6f 66  20 34 20 62 79 74 65 73  |l tag of 4 bytes|
00001920  20 66 6f 6c 6c 6f 77 65  64 20 62 79 20 74 68 65  | followed by the|
00001930  0a 6f 62 6a 65 63 74 20  69 74 73 65 6c 66 2e 20  |.object itself. |
00001940  54 68 65 20 63 75 72 72  65 6e 74 6c 79 20 72 65  |The currently re|
00001950  63 6f 67 6e 69 73 65 64  20 74 61 67 73 20 61 72  |cognised tags ar|
00001960  65 3a 0a 22 42 4f 4f 54  22 20 2d 20 62 6f 6f 74  |e:."BOOT" - boot|
00001970  62 6c 6f 63 6b 20 28 35  31 32 20 62 79 74 65 73  |block (512 bytes|
00001980  29 0a 22 4d 41 50 31 22  20 2d 20 74 68 65 20 66  |)."MAP1" - the f|
00001990  69 72 73 74 20 63 6f 70  79 20 6f 66 20 74 68 65  |irst copy of the|
000019a0  20 6d 61 70 20 28 74 68  65 20 6c 65 6e 67 74 68  | map (the length|
000019b0  20 63 61 6e 20 62 65 20  63 61 6c 63 75 6c 61 74  | can be calculat|
000019c0  65 64 20 66 72 6f 6d 20  74 68 65 0a 20 20 20 20  |ed from the.    |
000019d0  20 20 20 20 20 62 6f 6f  74 62 6c 6f 63 6b 20 64  |     bootblock d|
000019e0  61 74 61 29 0a 22 4d 41  50 32 22 20 2d 20 74 68  |ata)."MAP2" - th|
000019f0  65 20 73 65 63 6f 6e 64  20 63 6f 70 79 20 6f 66  |e second copy of|
00001a00  20 74 68 65 20 6d 61 70  20 28 74 68 65 20 73 61  | the map (the sa|
00001a10  6d 65 20 6c 65 6e 67 74  68 20 61 73 20 74 68 65  |me length as the|
00001a20  20 66 69 72 73 74 20 63  6f 70 79 29 0a 22 52 4f  | first copy)."RO|
00001a30  4f 54 22 20 2d 20 74 68  65 20 72 6f 6f 74 20 64  |OT" - the root d|
00001a40  69 72 65 63 74 6f 72 79  20 28 32 30 34 38 20 62  |irectory (2048 b|
00001a50  79 74 65 73 29 0a 22 52  53 69 58 22 20 2d 20 74  |ytes)."RSiX" - t|
00001a60  68 65 20 52 49 53 43 69  58 20 70 61 72 74 69 74  |he RISCiX partit|
00001a70  69 6f 6e 20 74 61 62 6c  65 20 28 6f 6e 6c 79 20  |ion table (only |
00001a80  69 66 20 52 49 53 43 69  58 20 70 61 72 74 69 74  |if RISCiX partit|
00001a90  69 6f 6e 65 64 21 29 20  28 32 35 36 20 62 79 74  |ioned!) (256 byt|
00001aa0  65 73 29 0a 0a 54 68 65  20 62 6f 6f 74 62 6c 6f  |es)..The bootblo|
00001ab0  63 6b 20 6d 75 73 74 20  61 6c 77 61 79 73 20 63  |ck must always c|
00001ac0  6f 6d 65 20 62 65 66 6f  72 65 20 74 68 65 20 6d  |ome before the m|
00001ad0  61 70 2c 20 6f 74 68 65  72 77 69 73 65 20 74 68  |ap, otherwise th|
00001ae0  65 20 6c 65 6e 67 74 68  20 6f 66 20 74 68 65 0a  |e length of the.|
00001af0  6d 61 70 20 63 61 6e 6e  6f 74 20 62 65 20 63 61  |map cannot be ca|
00001b00  6c 63 75 6c 61 74 65 64  2e 20 4f 6e 6c 79 20 38  |lculated. Only 8|
00001b10  30 30 4b 20 66 6c 6f 70  70 69 65 73 20 68 61 76  |00K floppies hav|
00001b20  65 20 6e 6f 20 62 6f 6f  74 62 6c 6f 63 6b 3a 20  |e no bootblock: |
00001b30  69 6e 20 74 68 69 73 20  63 61 73 65 0a 74 68 65  |in this case.the|
00001b40  20 6c 65 6e 67 74 68 20  6f 66 20 74 68 65 20 6d  | length of the m|
00001b50  61 70 20 69 73 20 31 30  32 34 20 62 79 74 65 73  |ap is 1024 bytes|
00001b60  2e 0a 54 68 65 20 73 65  63 6f 6e 64 20 63 6f 70  |..The second cop|
00001b70  79 20 6f 66 20 74 68 65  20 6d 61 70 20 6d 75 73  |y of the map mus|
00001b80  74 20 61 6c 77 61 79 73  20 66 6f 6c 6c 6f 77 20  |t always follow |
00001b90  74 68 65 20 66 69 72 73  74 20 6f 6e 65 2e 0a 41  |the first one..A|
00001ba0  6e 79 20 6f 74 68 65 72  20 74 61 67 20 69 73 20  |ny other tag is |
00001bb0  69 67 6e 6f 72 65 64 20  61 6e 64 20 74 68 65 20  |ignored and the |
00001bc0  66 69 6c 65 20 69 73 20  73 63 61 6e 6e 65 64 20  |file is scanned |
00001bd0  75 6e 74 69 6c 20 61 20  72 65 63 6f 67 6e 69 73  |until a recognis|
00001be0  65 64 20 74 61 67 20 69  73 0a 66 6f 75 6e 64 2e  |ed tag is.found.|
00001bf0  20 54 68 65 20 74 61 67  73 20 73 68 6f 75 6c 64  | The tags should|
00001c00  20 62 65 20 77 6f 72 64  20 61 6c 69 67 6e 65 64  | be word aligned|
00001c10  20 28 74 68 65 20 61 6c  69 67 6e 65 6d 65 6e 74  | (the alignement|
00001c20  20 72 65 66 65 72 73 20  74 6f 20 74 68 65 20 66  | refers to the f|
00001c30  69 72 73 74 0a 74 61 67  20 65 76 65 6e 20 69 66  |irst.tag even if|
00001c40  20 69 74 20 69 73 6e 27  74 20 61 63 74 75 61 6c  | it isn't actual|
00001c50  6c 79 20 77 6f 72 64 20  61 6c 69 67 6e 65 64 20  |ly word aligned |
00001c60  69 6e 73 69 64 65 20 74  68 65 20 66 69 6c 65 20  |inside the file |
00001c70  62 65 63 61 75 73 65 20  6f 66 20 74 68 65 0a 66  |because of the.f|
00001c80  69 6c 65 73 79 73 74 65  6d 20 6e 61 6d 65 29 2e  |ilesystem name).|
00001c90  0a 0a 0a 44 69 73 63 6c  61 69 6d 65 72 0a 2d 2d  |...Disclaimer.--|
00001ca0  2d 2d 2d 2d 2d 2d 2d 2d  0a 0a 68 61 72 64 66 69  |--------..hardfi|
00001cb0  78 20 63 61 6e 20 62 65  20 63 6f 6e 73 69 64 65  |x can be conside|
00001cc0  72 65 64 20 61 20 72 65  61 6c 6c 79 20 64 61 6e  |red a really dan|
00001cd0  67 65 72 6f 75 73 20 70  72 6f 67 72 61 6d 20 73  |gerous program s|
00001ce0  69 6e 63 65 20 69 74 20  63 61 6e 20 64 69 72 65  |ince it can dire|
00001cf0  63 74 6c 79 0a 77 72 69  74 65 20 74 6f 20 74 68  |ctly.write to th|
00001d00  65 20 62 6f 6f 74 62 6c  6f 63 6b 2c 20 6d 61 70  |e bootblock, map|
00001d10  20 61 6e 64 20 72 6f 6f  74 20 64 69 72 65 63 74  | and root direct|
00001d20  6f 72 79 3a 20 74 68 65  73 65 20 61 72 65 20 74  |ory: these are t|
00001d30  68 65 20 6b 65 79 20 73  65 63 74 6f 72 73 20 6f  |he key sectors o|
00001d40  66 0a 61 20 64 69 73 63  2c 20 64 61 6d 61 67 69  |f.a disc, damagi|
00001d50  6e 67 20 74 68 65 6d 20  63 61 6e 20 72 65 73 75  |ng them can resu|
00001d60  6c 74 20 69 6e 20 74 68  65 20 63 6f 6d 70 6c 65  |lt in the comple|
00001d70  74 65 20 6f 72 20 70 61  72 74 69 61 6c 20 6c 6f  |te or partial lo|
00001d80  73 73 20 6f 66 20 74 68  65 20 64 61 74 61 0a 6f  |ss of the data.o|
00001d90  6e 20 74 68 65 20 64 69  73 63 2e 0a 0a 49 20 74  |n the disc...I t|
00001da0  72 69 65 64 20 6d 6f 73  74 20 6f 66 20 74 68 65  |ried most of the|
00001db0  20 66 65 61 74 75 72 65  73 20 6f 66 20 68 61 72  | features of har|
00001dc0  64 66 69 78 20 6f 6e 20  6d 79 20 64 69 73 63 20  |dfix on my disc |
00001dd0  61 6e 64 20 6f 6e 20 73  6f 6d 65 20 66 6c 6f 70  |and on some flop|
00001de0  70 69 65 73 20 62 75 74  20 49 0a 63 61 6e 6e 6f  |pies but I.canno|
00001df0  74 20 62 65 20 63 6f 6d  70 6c 65 74 65 6c 79 20  |t be completely |
00001e00  73 75 72 65 20 69 74 20  77 69 6c 6c 20 77 6f 72  |sure it will wor|
00001e10  6b 20 6f 6e 20 79 6f 75  72 20 64 69 73 63 2c 20  |k on your disc, |
00001e20  74 6f 6f 2e 20 41 6c 77  61 79 73 20 73 61 76 65  |too. Always save|
00001e30  20 74 68 65 0a 64 61 74  61 20 75 73 69 6e 67 20  | the.data using |
00001e40  74 68 65 20 2d 73 20 6f  70 74 69 6f 6e 20 62 65  |the -s option be|
00001e50  66 6f 72 65 20 74 72 79  69 6e 67 20 74 6f 20 66  |fore trying to f|
00001e60  69 78 20 74 68 65 20 64  69 73 63 20 61 6e 64 20  |ix the disc and |
00001e70  72 65 6d 65 6d 62 65 72  20 74 68 61 74 20 69 74  |remember that it|
00001e80  27 73 0a 67 65 6e 65 72  61 6c 6c 79 20 62 65 74  |'s.generally bet|
00001e90  74 65 72 20 6e 6f 74 20  74 6f 20 66 69 78 20 74  |ter not to fix t|
00001ea0  68 65 20 62 6f 6f 74 62  6c 6f 63 6b 20 28 61 63  |he bootblock (ac|
00001eb0  74 75 61 6c 6c 79 20 69  74 20 69 73 6e 27 74 20  |tually it isn't |
00001ec0  70 6f 73 73 69 62 6c 65  20 77 69 74 68 0a 74 68  |possible with.th|
00001ed0  65 20 75 6e 72 65 67 69  73 74 65 72 65 64 20 76  |e unregistered v|
00001ee0  65 72 73 69 6f 6e 2e 2e  2e 29 2e 0a 41 6e 79 77  |ersion...)..Anyw|
00001ef0  61 79 2c 20 69 66 20 73  6f 6d 65 74 68 69 6e 67  |ay, if something|
00001f00  20 67 6f 65 73 20 77 72  6f 6e 67 2c 20 49 20 61  | goes wrong, I a|
00001f10  6d 20 73 6f 72 72 79 20  66 6f 72 20 79 6f 75 20  |m sorry for you |
00001f20  62 75 74 20 49 20 41 4d  20 4e 4f 54 20 52 45 53  |but I AM NOT RES|
00001f30  50 4f 4e 53 49 42 4c 45  0a 66 6f 72 20 61 6e 79  |PONSIBLE.for any|
00001f40  20 6c 6f 73 73 20 6f 66  20 64 61 74 61 20 6f 6e  | loss of data on|
00001f50  20 79 6f 75 72 20 64 69  73 63 73 2c 20 73 6f 20  | your discs, so |
00001f60  75 73 65 20 68 61 72 64  66 69 78 20 61 74 20 79  |use hardfix at y|
00001f70  6f 75 72 20 6f 77 6e 20  72 69 73 6b 2e 0a 0a 0a  |our own risk....|
00001f80  4c 69 6d 69 74 61 74 69  6f 6e 73 0a 2d 2d 2d 2d  |Limitations.----|
00001f90  2d 2d 2d 2d 2d 2d 2d 0a  0a 49 20 74 68 69 6e 6b  |-------..I think|
00001fa0  20 74 68 61 74 20 68 61  72 64 66 69 78 20 69 73  | that hardfix is|
00001fb0  20 61 62 6c 65 20 74 6f  20 63 75 72 65 20 61 6c  | able to cure al|
00001fc0  6d 6f 73 74 20 65 76 65  72 79 20 27 66 69 78 61  |most every 'fixa|
00001fd0  62 6c 65 27 20 65 72 72  6f 72 20 49 0a 65 78 70  |ble' error I.exp|
00001fe0  65 72 69 65 6e 63 65 64  3a 20 74 68 69 73 20 6d  |erienced: this m|
00001ff0  65 61 6e 73 20 74 68 61  74 20 69 74 20 63 61 6e  |eans that it can|
00002000  6e 6f 74 20 66 69 78 20  61 20 63 6f 6d 70 6c 65  |not fix a comple|
00002010  74 65 6c 79 20 64 61 6d  61 67 65 64 20 64 69 73  |tely damaged dis|
00002020  63 20 28 69 65 2e 20 69  66 0a 62 6f 74 68 20 63  |c (ie. if.both c|
00002030  6f 70 69 65 73 20 6f 66  20 74 68 65 20 6d 61 70  |opies of the map|
00002040  20 61 72 65 20 6f 76 65  72 77 72 69 74 74 65 6e  | are overwritten|
00002050  20 62 79 20 73 6f 6d 65  20 72 61 6e 64 6f 6d 20  | by some random |
00002060  64 61 74 61 20 69 74 20  63 61 6e 27 74 20 64 6f  |data it can't do|
00002070  0a 6e 6f 74 68 69 6e 67  20 61 70 61 72 74 20 66  |.nothing apart f|
00002080  72 6f 6d 20 72 65 73 74  6f 72 69 6e 67 20 61 20  |rom restoring a |
00002090  73 61 76 65 64 20 66 69  6c 65 29 2e 20 4d 61 79  |saved file). May|
000020a0  62 65 20 6f 74 68 65 72  20 74 79 70 65 73 20 6f  |be other types o|
000020b0  66 20 70 6f 73 73 69 62  6c 65 0a 65 72 72 6f 72  |f possible.error|
000020c0  73 20 65 78 69 73 74 2c  20 49 27 6c 6c 20 74 72  |s exist, I'll tr|
000020d0  79 20 74 6f 20 61 64 64  20 61 20 66 69 78 20 66  |y to add a fix f|
000020e0  6f 72 20 74 68 65 6d 20  61 73 20 73 6f 6f 6e 20  |or them as soon |
000020f0  61 73 20 73 6f 6d 65 6f  6e 65 20 77 69 6c 6c 0a  |as someone will.|
00002100  65 6e 63 6f 75 6e 74 65  72 20 74 68 65 6d 2e 0a  |encounter them..|
00002110  0a 68 61 72 64 66 69 78  20 63 61 6e 6e 6f 74 20  |.hardfix cannot |
00002120  6a 6f 69 6e 20 74 77 6f  20 61 64 6a 61 63 65 6e  |join two adjacen|
00002130  74 20 66 72 65 65 20 63  68 75 6e 6b 73 20 62 75  |t free chunks bu|
00002140  74 20 49 20 64 6f 6e 27  74 20 74 68 69 6e 6b 20  |t I don't think |
00002150  74 68 69 73 20 69 73 20  61 0a 70 72 6f 62 6c 65  |this is a.proble|
00002160  6d 2e 20 54 68 69 73 20  6c 69 6d 69 74 61 74 69  |m. This limitati|
00002170  6f 6e 20 63 6f 75 6c 64  20 62 65 20 66 69 78 65  |on could be fixe|
00002180  64 20 69 6e 20 66 75 74  75 72 65 20 76 65 72 73  |d in future vers|
00002190  69 6f 6e 73 2e 0a 0a 53  6f 6d 65 74 69 6d 65 73  |ions...Sometimes|
000021a0  2c 20 69 66 20 74 68 65  20 6d 61 70 20 69 73 20  |, if the map is |
000021b0  76 65 72 79 20 63 6f 72  72 75 70 74 65 64 2c 20  |very corrupted, |
000021c0  79 6f 75 20 77 69 6c 6c  20 6e 65 65 64 20 74 6f  |you will need to|
000021d0  20 72 75 6e 20 68 61 72  64 66 69 78 20 6d 6f 72  | run hardfix mor|
000021e0  65 0a 74 68 61 6e 20 6f  6e 63 65 20 66 6f 72 20  |e.than once for |
000021f0  61 20 63 6f 6d 70 6c 65  74 65 20 66 69 78 2e 0a  |a complete fix..|
00002200  0a 0a 42 75 67 73 0a 2d  2d 2d 2d 0a 0a 68 61 72  |..Bugs.----..har|
00002210  64 66 69 78 20 6d 61 79  20 68 61 76 65 20 70 72  |dfix may have pr|
00002220  6f 62 6c 65 6d 73 20 77  69 74 68 20 52 49 53 43  |oblems with RISC|
00002230  69 58 20 70 61 72 74 69  74 69 6f 6e 65 64 20 64  |iX partitioned d|
00002240  72 69 76 65 73 3a 20 69  66 20 79 6f 75 20 68 61  |rives: if you ha|
00002250  76 65 20 73 75 63 68 20  61 0a 64 72 69 76 65 20  |ve such a.drive |
00002260  61 6e 64 20 69 66 20 68  61 72 64 66 69 78 20 77  |and if hardfix w|
00002270  61 6e 74 73 20 74 6f 20  66 69 78 20 61 20 6d 61  |ants to fix a ma|
00002280  70 20 74 68 61 74 20 73  65 65 6d 73 20 74 6f 20  |p that seems to |
00002290  62 65 20 67 6f 6f 64 20  28 74 72 79 20 43 68 65  |be good (try Che|
000022a0  63 6b 4d 61 70 0a 61 6e  64 20 66 73 63 6b 20 6f  |ckMap.and fsck o|
000022b0  6e 20 69 74 29 20 64 6f  6e 27 74 20 6c 65 74 20  |n it) don't let |
000022c0  69 74 20 77 72 69 74 65  20 74 68 65 20 6d 61 70  |it write the map|
000022d0  20 62 61 63 6b 20 74 6f  20 64 69 73 63 21 0a 0a  | back to disc!..|
000022e0  0a 52 65 73 75 6c 74 73  20 61 63 68 69 65 76 65  |.Results achieve|
000022f0  64 20 75 70 20 74 6f 20  6e 6f 77 0a 2d 2d 2d 2d  |d up to now.----|
00002300  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002310  2d 2d 2d 2d 2d 2d 0a 0a  49 66 20 79 6f 75 20 72  |------..If you r|
00002320  75 6e 20 68 61 72 64 66  69 78 20 6f 6e 20 79 6f  |un hardfix on yo|
00002330  75 72 20 63 6f 72 72 75  70 74 65 64 20 48 44 2c  |ur corrupted HD,|
00002340  20 70 6c 65 61 73 65 20  6c 65 74 20 6d 65 20 6b  | please let me k|
00002350  6e 6f 77 21 20 49 66 20  69 74 20 77 61 73 6e 27  |now! If it wasn'|
00002360  74 0a 61 62 6c 65 20 74  6f 20 66 69 78 20 69 74  |t.able to fix it|
00002370  2c 20 49 27 6c 6c 20 74  72 79 20 74 6f 20 6d 6f  |, I'll try to mo|
00002380  64 69 66 79 20 69 74 20  74 6f 20 63 6f 70 65 20  |dify it to cope |
00002390  77 69 74 68 20 79 6f 75  72 20 70 72 6f 62 6c 65  |with your proble|
000023a0  6d 2e 20 49 66 20 79 6f  75 20 77 61 6e 74 0a 74  |m. If you want.t|
000023b0  6f 20 73 74 61 79 20 61  6e 6f 6e 79 6d 6f 75 73  |o stay anonymous|
000023c0  20 74 65 6c 6c 20 6d 65  20 6e 6f 74 20 74 6f 20  | tell me not to |
000023d0  69 6e 63 6c 75 64 65 20  79 6f 75 72 20 6e 61 6d  |include your nam|
000023e0  65 2e 0a 0a 50 6f 73 69  74 69 76 65 20 72 65 73  |e...Positive res|
000023f0  75 6c 74 73 3a 0a 20 31  29 20 73 6f 6d 65 20 38  |ults:. 1) some 8|
00002400  30 30 4b 20 41 44 46 53  20 66 6c 6f 70 70 79 20  |00K ADFS floppy |
00002410  28 75 73 65 64 20 64 75  72 69 6e 67 20 64 65 76  |(used during dev|
00002420  65 6c 6f 70 6d 65 6e 74  29 2e 0a 20 32 29 20 6d  |elopment).. 2) m|
00002430  79 20 31 36 4d 62 20 49  44 45 20 74 68 61 74 20  |y 16Mb IDE that |
00002440  49 20 64 61 6d 61 67 65  64 20 6a 75 73 74 20 74  |I damaged just t|
00002450  6f 20 73 65 65 20 69 66  20 68 61 72 64 66 69 78  |o see if hardfix|
00002460  20 77 6f 72 6b 65 64 20  6f 6e 20 69 74 21 0a 20  | worked on it!. |
00002470  33 29 20 32 30 33 4d 62  20 49 44 45 2e 20 4f 77  |3) 203Mb IDE. Ow|
00002480  6e 65 72 3a 20 4c 2e 20  44 6f 6d 69 73 73 65 0a  |ner: L. Domisse.|
00002490  20 34 29 20 38 37 4d 62  20 53 43 53 49 20 28 4c  | 4) 87Mb SCSI (L|
000024a0  69 6e 67 65 6e 75 69 74  79 20 69 6e 74 65 72 66  |ingenuity interf|
000024b0  61 63 65 29 2e 20 4f 77  6e 65 72 3a 20 53 2e 20  |ace). Owner: S. |
000024c0  4b 6f 63 6b 0a 20 35 29  20 33 32 37 4d 62 20 53  |Kock. 5) 327Mb S|
000024d0  43 53 49 20 28 41 63 6f  72 6e 20 69 6e 74 65 72  |CSI (Acorn inter|
000024e0  66 61 63 65 29 2e 20 4f  77 6e 65 72 3a 20 43 2e  |face). Owner: C.|
000024f0  20 47 68 65 7a 7a 69 0a  20 36 29 20 38 30 4d 62  | Ghezzi. 6) 80Mb|
00002500  20 53 43 53 49 20 28 4c  69 6e 67 65 6e 75 69 74  | SCSI (Lingenuit|
00002510  79 20 69 6e 74 65 72 66  61 63 65 29 2e 20 4f 77  |y interface). Ow|
00002520  6e 65 72 3a 20 4e 2e 20  42 61 6e 6e 6f 6e 0a 20  |ner: N. Bannon. |
00002530  37 29 20 6d 61 6e 79 20  65 78 70 65 72 69 6d 65  |7) many experime|
00002540  6e 74 73 20 6f 6e 20 6d  79 20 35 34 35 4d 62 20  |nts on my 545Mb |
00002550  49 44 45 20 28 52 69 73  63 20 50 43 29 2c 20 73  |IDE (Risc PC), s|
00002560  6f 20 74 68 61 74 20 6e  6f 77 20 52 49 53 43 20  |o that now RISC |
00002570  4f 53 0a 20 20 20 20 72  65 63 6f 67 6e 69 73 65  |OS.    recognise|
00002580  73 20 69 74 20 61 73 20  61 20 35 34 35 4d 62 20  |s it as a 545Mb |
00002590  64 72 69 76 65 20 65 76  65 6e 20 69 66 20 6f 6e  |drive even if on|
000025a0  6c 79 20 34 30 30 4d 62  20 61 72 65 20 66 6f 72  |ly 400Mb are for|
000025b0  6d 61 74 74 65 64 2e 2e  2e 0a 0a 49 20 64 6f 6e  |matted.....I don|
000025c0  27 74 20 74 68 69 6e 6b  20 74 68 61 74 20 68 61  |'t think that ha|
000025d0  72 64 66 69 78 20 77 69  6c 6c 20 65 76 65 72 20  |rdfix will ever |
000025e0  68 61 76 65 20 61 20 6c  6f 6e 67 20 6c 69 73 74  |have a long list|
000025f0  20 6f 66 20 66 69 78 65  64 20 64 69 73 63 2e 2e  | of fixed disc..|
00002600  2e 0a 0a 4e 65 67 61 74  69 76 65 20 72 65 73 75  |...Negative resu|
00002610  6c 74 73 3a 0a 20 31 29  20 31 31 36 4d 62 20 49  |lts:. 1) 116Mb I|
00002620  44 45 20 28 44 65 73 6b  74 6f 70 20 50 72 6f 6a  |DE (Desktop Proj|
00002630  65 63 74 73 20 69 6e 74  65 72 66 61 63 65 29 2e  |ects interface).|
00002640  20 4f 77 6e 65 72 3a 20  41 2e 44 2e 20 48 6f 64  | Owner: A.D. Hod|
00002650  67 6b 69 6e 73 6f 6e 0a  20 20 20 20 54 72 79 69  |gkinson.    Tryi|
00002660  6e 67 20 74 6f 20 66 69  78 20 74 68 65 20 62 6f  |ng to fix the bo|
00002670  6f 74 62 6c 6f 63 6b 20  28 74 68 65 20 63 68 65  |otblock (the che|
00002680  63 6b 73 75 6d 20 77 61  73 20 77 72 6f 6e 67 2c  |cksum was wrong,|
00002690  20 61 70 70 61 72 65 6e  74 6c 79 20 69 74 20 68  | apparently it h|
000026a0  61 73 0a 20 20 20 20 61  6c 77 61 79 73 20 62 65  |as.    always be|
000026b0  65 6e 20 77 72 6f 6e 67  2e 2e 2e 29 2c 20 74 68  |en wrong...), th|
000026c0  65 20 64 69 73 63 20 77  61 73 20 6d 61 64 65 20  |e disc was made |
000026d0  63 6f 6d 70 6c 65 74 65  6c 79 20 75 6e 72 65 61  |completely unrea|
000026e0  64 61 62 6c 65 2e 20 54  68 65 0a 20 20 20 20 64  |dable. The.    d|
000026f0  69 73 63 20 77 61 73 20  74 68 65 6e 20 66 6f 72  |isc was then for|
00002700  6d 61 74 74 65 64 20 61  6e 64 20 68 61 72 64 66  |matted and hardf|
00002710  69 78 20 77 61 73 20 61  62 6c 65 20 74 6f 20 72  |ix was able to r|
00002720  65 73 74 6f 72 65 20 74  68 65 20 6d 61 70 20 61  |estore the map a|
00002730  6e 64 20 74 68 65 0a 20  20 20 20 72 6f 6f 74 20  |nd the.    root |
00002740  64 69 72 65 63 74 6f 72  79 20 28 73 6f 20 74 68  |directory (so th|
00002750  61 74 20 61 6c 6c 20 74  68 65 20 64 69 73 63 20  |at all the disc |
00002760  63 6f 6e 74 65 6e 74 20  77 61 73 20 72 65 73 74  |content was rest|
00002770  6f 72 65 64 21 29 2e 0a  20 32 29 20 32 31 30 4d  |ored!).. 2) 210M|
00002780  62 20 49 44 45 20 28 52  69 73 63 20 50 43 29 2e  |b IDE (Risc PC).|
00002790  20 4f 77 6e 65 72 3a 20  50 2e 42 2e 20 54 72 79  | Owner: P.B. Try|
000027a0  69 6e 67 20 74 6f 20 66  69 78 20 74 68 65 20 62  |ing to fix the b|
000027b0  6f 6f 74 62 6c 6f 63 6b  2c 20 74 68 65 20 64 65  |ootblock, the de|
000027c0  66 65 63 74 0a 20 20 20  20 6c 69 73 74 20 77 61  |fect.    list wa|
000027d0  73 20 63 6f 72 72 75 70  74 65 64 20 61 6e 64 20  |s corrupted and |
000027e0  74 68 65 20 64 69 73 63  20 62 65 63 61 6d 65 20  |the disc became |
000027f0  63 6f 6d 70 6c 65 74 65  6c 79 20 75 6e 72 65 61  |completely unrea|
00002800  64 61 62 6c 65 2f 75 6e  77 72 69 74 61 62 6c 65  |dable/unwritable|
00002810  2e 0a 20 20 20 20 54 68  69 73 20 70 72 6f 62 6c  |..    This probl|
00002820  65 6d 20 6e 6f 20 6d 6f  72 65 20 6f 63 63 75 72  |em no more occur|
00002830  73 20 69 6e 20 76 65 72  73 69 6f 6e 20 3e 20 31  |s in version > 1|
00002840  2e 30 30 2e 0a 0a 49 20  68 6f 70 65 20 74 68 61  |.00...I hope tha|
00002850  74 20 68 61 72 64 66 69  78 20 77 69 6c 6c 20 6e  |t hardfix will n|
00002860  65 76 65 72 20 68 61 76  65 20 61 20 6c 6f 6e 67  |ever have a long|
00002870  20 6c 69 73 74 20 6f 66  20 66 61 69 6c 75 72 65  | list of failure|
00002880  73 20 74 6f 6f 21 0a 0a  0a 48 69 73 74 6f 72 79  |s too!...History|
00002890  0a 2d 2d 2d 2d 2d 2d 2d  0a 0a 31 2e 30 30 20 20  |.-------..1.00  |
000028a0  2d 2d 20 31 31 20 4f 63  74 20 39 34 0a 46 69 72  |-- 11 Oct 94.Fir|
000028b0  73 74 20 72 65 6c 65 61  73 65 64 20 76 65 72 73  |st released vers|
000028c0  69 6f 6e 2e 0a 0a 31 2e  30 31 20 20 2d 2d 20 30  |ion...1.01  -- 0|
000028d0  35 20 46 65 62 20 39 35  0a 43 75 72 65 64 20 61  |5 Feb 95.Cured a|
000028e0  20 62 75 67 20 74 68 61  74 20 69 6e 20 73 6f 6d  | bug that in som|
000028f0  65 20 63 61 73 65 20 70  72 65 76 65 6e 74 65 64  |e case prevented|
00002900  20 74 6f 20 66 69 78 20  73 6f 6d 65 20 73 74 72  | to fix some str|
00002910  61 6e 67 65 20 63 61 73  65 20 6f 66 20 6c 6f 73  |ange case of los|
00002920  74 20 66 72 65 65 0a 73  70 61 63 65 20 69 6e 20  |t free.space in |
00002930  73 6f 6d 65 20 7a 6f 6e  65 2e 20 57 68 65 6e 20  |some zone. When |
00002940  72 65 73 74 6f 72 69 6e  67 20 74 68 65 20 6d 61  |restoring the ma|
00002950  70 20 69 74 20 74 72 69  65 73 20 6e 6f 74 20 74  |p it tries not t|
00002960  6f 20 72 65 61 64 20 74  68 65 20 64 69 73 63 0a  |o read the disc.|
00002970  73 68 61 70 65 20 66 72  6f 6d 20 74 68 65 20 64  |shape from the d|
00002980  69 73 63 20 69 74 73 65  6c 66 20 28 62 65 63 61  |isc itself (beca|
00002990  75 73 65 20 69 74 20 6d  61 79 20 62 65 20 63 6f  |use it may be co|
000029a0  72 72 75 70 74 65 64 29  20 62 75 74 20 75 73 65  |rrupted) but use|
000029b0  73 20 74 68 65 20 73 61  76 65 64 0a 6f 6e 65 2e  |s the saved.one.|
000029c0  20 52 65 6d 6f 76 65 64  20 74 68 65 20 70 6f 73  | Removed the pos|
000029d0  73 69 62 69 6c 69 74 79  20 74 6f 20 77 72 69 74  |sibility to writ|
000029e0  65 20 74 68 65 20 62 6f  6f 74 62 6c 6f 63 6b 20  |e the bootblock |
000029f0  74 6f 20 64 69 73 63 20  73 69 6e 63 65 20 69 74  |to disc since it|
00002a00  20 63 6f 75 6c 64 20 62  65 0a 64 61 6e 67 65 72  | could be.danger|
00002a10  6f 75 73 2e 20 41 64 64  65 64 20 66 69 78 20 6f  |ous. Added fix o|
00002a20  66 20 74 6f 6f 20 68 69  67 68 20 49 44 20 61 6e  |f too high ID an|
00002a30  64 20 6e 6f 74 20 73 65  63 74 6f 72 2d 61 6c 69  |d not sector-ali|
00002a40  67 6e 65 64 20 6f 62 6a  65 63 74 73 2e 20 46 69  |gned objects. Fi|
00002a50  78 65 64 0a 73 6f 6d 65  20 70 72 6f 62 6c 65 6d  |xed.some problem|
00002a60  20 77 69 74 68 20 52 49  53 43 69 58 20 70 61 72  | with RISCiX par|
00002a70  74 69 74 69 6f 6e 65 64  20 62 6f 6f 74 62 6c 6f  |titioned bootblo|
00002a80  63 6b 73 20 61 6e 64 20  77 69 74 68 20 62 61 64  |cks and with bad|
00002a90  20 64 65 66 65 63 74 20  6c 69 73 74 20 28 6e 6f  | defect list (no|
00002aa0  74 0a 72 65 61 6c 6c 79  20 75 73 65 66 75 6c 20  |t.really useful |
00002ab0  73 69 6e 63 65 20 74 68  65 20 61 62 69 6c 69 74  |since the abilit|
00002ac0  79 20 74 6f 20 66 69 78  20 62 6f 6f 74 62 6c 6f  |y to fix bootblo|
00002ad0  63 6b 73 20 68 61 73 20  62 65 65 6e 20 72 65 6d  |cks has been rem|
00002ae0  6f 76 65 64 21 29 2e 20  41 64 64 65 64 0a 66 69  |oved!). Added.fi|
00002af0  78 20 6f 66 20 72 6f 6f  74 20 61 64 64 72 65 73  |x of root addres|
00002b00  73 20 61 6e 64 20 72 6f  6f 74 20 72 65 73 65 72  |s and root reser|
00002b10  76 65 64 20 62 79 74 65  73 2e 0a 0a 31 2e 30 32  |ved bytes...1.02|
00002b20  20 20 2d 2d 20 31 32 20  4a 75 6e 20 39 35 0a 46  |  -- 12 Jun 95.F|
00002b30  69 78 65 64 20 64 65 66  65 63 74 20 6c 69 73 74  |ixed defect list|
00002b40  20 63 68 65 63 6b 73 75  6d 20 63 61 6c 63 75 6c  | checksum calcul|
00002b50  61 74 69 6f 6e 20 74 68  61 74 20 77 61 73 20 62  |ation that was b|
00002b60  72 6f 6b 65 6e 20 69 66  20 74 68 65 72 65 20 77  |roken if there w|
00002b70  61 73 20 6f 6e 6c 79 20  6f 6e 65 0a 64 65 66 65  |as only one.defe|
00002b80  63 74 2e 20 49 6d 70 72  6f 76 65 64 20 68 61 6e  |ct. Improved han|
00002b90  64 6c 69 6e 67 20 6f 66  20 6e 6f 6e 2d 41 44 46  |dling of non-ADF|
00002ba0  53 20 70 61 72 74 69 74  69 6f 6e 65 64 20 64 69  |S partitioned di|
00002bb0  73 63 73 2e 0a 0a 31 2e  31 30 20 20 2d 2d 20 30  |scs...1.10  -- 0|
00002bc0  33 20 4a 61 6e 20 39 36  0a 41 64 64 65 64 20 63  |3 Jan 96.Added c|
00002bd0  6f 64 65 2d 62 61 73 65  64 20 75 73 65 72 20 72  |ode-based user r|
00002be0  65 67 69 73 74 72 61 74  69 6f 6e 2e 20 41 64 64  |egistration. Add|
00002bf0  65 64 20 63 68 65 63 6b  20 66 6f 72 20 6c 61 73  |ed check for las|
00002c00  74 20 6f 62 6a 65 63 74  20 69 6e 20 7a 6f 6e 65  |t object in zone|
00002c10  20 74 6f 6f 0a 6c 6f 6e  67 2e 20 41 64 64 65 64  | too.long. Added|
00002c20  20 73 75 70 70 6f 72 74  20 66 6f 72 20 27 62 69  | support for 'bi|
00002c30  67 27 20 64 69 73 63 73  20 28 72 65 67 69 73 74  |g' discs (regist|
00002c40  65 72 65 64 20 76 65 72  73 69 6f 6e 20 6f 6e 6c  |ered version onl|
00002c50  79 29 2e 0a 0a 0a 43 72  65 64 69 74 73 0a 2d 2d  |y)....Credits.--|
00002c60  2d 2d 2d 2d 2d 0a 0a 49  27 64 20 6c 69 6b 65 20  |-----..I'd like |
00002c70  74 6f 20 74 68 61 6e 6b  20 74 68 65 20 66 6f 6c  |to thank the fol|
00002c80  6c 6f 77 69 6e 67 20 70  65 6f 70 6c 65 20 77 68  |lowing people wh|
00002c90  6f 20 63 6f 6e 74 69 62  75 74 65 64 20 69 6e 20  |o contibuted in |
00002ca0  73 6f 6d 65 20 77 61 79  20 74 6f 20 74 68 65 0a  |some way to the.|
00002cb0  64 65 76 65 6c 6f 70 6d  65 6e 74 20 6f 66 20 68  |development of h|
00002cc0  61 72 64 66 69 78 20 28  69 6e 20 61 6c 70 68 61  |ardfix (in alpha|
00002cd0  62 65 74 69 63 61 6c 20  6f 72 64 65 72 29 3a 0a  |betical order):.|
00002ce0  2d 20 4c 61 75 72 65 6e  74 20 44 6f 6d 69 73 73  |- Laurent Domiss|
00002cf0  65 20 77 68 6f 20 70 75  73 68 65 64 20 6d 65 20  |e who pushed me |
00002d00  74 6f 20 77 72 69 74 65  20 74 68 69 73 20 70 72  |to write this pr|
00002d10  6f 67 72 61 6d 20 74 6f  20 66 69 78 20 68 69 73  |ogram to fix his|
00002d20  20 75 6e 72 65 61 64 61  62 6c 65 0a 20 20 64 69  | unreadable.  di|
00002d30  73 63 20 28 61 6e 64 20  74 68 65 6e 20 75 6e 77  |sc (and then unw|
00002d40  72 69 74 61 62 6c 65 2c  20 74 6f 6f 21 29 0a 2d  |ritable, too!).-|
00002d50  20 48 61 6e 73 20 4f 6c  65 20 52 61 66 61 65 6c  | Hans Ole Rafael|
00002d60  73 65 6e 20 77 68 6f 20  74 72 69 65 64 20 68 61  |sen who tried ha|
00002d70  72 64 66 69 78 20 6f 6e  20 31 2e 36 4d 62 20 66  |rdfix on 1.6Mb f|
00002d80  6c 6f 70 70 69 65 73 2e  0a 0a 0a 43 6f 6e 64 69  |loppies....Condi|
00002d90  74 69 6f 6e 73 20 6f 66  20 75 73 65 0a 2d 2d 2d  |tions of use.---|
00002da0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 0a  |--------------..|
00002db0  68 61 72 64 66 69 78 20  63 61 6e 20 6f 6e 6c 79  |hardfix can only|
00002dc0  20 62 65 20 64 69 73 74  72 69 62 75 74 65 64 20  | be distributed |
00002dd0  77 69 74 68 20 74 68 65  20 63 6f 6d 70 6c 65 74  |with the complet|
00002de0  65 20 66 73 63 6b 20 73  75 69 74 65 2e 0a 52 65  |e fsck suite..Re|
00002df0  61 64 20 74 68 65 20 21  53 48 41 52 45 57 41 52  |ad the !SHAREWAR|
00002e00  45 20 66 69 6c 65 20 66  6f 72 20 74 68 65 20 63  |E file for the c|
00002e10  6f 6e 64 69 74 69 6f 6e  73 20 6f 66 20 75 73 65  |onditions of use|
00002e20  20 61 6e 64 20 64 69 73  74 72 69 62 75 74 69 6f  | and distributio|
00002e30  6e 20 6f 66 20 74 68 65  0a 77 68 6f 6c 65 20 70  |n of the.whole p|
00002e40  61 63 6b 61 67 65 2e 0a  0a 0a 43 6f 6e 74 61 63  |ackage....Contac|
00002e50  74 69 6e 67 20 74 68 65  20 41 75 74 68 6f 72 0a  |ting the Author.|
00002e60  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00002e70  2d 2d 2d 2d 2d 0a 0a 50  6f 73 74 3a 20 20 53 65  |-----..Post:  Se|
00002e80  72 67 69 6f 20 4d 6f 6e  65 73 69 0a 20 20 20 20  |rgio Monesi.    |
00002e90  20 20 20 56 69 61 20 54  72 65 6e 74 6f 20 65 20  |   Via Trento e |
00002ea0  54 72 69 65 73 74 65 20  33 30 0a 20 20 20 20 20  |Trieste 30.     |
00002eb0  20 20 32 30 30 34 36 20  42 69 61 73 73 6f 6e 6f  |  20046 Biassono|
00002ec0  20 28 4d 49 29 0a 20 20  20 20 20 20 20 49 74 61  | (MI).       Ita|
00002ed0  6c 79 0a 0a 45 4d 61 69  6c 3a 20 70 65 6c 30 30  |ly..EMail: pel00|
00002ee0  31 35 40 63 64 63 38 67  35 2e 63 64 63 2e 70 6f  |15@cdc8g5.cdc.po|
00002ef0  6c 69 6d 69 2e 69 74 0a  20 20 20 20 20 20 20 73  |limi.it.       s|
00002f00  65 72 67 69 6f 40 66 72  65 65 62 73 64 2e 66 69  |ergio@freebsd.fi|
00002f10  72 73 74 2e 67 6d 64 2e  64 65 0a 0a 57 57 57 3a  |rst.gmd.de..WWW:|
00002f20  20 20 20 68 74 74 70 3a  2f 2f 63 64 63 38 67 35  |   http://cdc8g5|
00002f30  2e 63 64 63 2e 70 6f 6c  69 6d 69 2e 69 74 2f 7e  |.cdc.polimi.it/~|
00002f40  70 65 6c 30 30 31 35 2f  0a                       |pel0015/.|
00002f49