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

Fsck_130/fsck_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/fsck_help
Read OK:
File size: 56B8 bytes
Load address: 0000
Exec address: 0000
File contents
fsck (1.30) - map fixer and analyst

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

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


Index
-----

- Usage
- What it does
- The logfile
- fsck and Risc PC
- fsck and 'big' discs
- Return values
- Notes
- Extra features
- Disclaimer
- Limitations
- Bugs
- Results achieved up to now
- History
- Credits
- Conditions of use
- Contacting the Author


Usage
-----

fsck [-options] [-d lostdir] [-l logfile] [pathname]
Most used options:
  -s   calculate statistics
  -f   try to fix map if broken
  -l   print the results in "logfile"
Less used options:
  -h   print help informations
  -d   link broken part of map in directory "lostdir"
  -v   print files location (-vv print also files position in zones)
  -D   just display disc information recorded in the map header
  -q   don't display disc information (quiet mode)
  -c   produce output like *CheckMap
  -m   ask the user to eventually move files instead of changing map
  -n   don't try to recognise directories

The default directory where files are linked is "$.lost+found".
If 'pathname' is not specified, the current disc is analysed.
If 'pathname' is not a root directory (eg. ADFS::0.$.Library), fsck checks
only that directory and so it cannot tell you if the map is good or broken.
This could be useful if you want to know the statistics of a single directory
instead of the whole disc. If the -f option is used, the disc is scanned from
the root directory, regardless of 'pathname'.
The -m and -n options used together cause fsck 1.20 or later to work like
fsck 1.13 or earlier.


What it does
------------

fsck scans the directory tree and checks the map to see if every file
registered in the map actually exists in a directory. If not, it creates that
file in a directory so that you will be able to delete it in the normal way.
If the file was originally a directory, fsck tries to relink it,
reconstructing the directory name and content. Even if you want to keep the
relinked files or directories, you should copy them and delete the original
one, because there is the risk that your map will be corrupted again,
especially if you try to change them.
Apart from directories and their content, the re-linked files are usually
longer than the original lost file because fsck always links whole sectors
(and there is no way to know the original length), their filenames are random
and filetypes are always &FFF (Text).

Using the -m option, fsck could tell you that an ID is regularly allocated
for another file and you have to delete it (moving the file to another
directory isn't enough, you have to copy it and delete the original) and run
fsck again. Without this option, fsck will change the ID in the map and
rewrite it to disc. The -m option is in fact only useful if you prefer not to
modify your map: anyway, remember that moving files on a corrupted disc can
be quite dangerous and can eventually corrupt other parts of the disc.
Sometimes the disc may be so corrupted that you will need to run fsck more
than once, the program itself will tell you if a re-run is needed.


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
fsck, the logfile is usually enough!
The logfile contains exactly what it is printed to the screen: unless you use
the -v option it will be really small (nearly 2K on a good map or nearly 10K
on a quite corrupted one).
You cannot save the logfile to the disc being analysed.
If a file with the same name as 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.


fsck and Risc PC
----------------

fsck and CheckMap are no more equivalent on Risc PCs! In fact, Acorn changed
some behaviour of the FileCore module in RISC OS 3.50 so that it can now cope
with over-allocated files (ie. files that have allocated more space than they
need). This sort of files on older versions of RISC OS causes CheckMap to say
"Map inconsistent" and if you try to delete such files you will lose some
space. On RISC OS 3.50 (or later) CheckMap no longer says "Map inconsistent"
if over-allocated files are the only map problem and deleting them no longer
causes lost space. Compliment Acorn!
fsck still reports map corruptions in this case (on every version of RISC OS)
since an over-allocated file can be considered a problem (think of a 100K
file that uses up 10Mb of disc space and you will understand what I mean!).
Anyway, on a Risc PC, using the -m option you are able to discover such
files and you can fix the disc (assuming that your map is corrupted only
because of over-allocated files) by just moving them.
Remember that using the -f option fsck can cure the disc without moving any
file on every version of RISC OS.


fsck and 'big' discs
--------------------

In RISC OS 3.60 Acorn included a new version of the FileCore module that
supports 'big' discs (ie discs larger than 512Mb).
Only the registered version of fsck (version 1.30 or later) fully supports
this new FileCore, unregistered versions will just report a message when
running on 'big' discs.


Return values
-------------

This paragraph will be interesting only for programmers who want to write a
program/frontend which has to interface with fsck.

fsck returns to RISC OS a value that is 0 only if fsck was able to scan the
disc and the map is good, otherwise it returns 1.
fsck also sets the numeric system variable fsck$ReturnCode to a value that
can be more helpful in determining why fsck failed, or 0 if the map was good.
The value is formed by the following bits:

enum {
  return_MAPGOOD          = 0x00000000,   /* the map is good (!) */

  return_MAP_BROKEN       = 0x00000001,   /* the map is broken, fsck -f should fix it */
  return_MAP_FIXED        = 0x00000002,   /* the map was broken but has been fixed */
  return_MAP_UNFIXABLE    = 0x00000004,   /* the map seems to be unfixable... */
  return_ONLY_MOVE_FILES  = 0x00000008,   /* the map is corrupted but RISC OS 3.50 or later is able to fix it moving some file */
  return_NEED_ELIMINATE   = 0x00000010,   /* need eliminate to fix the map */
  return_NEED_HARDFIX     = 0x00000020,   /* need hardfix to fix the map */
  return_NO_ACTION        = 0x00000100,   /* no useful action performed (eg. fsck -h) */
  return_PARAM_ERROR      = 0x00000200,   /* bad input parameters */
  return_WRONG_FS         = 0x00000400,   /* wrong file system name, disc name, number, etc. */
  return_IO_ERROR         = 0x00000800,   /* error while reading/writing disc, directories, etc. */
  return_MEMORY_FULL      = 0x00001000    /* not enough free memory */
};

You can expect that every possible combination of these values is returned
(ie. &30 means that both 'eliminate' and 'hardfix' are needed) even if
generally only one error number is returned.
If you are writing a 'C' program that has to call fsck you can use something
like this:

 if (system("fsck ...")==0) {
   /* map good */
 }
 else {
   /* some problem occurred (not necessairily map broken!) */
   /* check fsck$ReturnCode for more informations */
 }

If you don't want to (or can't) check the return status you can just check
the value of fsck$ReturnCode.


Notes
-----

fsck is 20-30% faster than CheckMap (actually, up to 50% faster on big and
full drives!). If you really like CheckMap's output instead of fsck's one,
you can use the -c option so that fsck will print the directory tree as it
proceeds with the scan. You can eventually include the following alias in
your boot sequence so that you can still write 'CheckMap' even if 'fsck' is
the command actually executed (fsck should be reachable via Run$Path, for
example, put it in the Library directory):
Set Alias$CheckMap "fsck -c "       [try "fsck -s " for a more useful output]

Anyway, fsck can also be used to show the "Free space chunks
statistics" or to calculate some statistics about the files allocation using
the -s option (not in conjunction with -c, though).
The "Free space chunks statistics" are always shown unless the -q or -c
options have been specified: in general, with a high number of (small) free
space chunks, RISC OS will be slower when saving files because it will try to
do an auto-Compact and (this is my personal opinion) there will be more
possibility that your disc will become corrupted. So, I think that in this
case you need to Compact your disc, eventually more than once, to try to
lower the number of free space chunks and to increase their size.

Remember that it is better if you close all the open files on the disc that
fsck is examining (ie. don't *spool on it!!). If you run fsck in a TaskWindow
remember to avoid any saving of data on that disc while fsck is running
because this will have VERY VERY DANGEROUS consequences if you use the -f
option!!!

If some file is corrupted, fsck will tell you to eliminate it before trying
to fix the disc (if you were already trying to fix the disc the fixing will be
disabled): before this, try to load the file and if RISC OS doesn't hang you
could be able to save the file somewhere before deleting the original.

It is possible to relink the files directly in the root directory: to do so,
just specify '$' as relink directory using the -d option. This features
should only be used if you can't use any other directory (eg the disc is full
and there are no directories on it!) since this may be potentially dangerous.


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

Registered versions will support 'big' discs (see the "fsck and 'big' discs"
section) while the unregistered version will refuse to work on them.

No special features code is currently recognised.


Disclaimer
----------

Even if fsck *can* write to the map, this is generally not dangerous since it
only modifies the IDs of the lost files. Anyway, you are advised to use
hardfix to save the disc data before using fsck, so that you will be able to
restore it in case something goes wrong. If the relinked files are (for some
mysterious reason) unreadable or undeletable you should just use eliminate on
them and your disc should be as corrupted as before.

Anyway, modifying the disc map and the directory tree can always be
dangerous: if fsck corrupts your disc (or if the disc becomes corrupted when
you start writing to it after using fsck), I am sorry for you but I AM NOT
RESPONSIBLE for any loss of data on your discs, so use fsck at your own risk.
As you can see from the list below, fsck worked on many discs and it never
corrupted anything. Sometimes, I intentionally corrupt my disc to see if the
new versions work and have never experienced any problem!

Finally, remember that unless you specify the -f option, fsck will not write
to your disc and you are encouraged to make a backup copy of your important
data and to save the disc data using hardfix before running fsck -f.


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

fsck can't fix seriously damaged discs alone: in this case it will ask you to
run eliminate or hardfix to fix what it can't.

fsck doesn't fix discs that contain two (or more) files with the same SIN. In
this case *CheckMap will hang while fsck will just report "Map good".


Bugs
----

Sometimes, on heavily damaged discs, you need to run fsck more than once even
if it doesn't tell you to do so.

fsck could have problems with RISCiX partitioned discs: it works with the
RISCiX partitioned discs I tried it on, but I cannot be sure it will work on
yours, too. If you have such a disc and fsck reports strange errors (or says
to run hardfix to fix it) please mail me the logfile and (more important) the
disc data saved by hardfix.


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

I wanted to maintain a list of disc successfully fixed by fsck so that people
could see that it actually worked on someone's disc: now this list is grown
and contains a lot of different configurations so I think I'll stop adding
new discs to it (although I'll add any 'Negative result'). However, I'd like
to add any other 'strange' configuration (especially Risc PC 700!), if you
have one and fsck fixed your disc, let me know.

Positive results:
 1) some 800K ADFS floppy (used during development).
 2) 100Mb IDE (ICS interface) partitioned in 84Mb/16Mb (both partitions
    fixed). Owner: Sergio Monesi (ie. me!)
 3) 100Mb IDE (ICS interface). Owner: Cristian Ghezzi
 4) 314Mb SCSI (Serial Port Alpha SCSI interface). Owner: K. Bailey
 5) 60Mb IDE (A4 portable). Owner: G. Castagno
 6) 48Mb SCSI (Oak 16 Bit interface). Owner: A.M. Baardholt
 7) 40Mb ST506. Owner: A. Goodfellow
 8) 80Mb IDE (A5000). Owner: Julian Wright
 9) 240Mb SCSI (HCCS 8 bit interface) partitioned in 2*120Mb. Owner: Kai
    Schlichting.
10) 245Mb IDE (A5000). Owner: H. M.
11) 80Mb IDE (A5000). Owner: Mike Henry
12) 121Mb SCSI (Lingenuity SCSI interface). Owner: R. Z.
13) 100Mb SCSI (Oak interface). Owner: JP Hendrix
14) 60Mb IDE (A4 portable). Owner: J. Wallace
15) 122Mb SCSI (Atomwide Parallel/SCSI interface). Owner: J. Wallace
16) 80Mb IDE (A5000). Owner: P. Callan
17) 240Mb SCSI (Morley Cached interface). Owner: P. Callan
18) 80Mb SCSI (Morley Cached interface). Owner: P. Callan
19) Some 45Mb Syquest Removable cartridges. Owner: P. Callan (this poor dude
    has a lot of discs, all of them were broken, now successfully fixed!!)
20) 40Mb ST506. Owner: G. Riley
21) 40Mb IDE (Serial Port interface). Owner: G. Riley
22) 40Mb ST506. Owner: M. Ferrari
23) 240Mb IDE (A5000). Owner: E. Pfarr
24) 200Mb SCSI. Owner: S. Williams
25) 500Mb SCSI. Owner: S. Williams
26) 314Mb SCSI (Morley interface). Owner: Cy Booker
27) 60Mb IDE (A4 portable). Owner: M. Stephens
28) 105Mb SCSI (HCCS 8 bit interface). Owner. S. Huber
29) 20Mb IDE (Watford interface). Owner: S. Pollard
30) 57Mb SCSI (Lingenuity interface). Owner: M. Grimminck
31) 170Mb IDE (A5000). Owner: M. Ebourne
32) 40Mb ST506. Owner: M. Attenborough
33) 120Mb IDE (ICS interface). Owner: J. Haslam
34) 170Mb SCSI (Oak 16 Bit interface). Owner: P. Spencer
35) 116Mb IDE (Desktop Projects interface). Owner: A.D. Hodgkinson
36) 420Mb IDE (A5000). Owner: E. Pronk
37) 210Mb IDE (Risc PC). Owner: E. Hughes
38) 105Mb IDE (ICS interface). Owner: C. Whitehead
39) 200Mb SCSI (Acorn Interface). Owner: A. Malara
40) 850Mb IDE (Risc PC 700). Owner: P. Hedderly
[...]

Negative results:
 No negative results till now.


History
-------

1.00  -- 07 Apr 94
First fully working version. Released only via e-mail.

1.01  -- 13 Apr 94
Fixed a bug concerning filing system names. Added -D option. Now fsck
generally needs only one run to fix a heavily corrupted disc. Added eliminate
program.

1.02  -- 20 Apr 94
Changed again the method to check filing system names (Thanks to Keith
Bailey). Added percentages in statistics. Checks boot block checksum and
shows defect list.

1.03  -- 26 Apr 94
Now it is possible to scan a single directory instead of the whole disc. You
can specify 'relative' pathnames (eg. @.Examples) instead of full paths
(Thanks to Julian Wright). At the end of the scan fsck will tell you which
files should be eventually deleted. Added statistics about fragmented files
and free blocks sizes. Changed the 'F's and 'D's with a rotating wheel...
Added -q and -l options.

1.04  -- ?? May 94
Cured a serious bug that has always been present but never caused problems
(until 1.03). Added ImageFSFix check and -I option. Now fsck understands
RISCiX partitions.

1.10  -- 11 May 94
RISCiX partitions are now fully supported (ie. mapped out). First version
distributed as SHAREWARE.

1.11  -- ?? Jun 94
Added -a option. The logfile is appended to the end of the file if it already
exists and now it contains the creation date. Great speed increase (up to 2
times faster without -s and 5 times faster with -s!!!). Now fsck is just 25%
slower than *CheckMap (or 2 times slower with -s)! Added the note about "Free
space chunks statistics" (see the section Notes).

1.12  -- 12 Jun 94
Another speed improvement (just 10%)! fsck isn't yet as fast as *CheckMap but
I'm working on it ;-) Fixed a possible dangerous behaviour of -a option.
Added a warning for HD boot blocks marked as defect. Slowed down the wheel.
Added files MapExpl and StatsHelp.

1.13  -- 26 Jun 94
Faster again (15% with -s, 3% without)!! Now statistics are just a bit slower
than normal mode. Automatic creation of lostdir. More messages at the end of
the process that can help to understand what happened (ie. the disc is fixed,
fixable, unfixable, etc.) and more helpful error messages (no more "Can't
find 'AD::0.$': incorrect FS") if the floppy drive is empty!

1.20  -- 11 Oct 94
Completely rewritten! As you would expect: *FASTER* (this is probably the
maximum achievable speed with the structure of fsck, so don't expect further
significant improvements!). Now fsck is 20-30% faster than *CheckMap, even
with statistics enabled! Directory recognition added (see the "What it does"
section). No more files to move (so many people complained about this)! Added
-m and -n options to 'simulate' 1.13 version. Added -c option to simulate
CheckMap (!). Removed the obsolescent -a option. Fixed problems with
ImageFSFix module and removed -I option. If some file has allocation
problems, the name of the file is reported together with the error, so that
you can use 'eliminate' to remove it. Fixed a lot of bugs, some more sensible
messages and more consistent way to print some value. Added new statistics
about files that must be fragmented. Modified command line behaviour: if no
'pathname' is given, fsck scans the current disc (as CheckMap does). Added
'hardfix' program. Added '!QuickFix' and '!Intro' files. Modified most of
this help file, removed the "Can a serious filing system corrupt discs?"
section that contained only my (debatable) opinions and added "fsck and Risc
PC" section.

1.21  -- 05 Feb 95
Fixed some minor bug and added some error trapping. Added and documented a
sensible return code and the system variable fsck$ReturnCode. Fixed some bugs
in the directory relinking feature.

1.22  -- 12 Jun 95
Fixed bug that caused problems when relinking directories that share sectors
with other files to relink. Fixed problems related to non-ADFS partitions.
Fixed a bug that caused wrong IDs to be relinked in very infrequent cases.
Removed the limit on the number of IDs to relink (ie. no more "Too many IDs
to relink" errors).

1.30  -- 03 Jan 96
Added code-based user registration. Stopped maintaintaining list of fixed
discs since it was growing too much! Added support for 'big' discs
(registered version only). Now files with file ID of 2 are checked (I didn't
know they could exist!). Report an error on files with sector offset too big
(need to be eliminated). Fixed bug that sometimes caused two directories to
be relinked with the same name. Added possibility to relink files in the root
directory specifying '$' as relink directory using the -d option (although
this is not really recommended!). No more try to report RISCiX partitions if
the disc is just badly formatted... Using both -s and -v now gives sensible
results! fsck now says to use 'hardfix' if the root directory is broken, not
'eliminate'!


Credits
-------

I'd like to thank the following people who contibuted in some way to the
development of fsck (in alphabetical order):
- Keith Bailey who discovered that the first 3 versions of fsck were
  completely useless on his SCSI!! The 4th version finally fixed his
  map problems (twice!). Thanks for the comment about the clock too! :-)
- Nick Craig-Wood for the usercode functions and for some piece of text (or
  just some stylistic adjustment) used in the documents (eg the new
  "Conditions of use" in the '!SHAREWARE' file).
- Martin J. Ebourne for his (initially negative but now generally positive)
  comments and support.
- Cristian Ghezzi who let me play with his RISCiX partitioned SCSI for a
  whole day to discover some stupid fsck bug. He also let me intentionally
  corrupt his ST506 disc to test the new directory recognition feature...
- Adam Goodfellow and Atle Mjelde Baardholt for the beta-testing.
- Mike Henry who has been the first who sent me some pounds to register
  (actually he sent me 10 pounds instead of the 5 I ask!).
- Brian Howlett for correcting a bit my English grammar!
- Simon Middleton who pushed me to finish the new version (1.20) so that he
  could include it in his PD/ShareWare CD-ROM.
- Dag Haakon Myrdal for his suggestions and accurate bug report.
- Simon Proven for the informations about 'big' discs.
- Hans Ole Rafaelsen who tried fsck on 1.6Mb floppies.
- George Saliaris... he knows for what! :-)
- Kai Schlichting who said that fsck was one of the most useful 'Unix ports'
  for RISC OS, a program that the Acorn world really needed. Kai has been
  the first who sent me 'something' to register!
- Andreas Schubert (Platon) who tried fsck on his Risc PC.
- Jason Williams (and all the other collaborators) for DeskLib: the new
  versions of fsck use some small part of DeskLib and the new sources
  structure is really similar to DeskLib's one.
- Julian Wright for his beta-testing, suggestions, PRM docs, bugs-report and
  interest.


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

fsck 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  66 73 63 6b 20 28 31 2e  33 30 29 20 2d 20 6d 61  |fsck (1.30) - ma|
00000010  70 20 66 69 78 65 72 20  61 6e 64 20 61 6e 61 6c  |p fixer and anal|
00000020  79 73 74 0a 0a 4e 4f 54  45 3a 20 74 68 69 73 20  |yst..NOTE: this |
00000030  70 72 6f 67 72 61 6d 20  69 73 20 53 48 41 52 45  |program is SHARE|
00000040  57 41 52 45 2e 20 52 65  61 64 20 74 68 65 20 21  |WARE. Read the !|
00000050  53 48 41 52 45 57 41 52  45 20 66 69 6c 65 20 66  |SHAREWARE file f|
00000060  6f 72 20 6d 6f 72 65 20  69 6e 66 6f 2e 0a 0a 66  |or more info...f|
00000070  73 63 6b 20 69 73 20 61  20 64 69 73 63 20 75 74  |sck is a disc ut|
00000080  69 6c 69 74 79 20 74 68  61 74 20 66 69 78 65 73  |ility that fixes|
00000090  20 74 68 65 20 6d 61 70  20 6f 66 20 61 6e 20 45  | the map of an E|
000000a0  2d 46 6f 72 6d 61 74 20  64 69 73 63 20 28 68 61  |-Format disc (ha|
000000b0  72 64 20 6f 72 0a 66 6c  6f 70 70 79 29 20 69 66  |rd or.floppy) if|
000000c0  20 69 74 20 69 73 20 63  6f 72 72 75 70 74 65 64  | it is corrupted|
000000d0  20 66 6f 72 20 73 6f 6d  65 20 6f 62 73 63 75 72  | for some obscur|
000000e0  65 20 72 65 61 73 6f 6e  2e 20 66 73 63 6b 20 63  |e reason. fsck c|
000000f0  61 6e 20 61 6c 73 6f 20  72 65 70 6f 72 74 0a 73  |an also report.s|
00000100  6f 6d 65 20 69 6e 66 6f  72 6d 61 74 69 6f 6e 20  |ome information |
00000110  61 62 6f 75 74 20 74 68  65 20 77 61 79 20 74 68  |about the way th|
00000120  65 20 66 69 6c 65 73 20  61 72 65 20 61 6c 6c 6f  |e files are allo|
00000130  63 61 74 65 64 20 28 73  75 63 68 20 61 73 20 74  |cated (such as t|
00000140  68 65 20 62 79 74 65 73  0a 6c 6f 73 74 20 62 65  |he bytes.lost be|
00000150  63 61 75 73 65 20 6f 66  20 73 65 63 74 6f 72 20  |cause of sector |
00000160  62 6f 75 6e 64 61 72 69  65 73 29 20 61 6e 64 20  |boundaries) and |
00000170  65 76 65 6e 74 75 61 6c  6c 79 20 70 72 69 6e 74  |eventually print|
00000180  20 61 20 64 65 74 61 69  6c 65 64 0a 64 65 73 63  | a detailed.desc|
00000190  72 69 70 74 69 6f 6e 20  6f 66 20 74 68 65 20 6d  |ription of the m|
000001a0  61 70 20 61 6e 64 20 64  69 72 65 63 74 6f 72 69  |ap and directori|
000001b0  65 73 20 6f 72 67 61 6e  69 7a 61 74 69 6f 6e 2e  |es organization.|
000001c0  0a 66 73 63 6b 20 63 61  6e 20 61 6c 73 6f 20 62  |.fsck can also b|
000001d0  65 20 63 6f 6e 73 69 64  65 72 65 64 20 61 73 20  |e considered as |
000001e0  61 20 72 65 70 6c 61 63  65 6d 65 6e 74 20 6f 66  |a replacement of|
000001f0  20 74 68 65 20 2a 43 68  65 63 6b 4d 61 70 20 63  | the *CheckMap c|
00000200  6f 6d 6d 61 6e 64 20 62  65 63 61 75 73 65 0a 69  |ommand because.i|
00000210  74 20 69 73 20 66 61 73  74 65 72 2c 20 6c 65 73  |t is faster, les|
00000220  73 20 70 72 6f 6e 65 20  74 6f 20 63 72 61 73 68  |s prone to crash|
00000230  20 61 6e 64 20 63 61 6e  20 67 69 76 65 20 75 73  | and can give us|
00000240  65 66 75 6c 20 69 6e 66  6f 72 6d 61 74 69 6f 6e  |eful information|
00000250  73 20 6f 6e 20 74 68 65  0a 66 69 6c 65 73 20 61  |s on the.files a|
00000260  6c 6c 6f 63 61 74 69 6f  6e 2e 0a 0a 0a 49 6e 64  |llocation....Ind|
00000270  65 78 0a 2d 2d 2d 2d 2d  0a 0a 2d 20 55 73 61 67  |ex.-----..- Usag|
00000280  65 0a 2d 20 57 68 61 74  20 69 74 20 64 6f 65 73  |e.- What it does|
00000290  0a 2d 20 54 68 65 20 6c  6f 67 66 69 6c 65 0a 2d  |.- The logfile.-|
000002a0  20 66 73 63 6b 20 61 6e  64 20 52 69 73 63 20 50  | fsck and Risc P|
000002b0  43 0a 2d 20 66 73 63 6b  20 61 6e 64 20 27 62 69  |C.- fsck and 'bi|
000002c0  67 27 20 64 69 73 63 73  0a 2d 20 52 65 74 75 72  |g' discs.- Retur|
000002d0  6e 20 76 61 6c 75 65 73  0a 2d 20 4e 6f 74 65 73  |n values.- Notes|
000002e0  0a 2d 20 45 78 74 72 61  20 66 65 61 74 75 72 65  |.- Extra feature|
000002f0  73 0a 2d 20 44 69 73 63  6c 61 69 6d 65 72 0a 2d  |s.- Disclaimer.-|
00000300  20 4c 69 6d 69 74 61 74  69 6f 6e 73 0a 2d 20 42  | Limitations.- B|
00000310  75 67 73 0a 2d 20 52 65  73 75 6c 74 73 20 61 63  |ugs.- Results ac|
00000320  68 69 65 76 65 64 20 75  70 20 74 6f 20 6e 6f 77  |hieved up to now|
00000330  0a 2d 20 48 69 73 74 6f  72 79 0a 2d 20 43 72 65  |.- History.- Cre|
00000340  64 69 74 73 0a 2d 20 43  6f 6e 64 69 74 69 6f 6e  |dits.- Condition|
00000350  73 20 6f 66 20 75 73 65  0a 2d 20 43 6f 6e 74 61  |s of use.- Conta|
00000360  63 74 69 6e 67 20 74 68  65 20 41 75 74 68 6f 72  |cting the Author|
00000370  0a 0a 0a 55 73 61 67 65  0a 2d 2d 2d 2d 2d 0a 0a  |...Usage.-----..|
00000380  66 73 63 6b 20 5b 2d 6f  70 74 69 6f 6e 73 5d 20  |fsck [-options] |
00000390  5b 2d 64 20 6c 6f 73 74  64 69 72 5d 20 5b 2d 6c  |[-d lostdir] [-l|
000003a0  20 6c 6f 67 66 69 6c 65  5d 20 5b 70 61 74 68 6e  | logfile] [pathn|
000003b0  61 6d 65 5d 0a 4d 6f 73  74 20 75 73 65 64 20 6f  |ame].Most used o|
000003c0  70 74 69 6f 6e 73 3a 0a  20 20 2d 73 20 20 20 63  |ptions:.  -s   c|
000003d0  61 6c 63 75 6c 61 74 65  20 73 74 61 74 69 73 74  |alculate statist|
000003e0  69 63 73 0a 20 20 2d 66  20 20 20 74 72 79 20 74  |ics.  -f   try t|
000003f0  6f 20 66 69 78 20 6d 61  70 20 69 66 20 62 72 6f  |o fix map if bro|
00000400  6b 65 6e 0a 20 20 2d 6c  20 20 20 70 72 69 6e 74  |ken.  -l   print|
00000410  20 74 68 65 20 72 65 73  75 6c 74 73 20 69 6e 20  | the results in |
00000420  22 6c 6f 67 66 69 6c 65  22 0a 4c 65 73 73 20 75  |"logfile".Less u|
00000430  73 65 64 20 6f 70 74 69  6f 6e 73 3a 0a 20 20 2d  |sed options:.  -|
00000440  68 20 20 20 70 72 69 6e  74 20 68 65 6c 70 20 69  |h   print help i|
00000450  6e 66 6f 72 6d 61 74 69  6f 6e 73 0a 20 20 2d 64  |nformations.  -d|
00000460  20 20 20 6c 69 6e 6b 20  62 72 6f 6b 65 6e 20 70  |   link broken p|
00000470  61 72 74 20 6f 66 20 6d  61 70 20 69 6e 20 64 69  |art of map in di|
00000480  72 65 63 74 6f 72 79 20  22 6c 6f 73 74 64 69 72  |rectory "lostdir|
00000490  22 0a 20 20 2d 76 20 20  20 70 72 69 6e 74 20 66  |".  -v   print f|
000004a0  69 6c 65 73 20 6c 6f 63  61 74 69 6f 6e 20 28 2d  |iles location (-|
000004b0  76 76 20 70 72 69 6e 74  20 61 6c 73 6f 20 66 69  |vv print also fi|
000004c0  6c 65 73 20 70 6f 73 69  74 69 6f 6e 20 69 6e 20  |les position in |
000004d0  7a 6f 6e 65 73 29 0a 20  20 2d 44 20 20 20 6a 75  |zones).  -D   ju|
000004e0  73 74 20 64 69 73 70 6c  61 79 20 64 69 73 63 20  |st display disc |
000004f0  69 6e 66 6f 72 6d 61 74  69 6f 6e 20 72 65 63 6f  |information reco|
00000500  72 64 65 64 20 69 6e 20  74 68 65 20 6d 61 70 20  |rded in the map |
00000510  68 65 61 64 65 72 0a 20  20 2d 71 20 20 20 64 6f  |header.  -q   do|
00000520  6e 27 74 20 64 69 73 70  6c 61 79 20 64 69 73 63  |n't display disc|
00000530  20 69 6e 66 6f 72 6d 61  74 69 6f 6e 20 28 71 75  | information (qu|
00000540  69 65 74 20 6d 6f 64 65  29 0a 20 20 2d 63 20 20  |iet mode).  -c  |
00000550  20 70 72 6f 64 75 63 65  20 6f 75 74 70 75 74 20  | produce output |
00000560  6c 69 6b 65 20 2a 43 68  65 63 6b 4d 61 70 0a 20  |like *CheckMap. |
00000570  20 2d 6d 20 20 20 61 73  6b 20 74 68 65 20 75 73  | -m   ask the us|
00000580  65 72 20 74 6f 20 65 76  65 6e 74 75 61 6c 6c 79  |er to eventually|
00000590  20 6d 6f 76 65 20 66 69  6c 65 73 20 69 6e 73 74  | move files inst|
000005a0  65 61 64 20 6f 66 20 63  68 61 6e 67 69 6e 67 20  |ead of changing |
000005b0  6d 61 70 0a 20 20 2d 6e  20 20 20 64 6f 6e 27 74  |map.  -n   don't|
000005c0  20 74 72 79 20 74 6f 20  72 65 63 6f 67 6e 69 73  | try to recognis|
000005d0  65 20 64 69 72 65 63 74  6f 72 69 65 73 0a 0a 54  |e directories..T|
000005e0  68 65 20 64 65 66 61 75  6c 74 20 64 69 72 65 63  |he default direc|
000005f0  74 6f 72 79 20 77 68 65  72 65 20 66 69 6c 65 73  |tory where files|
00000600  20 61 72 65 20 6c 69 6e  6b 65 64 20 69 73 20 22  | are linked is "|
00000610  24 2e 6c 6f 73 74 2b 66  6f 75 6e 64 22 2e 0a 49  |$.lost+found"..I|
00000620  66 20 27 70 61 74 68 6e  61 6d 65 27 20 69 73 20  |f 'pathname' is |
00000630  6e 6f 74 20 73 70 65 63  69 66 69 65 64 2c 20 74  |not specified, t|
00000640  68 65 20 63 75 72 72 65  6e 74 20 64 69 73 63 20  |he current disc |
00000650  69 73 20 61 6e 61 6c 79  73 65 64 2e 0a 49 66 20  |is analysed..If |
00000660  27 70 61 74 68 6e 61 6d  65 27 20 69 73 20 6e 6f  |'pathname' is no|
00000670  74 20 61 20 72 6f 6f 74  20 64 69 72 65 63 74 6f  |t a root directo|
00000680  72 79 20 28 65 67 2e 20  41 44 46 53 3a 3a 30 2e  |ry (eg. ADFS::0.|
00000690  24 2e 4c 69 62 72 61 72  79 29 2c 20 66 73 63 6b  |$.Library), fsck|
000006a0  20 63 68 65 63 6b 73 0a  6f 6e 6c 79 20 74 68 61  | checks.only tha|
000006b0  74 20 64 69 72 65 63 74  6f 72 79 20 61 6e 64 20  |t directory and |
000006c0  73 6f 20 69 74 20 63 61  6e 6e 6f 74 20 74 65 6c  |so it cannot tel|
000006d0  6c 20 79 6f 75 20 69 66  20 74 68 65 20 6d 61 70  |l you if the map|
000006e0  20 69 73 20 67 6f 6f 64  20 6f 72 20 62 72 6f 6b  | is good or brok|
000006f0  65 6e 2e 0a 54 68 69 73  20 63 6f 75 6c 64 20 62  |en..This could b|
00000700  65 20 75 73 65 66 75 6c  20 69 66 20 79 6f 75 20  |e useful if you |
00000710  77 61 6e 74 20 74 6f 20  6b 6e 6f 77 20 74 68 65  |want to know the|
00000720  20 73 74 61 74 69 73 74  69 63 73 20 6f 66 20 61  | statistics of a|
00000730  20 73 69 6e 67 6c 65 20  64 69 72 65 63 74 6f 72  | single director|
00000740  79 0a 69 6e 73 74 65 61  64 20 6f 66 20 74 68 65  |y.instead of the|
00000750  20 77 68 6f 6c 65 20 64  69 73 63 2e 20 49 66 20  | whole disc. If |
00000760  74 68 65 20 2d 66 20 6f  70 74 69 6f 6e 20 69 73  |the -f option is|
00000770  20 75 73 65 64 2c 20 74  68 65 20 64 69 73 63 20  | used, the disc |
00000780  69 73 20 73 63 61 6e 6e  65 64 20 66 72 6f 6d 0a  |is scanned from.|
00000790  74 68 65 20 72 6f 6f 74  20 64 69 72 65 63 74 6f  |the root directo|
000007a0  72 79 2c 20 72 65 67 61  72 64 6c 65 73 73 20 6f  |ry, regardless o|
000007b0  66 20 27 70 61 74 68 6e  61 6d 65 27 2e 0a 54 68  |f 'pathname'..Th|
000007c0  65 20 2d 6d 20 61 6e 64  20 2d 6e 20 6f 70 74 69  |e -m and -n opti|
000007d0  6f 6e 73 20 75 73 65 64  20 74 6f 67 65 74 68 65  |ons used togethe|
000007e0  72 20 63 61 75 73 65 20  66 73 63 6b 20 31 2e 32  |r cause fsck 1.2|
000007f0  30 20 6f 72 20 6c 61 74  65 72 20 74 6f 20 77 6f  |0 or later to wo|
00000800  72 6b 20 6c 69 6b 65 0a  66 73 63 6b 20 31 2e 31  |rk like.fsck 1.1|
00000810  33 20 6f 72 20 65 61 72  6c 69 65 72 2e 0a 0a 0a  |3 or earlier....|
00000820  57 68 61 74 20 69 74 20  64 6f 65 73 0a 2d 2d 2d  |What it does.---|
00000830  2d 2d 2d 2d 2d 2d 2d 2d  2d 0a 0a 66 73 63 6b 20  |---------..fsck |
00000840  73 63 61 6e 73 20 74 68  65 20 64 69 72 65 63 74  |scans the direct|
00000850  6f 72 79 20 74 72 65 65  20 61 6e 64 20 63 68 65  |ory tree and che|
00000860  63 6b 73 20 74 68 65 20  6d 61 70 20 74 6f 20 73  |cks the map to s|
00000870  65 65 20 69 66 20 65 76  65 72 79 20 66 69 6c 65  |ee if every file|
00000880  0a 72 65 67 69 73 74 65  72 65 64 20 69 6e 20 74  |.registered in t|
00000890  68 65 20 6d 61 70 20 61  63 74 75 61 6c 6c 79 20  |he map actually |
000008a0  65 78 69 73 74 73 20 69  6e 20 61 20 64 69 72 65  |exists in a dire|
000008b0  63 74 6f 72 79 2e 20 49  66 20 6e 6f 74 2c 20 69  |ctory. If not, i|
000008c0  74 20 63 72 65 61 74 65  73 20 74 68 61 74 0a 66  |t creates that.f|
000008d0  69 6c 65 20 69 6e 20 61  20 64 69 72 65 63 74 6f  |ile in a directo|
000008e0  72 79 20 73 6f 20 74 68  61 74 20 79 6f 75 20 77  |ry so that you w|
000008f0  69 6c 6c 20 62 65 20 61  62 6c 65 20 74 6f 20 64  |ill be able to d|
00000900  65 6c 65 74 65 20 69 74  20 69 6e 20 74 68 65 20  |elete it in the |
00000910  6e 6f 72 6d 61 6c 20 77  61 79 2e 0a 49 66 20 74  |normal way..If t|
00000920  68 65 20 66 69 6c 65 20  77 61 73 20 6f 72 69 67  |he file was orig|
00000930  69 6e 61 6c 6c 79 20 61  20 64 69 72 65 63 74 6f  |inally a directo|
00000940  72 79 2c 20 66 73 63 6b  20 74 72 69 65 73 20 74  |ry, fsck tries t|
00000950  6f 20 72 65 6c 69 6e 6b  20 69 74 2c 0a 72 65 63  |o relink it,.rec|
00000960  6f 6e 73 74 72 75 63 74  69 6e 67 20 74 68 65 20  |onstructing the |
00000970  64 69 72 65 63 74 6f 72  79 20 6e 61 6d 65 20 61  |directory name a|
00000980  6e 64 20 63 6f 6e 74 65  6e 74 2e 20 45 76 65 6e  |nd content. Even|
00000990  20 69 66 20 79 6f 75 20  77 61 6e 74 20 74 6f 20  | if you want to |
000009a0  6b 65 65 70 20 74 68 65  0a 72 65 6c 69 6e 6b 65  |keep the.relinke|
000009b0  64 20 66 69 6c 65 73 20  6f 72 20 64 69 72 65 63  |d files or direc|
000009c0  74 6f 72 69 65 73 2c 20  79 6f 75 20 73 68 6f 75  |tories, you shou|
000009d0  6c 64 20 63 6f 70 79 20  74 68 65 6d 20 61 6e 64  |ld copy them and|
000009e0  20 64 65 6c 65 74 65 20  74 68 65 20 6f 72 69 67  | delete the orig|
000009f0  69 6e 61 6c 0a 6f 6e 65  2c 20 62 65 63 61 75 73  |inal.one, becaus|
00000a00  65 20 74 68 65 72 65 20  69 73 20 74 68 65 20 72  |e there is the r|
00000a10  69 73 6b 20 74 68 61 74  20 79 6f 75 72 20 6d 61  |isk that your ma|
00000a20  70 20 77 69 6c 6c 20 62  65 20 63 6f 72 72 75 70  |p will be corrup|
00000a30  74 65 64 20 61 67 61 69  6e 2c 0a 65 73 70 65 63  |ted again,.espec|
00000a40  69 61 6c 6c 79 20 69 66  20 79 6f 75 20 74 72 79  |ially if you try|
00000a50  20 74 6f 20 63 68 61 6e  67 65 20 74 68 65 6d 2e  | to change them.|
00000a60  0a 41 70 61 72 74 20 66  72 6f 6d 20 64 69 72 65  |.Apart from dire|
00000a70  63 74 6f 72 69 65 73 20  61 6e 64 20 74 68 65 69  |ctories and thei|
00000a80  72 20 63 6f 6e 74 65 6e  74 2c 20 74 68 65 20 72  |r content, the r|
00000a90  65 2d 6c 69 6e 6b 65 64  20 66 69 6c 65 73 20 61  |e-linked files a|
00000aa0  72 65 20 75 73 75 61 6c  6c 79 0a 6c 6f 6e 67 65  |re usually.longe|
00000ab0  72 20 74 68 61 6e 20 74  68 65 20 6f 72 69 67 69  |r than the origi|
00000ac0  6e 61 6c 20 6c 6f 73 74  20 66 69 6c 65 20 62 65  |nal lost file be|
00000ad0  63 61 75 73 65 20 66 73  63 6b 20 61 6c 77 61 79  |cause fsck alway|
00000ae0  73 20 6c 69 6e 6b 73 20  77 68 6f 6c 65 20 73 65  |s links whole se|
00000af0  63 74 6f 72 73 0a 28 61  6e 64 20 74 68 65 72 65  |ctors.(and there|
00000b00  20 69 73 20 6e 6f 20 77  61 79 20 74 6f 20 6b 6e  | is no way to kn|
00000b10  6f 77 20 74 68 65 20 6f  72 69 67 69 6e 61 6c 20  |ow the original |
00000b20  6c 65 6e 67 74 68 29 2c  20 74 68 65 69 72 20 66  |length), their f|
00000b30  69 6c 65 6e 61 6d 65 73  20 61 72 65 20 72 61 6e  |ilenames are ran|
00000b40  64 6f 6d 0a 61 6e 64 20  66 69 6c 65 74 79 70 65  |dom.and filetype|
00000b50  73 20 61 72 65 20 61 6c  77 61 79 73 20 26 46 46  |s are always &FF|
00000b60  46 20 28 54 65 78 74 29  2e 0a 0a 55 73 69 6e 67  |F (Text)...Using|
00000b70  20 74 68 65 20 2d 6d 20  6f 70 74 69 6f 6e 2c 20  | the -m option, |
00000b80  66 73 63 6b 20 63 6f 75  6c 64 20 74 65 6c 6c 20  |fsck could tell |
00000b90  79 6f 75 20 74 68 61 74  20 61 6e 20 49 44 20 69  |you that an ID i|
00000ba0  73 20 72 65 67 75 6c 61  72 6c 79 20 61 6c 6c 6f  |s regularly allo|
00000bb0  63 61 74 65 64 0a 66 6f  72 20 61 6e 6f 74 68 65  |cated.for anothe|
00000bc0  72 20 66 69 6c 65 20 61  6e 64 20 79 6f 75 20 68  |r file and you h|
00000bd0  61 76 65 20 74 6f 20 64  65 6c 65 74 65 20 69 74  |ave to delete it|
00000be0  20 28 6d 6f 76 69 6e 67  20 74 68 65 20 66 69 6c  | (moving the fil|
00000bf0  65 20 74 6f 20 61 6e 6f  74 68 65 72 0a 64 69 72  |e to another.dir|
00000c00  65 63 74 6f 72 79 20 69  73 6e 27 74 20 65 6e 6f  |ectory isn't eno|
00000c10  75 67 68 2c 20 79 6f 75  20 68 61 76 65 20 74 6f  |ugh, you have to|
00000c20  20 63 6f 70 79 20 69 74  20 61 6e 64 20 64 65 6c  | copy it and del|
00000c30  65 74 65 20 74 68 65 20  6f 72 69 67 69 6e 61 6c  |ete the original|
00000c40  29 20 61 6e 64 20 72 75  6e 0a 66 73 63 6b 20 61  |) and run.fsck a|
00000c50  67 61 69 6e 2e 20 57 69  74 68 6f 75 74 20 74 68  |gain. Without th|
00000c60  69 73 20 6f 70 74 69 6f  6e 2c 20 66 73 63 6b 20  |is option, fsck |
00000c70  77 69 6c 6c 20 63 68 61  6e 67 65 20 74 68 65 20  |will change the |
00000c80  49 44 20 69 6e 20 74 68  65 20 6d 61 70 20 61 6e  |ID in the map an|
00000c90  64 0a 72 65 77 72 69 74  65 20 69 74 20 74 6f 20  |d.rewrite it to |
00000ca0  64 69 73 63 2e 20 54 68  65 20 2d 6d 20 6f 70 74  |disc. The -m opt|
00000cb0  69 6f 6e 20 69 73 20 69  6e 20 66 61 63 74 20 6f  |ion is in fact o|
00000cc0  6e 6c 79 20 75 73 65 66  75 6c 20 69 66 20 79 6f  |nly useful if yo|
00000cd0  75 20 70 72 65 66 65 72  20 6e 6f 74 20 74 6f 0a  |u prefer not to.|
00000ce0  6d 6f 64 69 66 79 20 79  6f 75 72 20 6d 61 70 3a  |modify your map:|
00000cf0  20 61 6e 79 77 61 79 2c  20 72 65 6d 65 6d 62 65  | anyway, remembe|
00000d00  72 20 74 68 61 74 20 6d  6f 76 69 6e 67 20 66 69  |r that moving fi|
00000d10  6c 65 73 20 6f 6e 20 61  20 63 6f 72 72 75 70 74  |les on a corrupt|
00000d20  65 64 20 64 69 73 63 20  63 61 6e 0a 62 65 20 71  |ed disc can.be q|
00000d30  75 69 74 65 20 64 61 6e  67 65 72 6f 75 73 20 61  |uite dangerous a|
00000d40  6e 64 20 63 61 6e 20 65  76 65 6e 74 75 61 6c 6c  |nd can eventuall|
00000d50  79 20 63 6f 72 72 75 70  74 20 6f 74 68 65 72 20  |y corrupt other |
00000d60  70 61 72 74 73 20 6f 66  20 74 68 65 20 64 69 73  |parts of the dis|
00000d70  63 2e 0a 53 6f 6d 65 74  69 6d 65 73 20 74 68 65  |c..Sometimes the|
00000d80  20 64 69 73 63 20 6d 61  79 20 62 65 20 73 6f 20  | disc may be so |
00000d90  63 6f 72 72 75 70 74 65  64 20 74 68 61 74 20 79  |corrupted that y|
00000da0  6f 75 20 77 69 6c 6c 20  6e 65 65 64 20 74 6f 20  |ou will need to |
00000db0  72 75 6e 20 66 73 63 6b  20 6d 6f 72 65 0a 74 68  |run fsck more.th|
00000dc0  61 6e 20 6f 6e 63 65 2c  20 74 68 65 20 70 72 6f  |an once, the pro|
00000dd0  67 72 61 6d 20 69 74 73  65 6c 66 20 77 69 6c 6c  |gram itself will|
00000de0  20 74 65 6c 6c 20 79 6f  75 20 69 66 20 61 20 72  | tell you if a r|
00000df0  65 2d 72 75 6e 20 69 73  20 6e 65 65 64 65 64 2e  |e-run is needed.|
00000e00  0a 0a 0a 54 68 65 20 6c  6f 67 66 69 6c 65 0a 2d  |...The logfile.-|
00000e10  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 55 73 69 6e  |----------..Usin|
00000e20  67 20 74 68 65 20 6c 6f  67 66 69 6c 65 20 28 2d  |g the logfile (-|
00000e30  6c 29 20 6f 70 74 69 6f  6e 20 69 73 20 67 65 6e  |l) option is gen|
00000e40  65 72 61 6c 6c 79 20 72  65 61 6c 6c 79 20 75 73  |erally really us|
00000e50  65 66 75 6c 3a 20 69 66  20 73 6f 6d 65 74 68 69  |eful: if somethi|
00000e60  6e 67 0a 73 74 72 61 6e  67 65 20 68 61 70 70 65  |ng.strange happe|
00000e70  6e 73 2c 20 74 68 65 20  61 75 74 68 6f 72 20 77  |ns, the author w|
00000e80  69 6c 6c 20 62 65 20 6d  6f 72 65 20 68 65 6c 70  |ill be more help|
00000e90  66 75 6c 20 69 66 20 68  65 20 63 61 6e 20 73 65  |ful if he can se|
00000ea0  65 20 65 78 61 63 74 6c  79 20 77 68 61 74 0a 68  |e exactly what.h|
00000eb0  61 70 70 65 6e 65 64 20  61 6e 64 20 79 6f 75 20  |appened and you |
00000ec0  64 6f 6e 27 74 20 65 76  65 6e 20 68 61 76 65 20  |don't even have |
00000ed0  74 6f 20 74 72 79 20 74  6f 20 65 78 70 6c 61 69  |to try to explai|
00000ee0  6e 20 77 68 61 74 20 68  61 70 70 65 6e 65 64 20  |n what happened |
00000ef0  77 68 65 6e 20 79 6f 75  20 72 75 6e 0a 66 73 63  |when you run.fsc|
00000f00  6b 2c 20 74 68 65 20 6c  6f 67 66 69 6c 65 20 69  |k, the logfile i|
00000f10  73 20 75 73 75 61 6c 6c  79 20 65 6e 6f 75 67 68  |s usually enough|
00000f20  21 0a 54 68 65 20 6c 6f  67 66 69 6c 65 20 63 6f  |!.The logfile co|
00000f30  6e 74 61 69 6e 73 20 65  78 61 63 74 6c 79 20 77  |ntains exactly w|
00000f40  68 61 74 20 69 74 20 69  73 20 70 72 69 6e 74 65  |hat it is printe|
00000f50  64 20 74 6f 20 74 68 65  20 73 63 72 65 65 6e 3a  |d to the screen:|
00000f60  20 75 6e 6c 65 73 73 20  79 6f 75 20 75 73 65 0a  | unless you use.|
00000f70  74 68 65 20 2d 76 20 6f  70 74 69 6f 6e 20 69 74  |the -v option it|
00000f80  20 77 69 6c 6c 20 62 65  20 72 65 61 6c 6c 79 20  | will be really |
00000f90  73 6d 61 6c 6c 20 28 6e  65 61 72 6c 79 20 32 4b  |small (nearly 2K|
00000fa0  20 6f 6e 20 61 20 67 6f  6f 64 20 6d 61 70 20 6f  | on a good map o|
00000fb0  72 20 6e 65 61 72 6c 79  20 31 30 4b 0a 6f 6e 20  |r nearly 10K.on |
00000fc0  61 20 71 75 69 74 65 20  63 6f 72 72 75 70 74 65  |a quite corrupte|
00000fd0  64 20 6f 6e 65 29 2e 0a  59 6f 75 20 63 61 6e 6e  |d one)..You cann|
00000fe0  6f 74 20 73 61 76 65 20  74 68 65 20 6c 6f 67 66  |ot save the logf|
00000ff0  69 6c 65 20 74 6f 20 74  68 65 20 64 69 73 63 20  |ile to the disc |
00001000  62 65 69 6e 67 20 61 6e  61 6c 79 73 65 64 2e 0a  |being analysed..|
00001010  49 66 20 61 20 66 69 6c  65 20 77 69 74 68 20 74  |If a file with t|
00001020  68 65 20 73 61 6d 65 20  6e 61 6d 65 20 61 73 20  |he same name as |
00001030  74 68 65 20 6c 6f 67 66  69 6c 65 20 61 6c 72 65  |the logfile alre|
00001040  61 64 79 20 65 78 69 73  74 73 2c 20 74 68 65 20  |ady exists, the |
00001050  6e 65 77 20 64 61 74 61  20 77 69 6c 6c 0a 62 65  |new data will.be|
00001060  20 61 74 74 61 63 68 65  64 20 61 74 20 74 68 65  | attached at the|
00001070  20 65 6e 64 20 6f 66 20  69 74 3a 20 69 6e 20 74  | end of it: in t|
00001080  68 69 73 20 77 61 79 2c  20 79 6f 75 20 63 61 6e  |his way, you can|
00001090  20 61 74 74 61 63 68 20  74 6f 67 65 74 68 65 72  | attach together|
000010a0  20 74 77 6f 20 6f 72 0a  6d 6f 72 65 20 6c 6f 67  | two or.more log|
000010b0  66 69 6c 65 73 2e 0a 0a  0a 66 73 63 6b 20 61 6e  |files....fsck an|
000010c0  64 20 52 69 73 63 20 50  43 0a 2d 2d 2d 2d 2d 2d  |d Risc PC.------|
000010d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 66 73 63 6b  |----------..fsck|
000010e0  20 61 6e 64 20 43 68 65  63 6b 4d 61 70 20 61 72  | and CheckMap ar|
000010f0  65 20 6e 6f 20 6d 6f 72  65 20 65 71 75 69 76 61  |e no more equiva|
00001100  6c 65 6e 74 20 6f 6e 20  52 69 73 63 20 50 43 73  |lent on Risc PCs|
00001110  21 20 49 6e 20 66 61 63  74 2c 20 41 63 6f 72 6e  |! In fact, Acorn|
00001120  20 63 68 61 6e 67 65 64  0a 73 6f 6d 65 20 62 65  | changed.some be|
00001130  68 61 76 69 6f 75 72 20  6f 66 20 74 68 65 20 46  |haviour of the F|
00001140  69 6c 65 43 6f 72 65 20  6d 6f 64 75 6c 65 20 69  |ileCore module i|
00001150  6e 20 52 49 53 43 20 4f  53 20 33 2e 35 30 20 73  |n RISC OS 3.50 s|
00001160  6f 20 74 68 61 74 20 69  74 20 63 61 6e 20 6e 6f  |o that it can no|
00001170  77 20 63 6f 70 65 0a 77  69 74 68 20 6f 76 65 72  |w cope.with over|
00001180  2d 61 6c 6c 6f 63 61 74  65 64 20 66 69 6c 65 73  |-allocated files|
00001190  20 28 69 65 2e 20 66 69  6c 65 73 20 74 68 61 74  | (ie. files that|
000011a0  20 68 61 76 65 20 61 6c  6c 6f 63 61 74 65 64 20  | have allocated |
000011b0  6d 6f 72 65 20 73 70 61  63 65 20 74 68 61 6e 20  |more space than |
000011c0  74 68 65 79 0a 6e 65 65  64 29 2e 20 54 68 69 73  |they.need). This|
000011d0  20 73 6f 72 74 20 6f 66  20 66 69 6c 65 73 20 6f  | sort of files o|
000011e0  6e 20 6f 6c 64 65 72 20  76 65 72 73 69 6f 6e 73  |n older versions|
000011f0  20 6f 66 20 52 49 53 43  20 4f 53 20 63 61 75 73  | of RISC OS caus|
00001200  65 73 20 43 68 65 63 6b  4d 61 70 20 74 6f 20 73  |es CheckMap to s|
00001210  61 79 0a 22 4d 61 70 20  69 6e 63 6f 6e 73 69 73  |ay."Map inconsis|
00001220  74 65 6e 74 22 20 61 6e  64 20 69 66 20 79 6f 75  |tent" and if you|
00001230  20 74 72 79 20 74 6f 20  64 65 6c 65 74 65 20 73  | try to delete s|
00001240  75 63 68 20 66 69 6c 65  73 20 79 6f 75 20 77 69  |uch files you wi|
00001250  6c 6c 20 6c 6f 73 65 20  73 6f 6d 65 0a 73 70 61  |ll lose some.spa|
00001260  63 65 2e 20 4f 6e 20 52  49 53 43 20 4f 53 20 33  |ce. On RISC OS 3|
00001270  2e 35 30 20 28 6f 72 20  6c 61 74 65 72 29 20 43  |.50 (or later) C|
00001280  68 65 63 6b 4d 61 70 20  6e 6f 20 6c 6f 6e 67 65  |heckMap no longe|
00001290  72 20 73 61 79 73 20 22  4d 61 70 20 69 6e 63 6f  |r says "Map inco|
000012a0  6e 73 69 73 74 65 6e 74  22 0a 69 66 20 6f 76 65  |nsistent".if ove|
000012b0  72 2d 61 6c 6c 6f 63 61  74 65 64 20 66 69 6c 65  |r-allocated file|
000012c0  73 20 61 72 65 20 74 68  65 20 6f 6e 6c 79 20 6d  |s are the only m|
000012d0  61 70 20 70 72 6f 62 6c  65 6d 20 61 6e 64 20 64  |ap problem and d|
000012e0  65 6c 65 74 69 6e 67 20  74 68 65 6d 20 6e 6f 20  |eleting them no |
000012f0  6c 6f 6e 67 65 72 0a 63  61 75 73 65 73 20 6c 6f  |longer.causes lo|
00001300  73 74 20 73 70 61 63 65  2e 20 43 6f 6d 70 6c 69  |st space. Compli|
00001310  6d 65 6e 74 20 41 63 6f  72 6e 21 0a 66 73 63 6b  |ment Acorn!.fsck|
00001320  20 73 74 69 6c 6c 20 72  65 70 6f 72 74 73 20 6d  | still reports m|
00001330  61 70 20 63 6f 72 72 75  70 74 69 6f 6e 73 20 69  |ap corruptions i|
00001340  6e 20 74 68 69 73 20 63  61 73 65 20 28 6f 6e 20  |n this case (on |
00001350  65 76 65 72 79 20 76 65  72 73 69 6f 6e 20 6f 66  |every version of|
00001360  20 52 49 53 43 20 4f 53  29 0a 73 69 6e 63 65 20  | RISC OS).since |
00001370  61 6e 20 6f 76 65 72 2d  61 6c 6c 6f 63 61 74 65  |an over-allocate|
00001380  64 20 66 69 6c 65 20 63  61 6e 20 62 65 20 63 6f  |d file can be co|
00001390  6e 73 69 64 65 72 65 64  20 61 20 70 72 6f 62 6c  |nsidered a probl|
000013a0  65 6d 20 28 74 68 69 6e  6b 20 6f 66 20 61 20 31  |em (think of a 1|
000013b0  30 30 4b 0a 66 69 6c 65  20 74 68 61 74 20 75 73  |00K.file that us|
000013c0  65 73 20 75 70 20 31 30  4d 62 20 6f 66 20 64 69  |es up 10Mb of di|
000013d0  73 63 20 73 70 61 63 65  20 61 6e 64 20 79 6f 75  |sc space and you|
000013e0  20 77 69 6c 6c 20 75 6e  64 65 72 73 74 61 6e 64  | will understand|
000013f0  20 77 68 61 74 20 49 20  6d 65 61 6e 21 29 2e 0a  | what I mean!)..|
00001400  41 6e 79 77 61 79 2c 20  6f 6e 20 61 20 52 69 73  |Anyway, on a Ris|
00001410  63 20 50 43 2c 20 75 73  69 6e 67 20 74 68 65 20  |c PC, using the |
00001420  2d 6d 20 6f 70 74 69 6f  6e 20 79 6f 75 20 61 72  |-m option you ar|
00001430  65 20 61 62 6c 65 20 74  6f 20 64 69 73 63 6f 76  |e able to discov|
00001440  65 72 20 73 75 63 68 0a  66 69 6c 65 73 20 61 6e  |er such.files an|
00001450  64 20 79 6f 75 20 63 61  6e 20 66 69 78 20 74 68  |d you can fix th|
00001460  65 20 64 69 73 63 20 28  61 73 73 75 6d 69 6e 67  |e disc (assuming|
00001470  20 74 68 61 74 20 79 6f  75 72 20 6d 61 70 20 69  | that your map i|
00001480  73 20 63 6f 72 72 75 70  74 65 64 20 6f 6e 6c 79  |s corrupted only|
00001490  0a 62 65 63 61 75 73 65  20 6f 66 20 6f 76 65 72  |.because of over|
000014a0  2d 61 6c 6c 6f 63 61 74  65 64 20 66 69 6c 65 73  |-allocated files|
000014b0  29 20 62 79 20 6a 75 73  74 20 6d 6f 76 69 6e 67  |) by just moving|
000014c0  20 74 68 65 6d 2e 0a 52  65 6d 65 6d 62 65 72 20  | them..Remember |
000014d0  74 68 61 74 20 75 73 69  6e 67 20 74 68 65 20 2d  |that using the -|
000014e0  66 20 6f 70 74 69 6f 6e  20 66 73 63 6b 20 63 61  |f option fsck ca|
000014f0  6e 20 63 75 72 65 20 74  68 65 20 64 69 73 63 20  |n cure the disc |
00001500  77 69 74 68 6f 75 74 20  6d 6f 76 69 6e 67 20 61  |without moving a|
00001510  6e 79 0a 66 69 6c 65 20  6f 6e 20 65 76 65 72 79  |ny.file on every|
00001520  20 76 65 72 73 69 6f 6e  20 6f 66 20 52 49 53 43  | version of RISC|
00001530  20 4f 53 2e 0a 0a 0a 66  73 63 6b 20 61 6e 64 20  | OS....fsck and |
00001540  27 62 69 67 27 20 64 69  73 63 73 0a 2d 2d 2d 2d  |'big' discs.----|
00001550  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00001560  0a 0a 49 6e 20 52 49 53  43 20 4f 53 20 33 2e 36  |..In RISC OS 3.6|
00001570  30 20 41 63 6f 72 6e 20  69 6e 63 6c 75 64 65 64  |0 Acorn included|
00001580  20 61 20 6e 65 77 20 76  65 72 73 69 6f 6e 20 6f  | a new version o|
00001590  66 20 74 68 65 20 46 69  6c 65 43 6f 72 65 20 6d  |f the FileCore m|
000015a0  6f 64 75 6c 65 20 74 68  61 74 0a 73 75 70 70 6f  |odule that.suppo|
000015b0  72 74 73 20 27 62 69 67  27 20 64 69 73 63 73 20  |rts 'big' discs |
000015c0  28 69 65 20 64 69 73 63  73 20 6c 61 72 67 65 72  |(ie discs larger|
000015d0  20 74 68 61 6e 20 35 31  32 4d 62 29 2e 0a 4f 6e  | than 512Mb)..On|
000015e0  6c 79 20 74 68 65 20 72  65 67 69 73 74 65 72 65  |ly the registere|
000015f0  64 20 76 65 72 73 69 6f  6e 20 6f 66 20 66 73 63  |d version of fsc|
00001600  6b 20 28 76 65 72 73 69  6f 6e 20 31 2e 33 30 20  |k (version 1.30 |
00001610  6f 72 20 6c 61 74 65 72  29 20 66 75 6c 6c 79 20  |or later) fully |
00001620  73 75 70 70 6f 72 74 73  0a 74 68 69 73 20 6e 65  |supports.this ne|
00001630  77 20 46 69 6c 65 43 6f  72 65 2c 20 75 6e 72 65  |w FileCore, unre|
00001640  67 69 73 74 65 72 65 64  20 76 65 72 73 69 6f 6e  |gistered version|
00001650  73 20 77 69 6c 6c 20 6a  75 73 74 20 72 65 70 6f  |s will just repo|
00001660  72 74 20 61 20 6d 65 73  73 61 67 65 20 77 68 65  |rt a message whe|
00001670  6e 0a 72 75 6e 6e 69 6e  67 20 6f 6e 20 27 62 69  |n.running on 'bi|
00001680  67 27 20 64 69 73 63 73  2e 0a 0a 0a 52 65 74 75  |g' discs....Retu|
00001690  72 6e 20 76 61 6c 75 65  73 0a 2d 2d 2d 2d 2d 2d  |rn values.------|
000016a0  2d 2d 2d 2d 2d 2d 2d 0a  0a 54 68 69 73 20 70 61  |-------..This pa|
000016b0  72 61 67 72 61 70 68 20  77 69 6c 6c 20 62 65 20  |ragraph will be |
000016c0  69 6e 74 65 72 65 73 74  69 6e 67 20 6f 6e 6c 79  |interesting only|
000016d0  20 66 6f 72 20 70 72 6f  67 72 61 6d 6d 65 72 73  | for programmers|
000016e0  20 77 68 6f 20 77 61 6e  74 20 74 6f 20 77 72 69  | who want to wri|
000016f0  74 65 20 61 0a 70 72 6f  67 72 61 6d 2f 66 72 6f  |te a.program/fro|
00001700  6e 74 65 6e 64 20 77 68  69 63 68 20 68 61 73 20  |ntend which has |
00001710  74 6f 20 69 6e 74 65 72  66 61 63 65 20 77 69 74  |to interface wit|
00001720  68 20 66 73 63 6b 2e 0a  0a 66 73 63 6b 20 72 65  |h fsck...fsck re|
00001730  74 75 72 6e 73 20 74 6f  20 52 49 53 43 20 4f 53  |turns to RISC OS|
00001740  20 61 20 76 61 6c 75 65  20 74 68 61 74 20 69 73  | a value that is|
00001750  20 30 20 6f 6e 6c 79 20  69 66 20 66 73 63 6b 20  | 0 only if fsck |
00001760  77 61 73 20 61 62 6c 65  20 74 6f 20 73 63 61 6e  |was able to scan|
00001770  20 74 68 65 0a 64 69 73  63 20 61 6e 64 20 74 68  | the.disc and th|
00001780  65 20 6d 61 70 20 69 73  20 67 6f 6f 64 2c 20 6f  |e map is good, o|
00001790  74 68 65 72 77 69 73 65  20 69 74 20 72 65 74 75  |therwise it retu|
000017a0  72 6e 73 20 31 2e 0a 66  73 63 6b 20 61 6c 73 6f  |rns 1..fsck also|
000017b0  20 73 65 74 73 20 74 68  65 20 6e 75 6d 65 72 69  | sets the numeri|
000017c0  63 20 73 79 73 74 65 6d  20 76 61 72 69 61 62 6c  |c system variabl|
000017d0  65 20 66 73 63 6b 24 52  65 74 75 72 6e 43 6f 64  |e fsck$ReturnCod|
000017e0  65 20 74 6f 20 61 20 76  61 6c 75 65 20 74 68 61  |e to a value tha|
000017f0  74 0a 63 61 6e 20 62 65  20 6d 6f 72 65 20 68 65  |t.can be more he|
00001800  6c 70 66 75 6c 20 69 6e  20 64 65 74 65 72 6d 69  |lpful in determi|
00001810  6e 69 6e 67 20 77 68 79  20 66 73 63 6b 20 66 61  |ning why fsck fa|
00001820  69 6c 65 64 2c 20 6f 72  20 30 20 69 66 20 74 68  |iled, or 0 if th|
00001830  65 20 6d 61 70 20 77 61  73 20 67 6f 6f 64 2e 0a  |e map was good..|
00001840  54 68 65 20 76 61 6c 75  65 20 69 73 20 66 6f 72  |The value is for|
00001850  6d 65 64 20 62 79 20 74  68 65 20 66 6f 6c 6c 6f  |med by the follo|
00001860  77 69 6e 67 20 62 69 74  73 3a 0a 0a 65 6e 75 6d  |wing bits:..enum|
00001870  20 7b 0a 20 20 72 65 74  75 72 6e 5f 4d 41 50 47  | {.  return_MAPG|
00001880  4f 4f 44 20 20 20 20 20  20 20 20 20 20 3d 20 30  |OOD          = 0|
00001890  78 30 30 30 30 30 30 30  30 2c 20 20 20 2f 2a 20  |x00000000,   /* |
000018a0  74 68 65 20 6d 61 70 20  69 73 20 67 6f 6f 64 20  |the map is good |
000018b0  28 21 29 20 2a 2f 0a 0a  20 20 72 65 74 75 72 6e  |(!) */..  return|
000018c0  5f 4d 41 50 5f 42 52 4f  4b 45 4e 20 20 20 20 20  |_MAP_BROKEN     |
000018d0  20 20 3d 20 30 78 30 30  30 30 30 30 30 31 2c 20  |  = 0x00000001, |
000018e0  20 20 2f 2a 20 74 68 65  20 6d 61 70 20 69 73 20  |  /* the map is |
000018f0  62 72 6f 6b 65 6e 2c 20  66 73 63 6b 20 2d 66 20  |broken, fsck -f |
00001900  73 68 6f 75 6c 64 20 66  69 78 20 69 74 20 2a 2f  |should fix it */|
00001910  0a 20 20 72 65 74 75 72  6e 5f 4d 41 50 5f 46 49  |.  return_MAP_FI|
00001920  58 45 44 20 20 20 20 20  20 20 20 3d 20 30 78 30  |XED        = 0x0|
00001930  30 30 30 30 30 30 32 2c  20 20 20 2f 2a 20 74 68  |0000002,   /* th|
00001940  65 20 6d 61 70 20 77 61  73 20 62 72 6f 6b 65 6e  |e map was broken|
00001950  20 62 75 74 20 68 61 73  20 62 65 65 6e 20 66 69  | but has been fi|
00001960  78 65 64 20 2a 2f 0a 20  20 72 65 74 75 72 6e 5f  |xed */.  return_|
00001970  4d 41 50 5f 55 4e 46 49  58 41 42 4c 45 20 20 20  |MAP_UNFIXABLE   |
00001980  20 3d 20 30 78 30 30 30  30 30 30 30 34 2c 20 20  | = 0x00000004,  |
00001990  20 2f 2a 20 74 68 65 20  6d 61 70 20 73 65 65 6d  | /* the map seem|
000019a0  73 20 74 6f 20 62 65 20  75 6e 66 69 78 61 62 6c  |s to be unfixabl|
000019b0  65 2e 2e 2e 20 2a 2f 0a  20 20 72 65 74 75 72 6e  |e... */.  return|
000019c0  5f 4f 4e 4c 59 5f 4d 4f  56 45 5f 46 49 4c 45 53  |_ONLY_MOVE_FILES|
000019d0  20 20 3d 20 30 78 30 30  30 30 30 30 30 38 2c 20  |  = 0x00000008, |
000019e0  20 20 2f 2a 20 74 68 65  20 6d 61 70 20 69 73 20  |  /* the map is |
000019f0  63 6f 72 72 75 70 74 65  64 20 62 75 74 20 52 49  |corrupted but RI|
00001a00  53 43 20 4f 53 20 33 2e  35 30 20 6f 72 20 6c 61  |SC OS 3.50 or la|
00001a10  74 65 72 20 69 73 20 61  62 6c 65 20 74 6f 20 66  |ter is able to f|
00001a20  69 78 20 69 74 20 6d 6f  76 69 6e 67 20 73 6f 6d  |ix it moving som|
00001a30  65 20 66 69 6c 65 20 2a  2f 0a 20 20 72 65 74 75  |e file */.  retu|
00001a40  72 6e 5f 4e 45 45 44 5f  45 4c 49 4d 49 4e 41 54  |rn_NEED_ELIMINAT|
00001a50  45 20 20 20 3d 20 30 78  30 30 30 30 30 30 31 30  |E   = 0x00000010|
00001a60  2c 20 20 20 2f 2a 20 6e  65 65 64 20 65 6c 69 6d  |,   /* need elim|
00001a70  69 6e 61 74 65 20 74 6f  20 66 69 78 20 74 68 65  |inate to fix the|
00001a80  20 6d 61 70 20 2a 2f 0a  20 20 72 65 74 75 72 6e  | map */.  return|
00001a90  5f 4e 45 45 44 5f 48 41  52 44 46 49 58 20 20 20  |_NEED_HARDFIX   |
00001aa0  20 20 3d 20 30 78 30 30  30 30 30 30 32 30 2c 20  |  = 0x00000020, |
00001ab0  20 20 2f 2a 20 6e 65 65  64 20 68 61 72 64 66 69  |  /* need hardfi|
00001ac0  78 20 74 6f 20 66 69 78  20 74 68 65 20 6d 61 70  |x to fix the map|
00001ad0  20 2a 2f 0a 20 20 72 65  74 75 72 6e 5f 4e 4f 5f  | */.  return_NO_|
00001ae0  41 43 54 49 4f 4e 20 20  20 20 20 20 20 20 3d 20  |ACTION        = |
00001af0  30 78 30 30 30 30 30 31  30 30 2c 20 20 20 2f 2a  |0x00000100,   /*|
00001b00  20 6e 6f 20 75 73 65 66  75 6c 20 61 63 74 69 6f  | no useful actio|
00001b10  6e 20 70 65 72 66 6f 72  6d 65 64 20 28 65 67 2e  |n performed (eg.|
00001b20  20 66 73 63 6b 20 2d 68  29 20 2a 2f 0a 20 20 72  | fsck -h) */.  r|
00001b30  65 74 75 72 6e 5f 50 41  52 41 4d 5f 45 52 52 4f  |eturn_PARAM_ERRO|
00001b40  52 20 20 20 20 20 20 3d  20 30 78 30 30 30 30 30  |R      = 0x00000|
00001b50  32 30 30 2c 20 20 20 2f  2a 20 62 61 64 20 69 6e  |200,   /* bad in|
00001b60  70 75 74 20 70 61 72 61  6d 65 74 65 72 73 20 2a  |put parameters *|
00001b70  2f 0a 20 20 72 65 74 75  72 6e 5f 57 52 4f 4e 47  |/.  return_WRONG|
00001b80  5f 46 53 20 20 20 20 20  20 20 20 20 3d 20 30 78  |_FS         = 0x|
00001b90  30 30 30 30 30 34 30 30  2c 20 20 20 2f 2a 20 77  |00000400,   /* w|
00001ba0  72 6f 6e 67 20 66 69 6c  65 20 73 79 73 74 65 6d  |rong file system|
00001bb0  20 6e 61 6d 65 2c 20 64  69 73 63 20 6e 61 6d 65  | name, disc name|
00001bc0  2c 20 6e 75 6d 62 65 72  2c 20 65 74 63 2e 20 2a  |, number, etc. *|
00001bd0  2f 0a 20 20 72 65 74 75  72 6e 5f 49 4f 5f 45 52  |/.  return_IO_ER|
00001be0  52 4f 52 20 20 20 20 20  20 20 20 20 3d 20 30 78  |ROR         = 0x|
00001bf0  30 30 30 30 30 38 30 30  2c 20 20 20 2f 2a 20 65  |00000800,   /* e|
00001c00  72 72 6f 72 20 77 68 69  6c 65 20 72 65 61 64 69  |rror while readi|
00001c10  6e 67 2f 77 72 69 74 69  6e 67 20 64 69 73 63 2c  |ng/writing disc,|
00001c20  20 64 69 72 65 63 74 6f  72 69 65 73 2c 20 65 74  | directories, et|
00001c30  63 2e 20 2a 2f 0a 20 20  72 65 74 75 72 6e 5f 4d  |c. */.  return_M|
00001c40  45 4d 4f 52 59 5f 46 55  4c 4c 20 20 20 20 20 20  |EMORY_FULL      |
00001c50  3d 20 30 78 30 30 30 30  31 30 30 30 20 20 20 20  |= 0x00001000    |
00001c60  2f 2a 20 6e 6f 74 20 65  6e 6f 75 67 68 20 66 72  |/* not enough fr|
00001c70  65 65 20 6d 65 6d 6f 72  79 20 2a 2f 0a 7d 3b 0a  |ee memory */.};.|
00001c80  0a 59 6f 75 20 63 61 6e  20 65 78 70 65 63 74 20  |.You can expect |
00001c90  74 68 61 74 20 65 76 65  72 79 20 70 6f 73 73 69  |that every possi|
00001ca0  62 6c 65 20 63 6f 6d 62  69 6e 61 74 69 6f 6e 20  |ble combination |
00001cb0  6f 66 20 74 68 65 73 65  20 76 61 6c 75 65 73 20  |of these values |
00001cc0  69 73 20 72 65 74 75 72  6e 65 64 0a 28 69 65 2e  |is returned.(ie.|
00001cd0  20 26 33 30 20 6d 65 61  6e 73 20 74 68 61 74 20  | &30 means that |
00001ce0  62 6f 74 68 20 27 65 6c  69 6d 69 6e 61 74 65 27  |both 'eliminate'|
00001cf0  20 61 6e 64 20 27 68 61  72 64 66 69 78 27 20 61  | and 'hardfix' a|
00001d00  72 65 20 6e 65 65 64 65  64 29 20 65 76 65 6e 20  |re needed) even |
00001d10  69 66 0a 67 65 6e 65 72  61 6c 6c 79 20 6f 6e 6c  |if.generally onl|
00001d20  79 20 6f 6e 65 20 65 72  72 6f 72 20 6e 75 6d 62  |y one error numb|
00001d30  65 72 20 69 73 20 72 65  74 75 72 6e 65 64 2e 0a  |er is returned..|
00001d40  49 66 20 79 6f 75 20 61  72 65 20 77 72 69 74 69  |If you are writi|
00001d50  6e 67 20 61 20 27 43 27  20 70 72 6f 67 72 61 6d  |ng a 'C' program|
00001d60  20 74 68 61 74 20 68 61  73 20 74 6f 20 63 61 6c  | that has to cal|
00001d70  6c 20 66 73 63 6b 20 79  6f 75 20 63 61 6e 20 75  |l fsck you can u|
00001d80  73 65 20 73 6f 6d 65 74  68 69 6e 67 0a 6c 69 6b  |se something.lik|
00001d90  65 20 74 68 69 73 3a 0a  0a 20 69 66 20 28 73 79  |e this:.. if (sy|
00001da0  73 74 65 6d 28 22 66 73  63 6b 20 2e 2e 2e 22 29  |stem("fsck ...")|
00001db0  3d 3d 30 29 20 7b 0a 20  20 20 2f 2a 20 6d 61 70  |==0) {.   /* map|
00001dc0  20 67 6f 6f 64 20 2a 2f  0a 20 7d 0a 20 65 6c 73  | good */. }. els|
00001dd0  65 20 7b 0a 20 20 20 2f  2a 20 73 6f 6d 65 20 70  |e {.   /* some p|
00001de0  72 6f 62 6c 65 6d 20 6f  63 63 75 72 72 65 64 20  |roblem occurred |
00001df0  28 6e 6f 74 20 6e 65 63  65 73 73 61 69 72 69 6c  |(not necessairil|
00001e00  79 20 6d 61 70 20 62 72  6f 6b 65 6e 21 29 20 2a  |y map broken!) *|
00001e10  2f 0a 20 20 20 2f 2a 20  63 68 65 63 6b 20 66 73  |/.   /* check fs|
00001e20  63 6b 24 52 65 74 75 72  6e 43 6f 64 65 20 66 6f  |ck$ReturnCode fo|
00001e30  72 20 6d 6f 72 65 20 69  6e 66 6f 72 6d 61 74 69  |r more informati|
00001e40  6f 6e 73 20 2a 2f 0a 20  7d 0a 0a 49 66 20 79 6f  |ons */. }..If yo|
00001e50  75 20 64 6f 6e 27 74 20  77 61 6e 74 20 74 6f 20  |u don't want to |
00001e60  28 6f 72 20 63 61 6e 27  74 29 20 63 68 65 63 6b  |(or can't) check|
00001e70  20 74 68 65 20 72 65 74  75 72 6e 20 73 74 61 74  | the return stat|
00001e80  75 73 20 79 6f 75 20 63  61 6e 20 6a 75 73 74 20  |us you can just |
00001e90  63 68 65 63 6b 0a 74 68  65 20 76 61 6c 75 65 20  |check.the value |
00001ea0  6f 66 20 66 73 63 6b 24  52 65 74 75 72 6e 43 6f  |of fsck$ReturnCo|
00001eb0  64 65 2e 0a 0a 0a 4e 6f  74 65 73 0a 2d 2d 2d 2d  |de....Notes.----|
00001ec0  2d 0a 0a 66 73 63 6b 20  69 73 20 32 30 2d 33 30  |-..fsck is 20-30|
00001ed0  25 20 66 61 73 74 65 72  20 74 68 61 6e 20 43 68  |% faster than Ch|
00001ee0  65 63 6b 4d 61 70 20 28  61 63 74 75 61 6c 6c 79  |eckMap (actually|
00001ef0  2c 20 75 70 20 74 6f 20  35 30 25 20 66 61 73 74  |, up to 50% fast|
00001f00  65 72 20 6f 6e 20 62 69  67 20 61 6e 64 0a 66 75  |er on big and.fu|
00001f10  6c 6c 20 64 72 69 76 65  73 21 29 2e 20 49 66 20  |ll drives!). If |
00001f20  79 6f 75 20 72 65 61 6c  6c 79 20 6c 69 6b 65 20  |you really like |
00001f30  43 68 65 63 6b 4d 61 70  27 73 20 6f 75 74 70 75  |CheckMap's outpu|
00001f40  74 20 69 6e 73 74 65 61  64 20 6f 66 20 66 73 63  |t instead of fsc|
00001f50  6b 27 73 20 6f 6e 65 2c  0a 79 6f 75 20 63 61 6e  |k's one,.you can|
00001f60  20 75 73 65 20 74 68 65  20 2d 63 20 6f 70 74 69  | use the -c opti|
00001f70  6f 6e 20 73 6f 20 74 68  61 74 20 66 73 63 6b 20  |on so that fsck |
00001f80  77 69 6c 6c 20 70 72 69  6e 74 20 74 68 65 20 64  |will print the d|
00001f90  69 72 65 63 74 6f 72 79  20 74 72 65 65 20 61 73  |irectory tree as|
00001fa0  20 69 74 0a 70 72 6f 63  65 65 64 73 20 77 69 74  | it.proceeds wit|
00001fb0  68 20 74 68 65 20 73 63  61 6e 2e 20 59 6f 75 20  |h the scan. You |
00001fc0  63 61 6e 20 65 76 65 6e  74 75 61 6c 6c 79 20 69  |can eventually i|
00001fd0  6e 63 6c 75 64 65 20 74  68 65 20 66 6f 6c 6c 6f  |nclude the follo|
00001fe0  77 69 6e 67 20 61 6c 69  61 73 20 69 6e 0a 79 6f  |wing alias in.yo|
00001ff0  75 72 20 62 6f 6f 74 20  73 65 71 75 65 6e 63 65  |ur boot sequence|
00002000  20 73 6f 20 74 68 61 74  20 79 6f 75 20 63 61 6e  | so that you can|
00002010  20 73 74 69 6c 6c 20 77  72 69 74 65 20 27 43 68  | still write 'Ch|
00002020  65 63 6b 4d 61 70 27 20  65 76 65 6e 20 69 66 20  |eckMap' even if |
00002030  27 66 73 63 6b 27 20 69  73 0a 74 68 65 20 63 6f  |'fsck' is.the co|
00002040  6d 6d 61 6e 64 20 61 63  74 75 61 6c 6c 79 20 65  |mmand actually e|
00002050  78 65 63 75 74 65 64 20  28 66 73 63 6b 20 73 68  |xecuted (fsck sh|
00002060  6f 75 6c 64 20 62 65 20  72 65 61 63 68 61 62 6c  |ould be reachabl|
00002070  65 20 76 69 61 20 52 75  6e 24 50 61 74 68 2c 20  |e via Run$Path, |
00002080  66 6f 72 0a 65 78 61 6d  70 6c 65 2c 20 70 75 74  |for.example, put|
00002090  20 69 74 20 69 6e 20 74  68 65 20 4c 69 62 72 61  | it in the Libra|
000020a0  72 79 20 64 69 72 65 63  74 6f 72 79 29 3a 0a 53  |ry directory):.S|
000020b0  65 74 20 41 6c 69 61 73  24 43 68 65 63 6b 4d 61  |et Alias$CheckMa|
000020c0  70 20 22 66 73 63 6b 20  2d 63 20 22 20 20 20 20  |p "fsck -c "    |
000020d0  20 20 20 5b 74 72 79 20  22 66 73 63 6b 20 2d 73  |   [try "fsck -s|
000020e0  20 22 20 66 6f 72 20 61  20 6d 6f 72 65 20 75 73  | " for a more us|
000020f0  65 66 75 6c 20 6f 75 74  70 75 74 5d 0a 0a 41 6e  |eful output]..An|
00002100  79 77 61 79 2c 20 66 73  63 6b 20 63 61 6e 20 61  |yway, fsck can a|
00002110  6c 73 6f 20 62 65 20 75  73 65 64 20 74 6f 20 73  |lso be used to s|
00002120  68 6f 77 20 74 68 65 20  22 46 72 65 65 20 73 70  |how the "Free sp|
00002130  61 63 65 20 63 68 75 6e  6b 73 0a 73 74 61 74 69  |ace chunks.stati|
00002140  73 74 69 63 73 22 20 6f  72 20 74 6f 20 63 61 6c  |stics" or to cal|
00002150  63 75 6c 61 74 65 20 73  6f 6d 65 20 73 74 61 74  |culate some stat|
00002160  69 73 74 69 63 73 20 61  62 6f 75 74 20 74 68 65  |istics about the|
00002170  20 66 69 6c 65 73 20 61  6c 6c 6f 63 61 74 69 6f  | files allocatio|
00002180  6e 20 75 73 69 6e 67 0a  74 68 65 20 2d 73 20 6f  |n using.the -s o|
00002190  70 74 69 6f 6e 20 28 6e  6f 74 20 69 6e 20 63 6f  |ption (not in co|
000021a0  6e 6a 75 6e 63 74 69 6f  6e 20 77 69 74 68 20 2d  |njunction with -|
000021b0  63 2c 20 74 68 6f 75 67  68 29 2e 0a 54 68 65 20  |c, though)..The |
000021c0  22 46 72 65 65 20 73 70  61 63 65 20 63 68 75 6e  |"Free space chun|
000021d0  6b 73 20 73 74 61 74 69  73 74 69 63 73 22 20 61  |ks statistics" a|
000021e0  72 65 20 61 6c 77 61 79  73 20 73 68 6f 77 6e 20  |re always shown |
000021f0  75 6e 6c 65 73 73 20 74  68 65 20 2d 71 20 6f 72  |unless the -q or|
00002200  20 2d 63 0a 6f 70 74 69  6f 6e 73 20 68 61 76 65  | -c.options have|
00002210  20 62 65 65 6e 20 73 70  65 63 69 66 69 65 64 3a  | been specified:|
00002220  20 69 6e 20 67 65 6e 65  72 61 6c 2c 20 77 69 74  | in general, wit|
00002230  68 20 61 20 68 69 67 68  20 6e 75 6d 62 65 72 20  |h a high number |
00002240  6f 66 20 28 73 6d 61 6c  6c 29 20 66 72 65 65 0a  |of (small) free.|
00002250  73 70 61 63 65 20 63 68  75 6e 6b 73 2c 20 52 49  |space chunks, RI|
00002260  53 43 20 4f 53 20 77 69  6c 6c 20 62 65 20 73 6c  |SC OS will be sl|
00002270  6f 77 65 72 20 77 68 65  6e 20 73 61 76 69 6e 67  |ower when saving|
00002280  20 66 69 6c 65 73 20 62  65 63 61 75 73 65 20 69  | files because i|
00002290  74 20 77 69 6c 6c 20 74  72 79 20 74 6f 0a 64 6f  |t will try to.do|
000022a0  20 61 6e 20 61 75 74 6f  2d 43 6f 6d 70 61 63 74  | an auto-Compact|
000022b0  20 61 6e 64 20 28 74 68  69 73 20 69 73 20 6d 79  | and (this is my|
000022c0  20 70 65 72 73 6f 6e 61  6c 20 6f 70 69 6e 69 6f  | personal opinio|
000022d0  6e 29 20 74 68 65 72 65  20 77 69 6c 6c 20 62 65  |n) there will be|
000022e0  20 6d 6f 72 65 0a 70 6f  73 73 69 62 69 6c 69 74  | more.possibilit|
000022f0  79 20 74 68 61 74 20 79  6f 75 72 20 64 69 73 63  |y that your disc|
00002300  20 77 69 6c 6c 20 62 65  63 6f 6d 65 20 63 6f 72  | will become cor|
00002310  72 75 70 74 65 64 2e 20  53 6f 2c 20 49 20 74 68  |rupted. So, I th|
00002320  69 6e 6b 20 74 68 61 74  20 69 6e 20 74 68 69 73  |ink that in this|
00002330  0a 63 61 73 65 20 79 6f  75 20 6e 65 65 64 20 74  |.case you need t|
00002340  6f 20 43 6f 6d 70 61 63  74 20 79 6f 75 72 20 64  |o Compact your d|
00002350  69 73 63 2c 20 65 76 65  6e 74 75 61 6c 6c 79 20  |isc, eventually |
00002360  6d 6f 72 65 20 74 68 61  6e 20 6f 6e 63 65 2c 20  |more than once, |
00002370  74 6f 20 74 72 79 20 74  6f 0a 6c 6f 77 65 72 20  |to try to.lower |
00002380  74 68 65 20 6e 75 6d 62  65 72 20 6f 66 20 66 72  |the number of fr|
00002390  65 65 20 73 70 61 63 65  20 63 68 75 6e 6b 73 20  |ee space chunks |
000023a0  61 6e 64 20 74 6f 20 69  6e 63 72 65 61 73 65 20  |and to increase |
000023b0  74 68 65 69 72 20 73 69  7a 65 2e 0a 0a 52 65 6d  |their size...Rem|
000023c0  65 6d 62 65 72 20 74 68  61 74 20 69 74 20 69 73  |ember that it is|
000023d0  20 62 65 74 74 65 72 20  69 66 20 79 6f 75 20 63  | better if you c|
000023e0  6c 6f 73 65 20 61 6c 6c  20 74 68 65 20 6f 70 65  |lose all the ope|
000023f0  6e 20 66 69 6c 65 73 20  6f 6e 20 74 68 65 20 64  |n files on the d|
00002400  69 73 63 20 74 68 61 74  0a 66 73 63 6b 20 69 73  |isc that.fsck is|
00002410  20 65 78 61 6d 69 6e 69  6e 67 20 28 69 65 2e 20  | examining (ie. |
00002420  64 6f 6e 27 74 20 2a 73  70 6f 6f 6c 20 6f 6e 20  |don't *spool on |
00002430  69 74 21 21 29 2e 20 49  66 20 79 6f 75 20 72 75  |it!!). If you ru|
00002440  6e 20 66 73 63 6b 20 69  6e 20 61 20 54 61 73 6b  |n fsck in a Task|
00002450  57 69 6e 64 6f 77 0a 72  65 6d 65 6d 62 65 72 20  |Window.remember |
00002460  74 6f 20 61 76 6f 69 64  20 61 6e 79 20 73 61 76  |to avoid any sav|
00002470  69 6e 67 20 6f 66 20 64  61 74 61 20 6f 6e 20 74  |ing of data on t|
00002480  68 61 74 20 64 69 73 63  20 77 68 69 6c 65 20 66  |hat disc while f|
00002490  73 63 6b 20 69 73 20 72  75 6e 6e 69 6e 67 0a 62  |sck is running.b|
000024a0  65 63 61 75 73 65 20 74  68 69 73 20 77 69 6c 6c  |ecause this will|
000024b0  20 68 61 76 65 20 56 45  52 59 20 56 45 52 59 20  | have VERY VERY |
000024c0  44 41 4e 47 45 52 4f 55  53 20 63 6f 6e 73 65 71  |DANGEROUS conseq|
000024d0  75 65 6e 63 65 73 20 69  66 20 79 6f 75 20 75 73  |uences if you us|
000024e0  65 20 74 68 65 20 2d 66  0a 6f 70 74 69 6f 6e 21  |e the -f.option!|
000024f0  21 21 0a 0a 49 66 20 73  6f 6d 65 20 66 69 6c 65  |!!..If some file|
00002500  20 69 73 20 63 6f 72 72  75 70 74 65 64 2c 20 66  | is corrupted, f|
00002510  73 63 6b 20 77 69 6c 6c  20 74 65 6c 6c 20 79 6f  |sck will tell yo|
00002520  75 20 74 6f 20 65 6c 69  6d 69 6e 61 74 65 20 69  |u to eliminate i|
00002530  74 20 62 65 66 6f 72 65  20 74 72 79 69 6e 67 0a  |t before trying.|
00002540  74 6f 20 66 69 78 20 74  68 65 20 64 69 73 63 20  |to fix the disc |
00002550  28 69 66 20 79 6f 75 20  77 65 72 65 20 61 6c 72  |(if you were alr|
00002560  65 61 64 79 20 74 72 79  69 6e 67 20 74 6f 20 66  |eady trying to f|
00002570  69 78 20 74 68 65 20 64  69 73 63 20 74 68 65 20  |ix the disc the |
00002580  66 69 78 69 6e 67 20 77  69 6c 6c 20 62 65 0a 64  |fixing will be.d|
00002590  69 73 61 62 6c 65 64 29  3a 20 62 65 66 6f 72 65  |isabled): before|
000025a0  20 74 68 69 73 2c 20 74  72 79 20 74 6f 20 6c 6f  | this, try to lo|
000025b0  61 64 20 74 68 65 20 66  69 6c 65 20 61 6e 64 20  |ad the file and |
000025c0  69 66 20 52 49 53 43 20  4f 53 20 64 6f 65 73 6e  |if RISC OS doesn|
000025d0  27 74 20 68 61 6e 67 20  79 6f 75 0a 63 6f 75 6c  |'t hang you.coul|
000025e0  64 20 62 65 20 61 62 6c  65 20 74 6f 20 73 61 76  |d be able to sav|
000025f0  65 20 74 68 65 20 66 69  6c 65 20 73 6f 6d 65 77  |e the file somew|
00002600  68 65 72 65 20 62 65 66  6f 72 65 20 64 65 6c 65  |here before dele|
00002610  74 69 6e 67 20 74 68 65  20 6f 72 69 67 69 6e 61  |ting the origina|
00002620  6c 2e 0a 0a 49 74 20 69  73 20 70 6f 73 73 69 62  |l...It is possib|
00002630  6c 65 20 74 6f 20 72 65  6c 69 6e 6b 20 74 68 65  |le to relink the|
00002640  20 66 69 6c 65 73 20 64  69 72 65 63 74 6c 79 20  | files directly |
00002650  69 6e 20 74 68 65 20 72  6f 6f 74 20 64 69 72 65  |in the root dire|
00002660  63 74 6f 72 79 3a 20 74  6f 20 64 6f 20 73 6f 2c  |ctory: to do so,|
00002670  0a 6a 75 73 74 20 73 70  65 63 69 66 79 20 27 24  |.just specify '$|
00002680  27 20 61 73 20 72 65 6c  69 6e 6b 20 64 69 72 65  |' as relink dire|
00002690  63 74 6f 72 79 20 75 73  69 6e 67 20 74 68 65 20  |ctory using the |
000026a0  2d 64 20 6f 70 74 69 6f  6e 2e 20 54 68 69 73 20  |-d option. This |
000026b0  66 65 61 74 75 72 65 73  0a 73 68 6f 75 6c 64 20  |features.should |
000026c0  6f 6e 6c 79 20 62 65 20  75 73 65 64 20 69 66 20  |only be used if |
000026d0  79 6f 75 20 63 61 6e 27  74 20 75 73 65 20 61 6e  |you can't use an|
000026e0  79 20 6f 74 68 65 72 20  64 69 72 65 63 74 6f 72  |y other director|
000026f0  79 20 28 65 67 20 74 68  65 20 64 69 73 63 20 69  |y (eg the disc i|
00002700  73 20 66 75 6c 6c 0a 61  6e 64 20 74 68 65 72 65  |s full.and there|
00002710  20 61 72 65 20 6e 6f 20  64 69 72 65 63 74 6f 72  | are no director|
00002720  69 65 73 20 6f 6e 20 69  74 21 29 20 73 69 6e 63  |ies on it!) sinc|
00002730  65 20 74 68 69 73 20 6d  61 79 20 62 65 20 70 6f  |e this may be po|
00002740  74 65 6e 74 69 61 6c 6c  79 20 64 61 6e 67 65 72  |tentially danger|
00002750  6f 75 73 2e 0a 0a 0a 45  78 74 72 61 20 66 65 61  |ous....Extra fea|
00002760  74 75 72 65 73 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |tures.----------|
00002770  2d 2d 2d 2d 0a 0a 52 65  67 69 73 74 65 72 65 64  |----..Registered|
00002780  20 76 65 72 73 69 6f 6e  73 20 77 69 6c 6c 20 73  | versions will s|
00002790  75 70 70 6f 72 74 20 27  62 69 67 27 20 64 69 73  |upport 'big' dis|
000027a0  63 73 20 28 73 65 65 20  74 68 65 20 22 66 73 63  |cs (see the "fsc|
000027b0  6b 20 61 6e 64 20 27 62  69 67 27 20 64 69 73 63  |k and 'big' disc|
000027c0  73 22 0a 73 65 63 74 69  6f 6e 29 20 77 68 69 6c  |s".section) whil|
000027d0  65 20 74 68 65 20 75 6e  72 65 67 69 73 74 65 72  |e the unregister|
000027e0  65 64 20 76 65 72 73 69  6f 6e 20 77 69 6c 6c 20  |ed version will |
000027f0  72 65 66 75 73 65 20 74  6f 20 77 6f 72 6b 20 6f  |refuse to work o|
00002800  6e 20 74 68 65 6d 2e 0a  0a 4e 6f 20 73 70 65 63  |n them...No spec|
00002810  69 61 6c 20 66 65 61 74  75 72 65 73 20 63 6f 64  |ial features cod|
00002820  65 20 69 73 20 63 75 72  72 65 6e 74 6c 79 20 72  |e is currently r|
00002830  65 63 6f 67 6e 69 73 65  64 2e 0a 0a 0a 44 69 73  |ecognised....Dis|
00002840  63 6c 61 69 6d 65 72 0a  2d 2d 2d 2d 2d 2d 2d 2d  |claimer.--------|
00002850  2d 2d 0a 0a 45 76 65 6e  20 69 66 20 66 73 63 6b  |--..Even if fsck|
00002860  20 2a 63 61 6e 2a 20 77  72 69 74 65 20 74 6f 20  | *can* write to |
00002870  74 68 65 20 6d 61 70 2c  20 74 68 69 73 20 69 73  |the map, this is|
00002880  20 67 65 6e 65 72 61 6c  6c 79 20 6e 6f 74 20 64  | generally not d|
00002890  61 6e 67 65 72 6f 75 73  20 73 69 6e 63 65 20 69  |angerous since i|
000028a0  74 0a 6f 6e 6c 79 20 6d  6f 64 69 66 69 65 73 20  |t.only modifies |
000028b0  74 68 65 20 49 44 73 20  6f 66 20 74 68 65 20 6c  |the IDs of the l|
000028c0  6f 73 74 20 66 69 6c 65  73 2e 20 41 6e 79 77 61  |ost files. Anywa|
000028d0  79 2c 20 79 6f 75 20 61  72 65 20 61 64 76 69 73  |y, you are advis|
000028e0  65 64 20 74 6f 20 75 73  65 0a 68 61 72 64 66 69  |ed to use.hardfi|
000028f0  78 20 74 6f 20 73 61 76  65 20 74 68 65 20 64 69  |x to save the di|
00002900  73 63 20 64 61 74 61 20  62 65 66 6f 72 65 20 75  |sc data before u|
00002910  73 69 6e 67 20 66 73 63  6b 2c 20 73 6f 20 74 68  |sing fsck, so th|
00002920  61 74 20 79 6f 75 20 77  69 6c 6c 20 62 65 20 61  |at you will be a|
00002930  62 6c 65 20 74 6f 0a 72  65 73 74 6f 72 65 20 69  |ble to.restore i|
00002940  74 20 69 6e 20 63 61 73  65 20 73 6f 6d 65 74 68  |t in case someth|
00002950  69 6e 67 20 67 6f 65 73  20 77 72 6f 6e 67 2e 20  |ing goes wrong. |
00002960  49 66 20 74 68 65 20 72  65 6c 69 6e 6b 65 64 20  |If the relinked |
00002970  66 69 6c 65 73 20 61 72  65 20 28 66 6f 72 20 73  |files are (for s|
00002980  6f 6d 65 0a 6d 79 73 74  65 72 69 6f 75 73 20 72  |ome.mysterious r|
00002990  65 61 73 6f 6e 29 20 75  6e 72 65 61 64 61 62 6c  |eason) unreadabl|
000029a0  65 20 6f 72 20 75 6e 64  65 6c 65 74 61 62 6c 65  |e or undeletable|
000029b0  20 79 6f 75 20 73 68 6f  75 6c 64 20 6a 75 73 74  | you should just|
000029c0  20 75 73 65 20 65 6c 69  6d 69 6e 61 74 65 20 6f  | use eliminate o|
000029d0  6e 0a 74 68 65 6d 20 61  6e 64 20 79 6f 75 72 20  |n.them and your |
000029e0  64 69 73 63 20 73 68 6f  75 6c 64 20 62 65 20 61  |disc should be a|
000029f0  73 20 63 6f 72 72 75 70  74 65 64 20 61 73 20 62  |s corrupted as b|
00002a00  65 66 6f 72 65 2e 0a 0a  41 6e 79 77 61 79 2c 20  |efore...Anyway, |
00002a10  6d 6f 64 69 66 79 69 6e  67 20 74 68 65 20 64 69  |modifying the di|
00002a20  73 63 20 6d 61 70 20 61  6e 64 20 74 68 65 20 64  |sc map and the d|
00002a30  69 72 65 63 74 6f 72 79  20 74 72 65 65 20 63 61  |irectory tree ca|
00002a40  6e 20 61 6c 77 61 79 73  20 62 65 0a 64 61 6e 67  |n always be.dang|
00002a50  65 72 6f 75 73 3a 20 69  66 20 66 73 63 6b 20 63  |erous: if fsck c|
00002a60  6f 72 72 75 70 74 73 20  79 6f 75 72 20 64 69 73  |orrupts your dis|
00002a70  63 20 28 6f 72 20 69 66  20 74 68 65 20 64 69 73  |c (or if the dis|
00002a80  63 20 62 65 63 6f 6d 65  73 20 63 6f 72 72 75 70  |c becomes corrup|
00002a90  74 65 64 20 77 68 65 6e  0a 79 6f 75 20 73 74 61  |ted when.you sta|
00002aa0  72 74 20 77 72 69 74 69  6e 67 20 74 6f 20 69 74  |rt writing to it|
00002ab0  20 61 66 74 65 72 20 75  73 69 6e 67 20 66 73 63  | after using fsc|
00002ac0  6b 29 2c 20 49 20 61 6d  20 73 6f 72 72 79 20 66  |k), I am sorry f|
00002ad0  6f 72 20 79 6f 75 20 62  75 74 20 49 20 41 4d 20  |or you but I AM |
00002ae0  4e 4f 54 0a 52 45 53 50  4f 4e 53 49 42 4c 45 20  |NOT.RESPONSIBLE |
00002af0  66 6f 72 20 61 6e 79 20  6c 6f 73 73 20 6f 66 20  |for any loss of |
00002b00  64 61 74 61 20 6f 6e 20  79 6f 75 72 20 64 69 73  |data on your dis|
00002b10  63 73 2c 20 73 6f 20 75  73 65 20 66 73 63 6b 20  |cs, so use fsck |
00002b20  61 74 20 79 6f 75 72 20  6f 77 6e 20 72 69 73 6b  |at your own risk|
00002b30  2e 0a 41 73 20 79 6f 75  20 63 61 6e 20 73 65 65  |..As you can see|
00002b40  20 66 72 6f 6d 20 74 68  65 20 6c 69 73 74 20 62  | from the list b|
00002b50  65 6c 6f 77 2c 20 66 73  63 6b 20 77 6f 72 6b 65  |elow, fsck worke|
00002b60  64 20 6f 6e 20 6d 61 6e  79 20 64 69 73 63 73 20  |d on many discs |
00002b70  61 6e 64 20 69 74 20 6e  65 76 65 72 0a 63 6f 72  |and it never.cor|
00002b80  72 75 70 74 65 64 20 61  6e 79 74 68 69 6e 67 2e  |rupted anything.|
00002b90  20 53 6f 6d 65 74 69 6d  65 73 2c 20 49 20 69 6e  | Sometimes, I in|
00002ba0  74 65 6e 74 69 6f 6e 61  6c 6c 79 20 63 6f 72 72  |tentionally corr|
00002bb0  75 70 74 20 6d 79 20 64  69 73 63 20 74 6f 20 73  |upt my disc to s|
00002bc0  65 65 20 69 66 20 74 68  65 0a 6e 65 77 20 76 65  |ee if the.new ve|
00002bd0  72 73 69 6f 6e 73 20 77  6f 72 6b 20 61 6e 64 20  |rsions work and |
00002be0  68 61 76 65 20 6e 65 76  65 72 20 65 78 70 65 72  |have never exper|
00002bf0  69 65 6e 63 65 64 20 61  6e 79 20 70 72 6f 62 6c  |ienced any probl|
00002c00  65 6d 21 0a 0a 46 69 6e  61 6c 6c 79 2c 20 72 65  |em!..Finally, re|
00002c10  6d 65 6d 62 65 72 20 74  68 61 74 20 75 6e 6c 65  |member that unle|
00002c20  73 73 20 79 6f 75 20 73  70 65 63 69 66 79 20 74  |ss you specify t|
00002c30  68 65 20 2d 66 20 6f 70  74 69 6f 6e 2c 20 66 73  |he -f option, fs|
00002c40  63 6b 20 77 69 6c 6c 20  6e 6f 74 20 77 72 69 74  |ck will not writ|
00002c50  65 0a 74 6f 20 79 6f 75  72 20 64 69 73 63 20 61  |e.to your disc a|
00002c60  6e 64 20 79 6f 75 20 61  72 65 20 65 6e 63 6f 75  |nd you are encou|
00002c70  72 61 67 65 64 20 74 6f  20 6d 61 6b 65 20 61 20  |raged to make a |
00002c80  62 61 63 6b 75 70 20 63  6f 70 79 20 6f 66 20 79  |backup copy of y|
00002c90  6f 75 72 20 69 6d 70 6f  72 74 61 6e 74 0a 64 61  |our important.da|
00002ca0  74 61 20 61 6e 64 20 74  6f 20 73 61 76 65 20 74  |ta and to save t|
00002cb0  68 65 20 64 69 73 63 20  64 61 74 61 20 75 73 69  |he disc data usi|
00002cc0  6e 67 20 68 61 72 64 66  69 78 20 62 65 66 6f 72  |ng hardfix befor|
00002cd0  65 20 72 75 6e 6e 69 6e  67 20 66 73 63 6b 20 2d  |e running fsck -|
00002ce0  66 2e 0a 0a 0a 4c 69 6d  69 74 61 74 69 6f 6e 73  |f....Limitations|
00002cf0  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0a 0a 66 73  |.-----------..fs|
00002d00  63 6b 20 63 61 6e 27 74  20 66 69 78 20 73 65 72  |ck can't fix ser|
00002d10  69 6f 75 73 6c 79 20 64  61 6d 61 67 65 64 20 64  |iously damaged d|
00002d20  69 73 63 73 20 61 6c 6f  6e 65 3a 20 69 6e 20 74  |iscs alone: in t|
00002d30  68 69 73 20 63 61 73 65  20 69 74 20 77 69 6c 6c  |his case it will|
00002d40  20 61 73 6b 20 79 6f 75  20 74 6f 0a 72 75 6e 20  | ask you to.run |
00002d50  65 6c 69 6d 69 6e 61 74  65 20 6f 72 20 68 61 72  |eliminate or har|
00002d60  64 66 69 78 20 74 6f 20  66 69 78 20 77 68 61 74  |dfix to fix what|
00002d70  20 69 74 20 63 61 6e 27  74 2e 0a 0a 66 73 63 6b  | it can't...fsck|
00002d80  20 64 6f 65 73 6e 27 74  20 66 69 78 20 64 69 73  | doesn't fix dis|
00002d90  63 73 20 74 68 61 74 20  63 6f 6e 74 61 69 6e 20  |cs that contain |
00002da0  74 77 6f 20 28 6f 72 20  6d 6f 72 65 29 20 66 69  |two (or more) fi|
00002db0  6c 65 73 20 77 69 74 68  20 74 68 65 20 73 61 6d  |les with the sam|
00002dc0  65 20 53 49 4e 2e 20 49  6e 0a 74 68 69 73 20 63  |e SIN. In.this c|
00002dd0  61 73 65 20 2a 43 68 65  63 6b 4d 61 70 20 77 69  |ase *CheckMap wi|
00002de0  6c 6c 20 68 61 6e 67 20  77 68 69 6c 65 20 66 73  |ll hang while fs|
00002df0  63 6b 20 77 69 6c 6c 20  6a 75 73 74 20 72 65 70  |ck will just rep|
00002e00  6f 72 74 20 22 4d 61 70  20 67 6f 6f 64 22 2e 0a  |ort "Map good"..|
00002e10  0a 0a 42 75 67 73 0a 2d  2d 2d 2d 0a 0a 53 6f 6d  |..Bugs.----..Som|
00002e20  65 74 69 6d 65 73 2c 20  6f 6e 20 68 65 61 76 69  |etimes, on heavi|
00002e30  6c 79 20 64 61 6d 61 67  65 64 20 64 69 73 63 73  |ly damaged discs|
00002e40  2c 20 79 6f 75 20 6e 65  65 64 20 74 6f 20 72 75  |, you need to ru|
00002e50  6e 20 66 73 63 6b 20 6d  6f 72 65 20 74 68 61 6e  |n fsck more than|
00002e60  20 6f 6e 63 65 20 65 76  65 6e 0a 69 66 20 69 74  | once even.if it|
00002e70  20 64 6f 65 73 6e 27 74  20 74 65 6c 6c 20 79 6f  | doesn't tell yo|
00002e80  75 20 74 6f 20 64 6f 20  73 6f 2e 0a 0a 66 73 63  |u to do so...fsc|
00002e90  6b 20 63 6f 75 6c 64 20  68 61 76 65 20 70 72 6f  |k could have pro|
00002ea0  62 6c 65 6d 73 20 77 69  74 68 20 52 49 53 43 69  |blems with RISCi|
00002eb0  58 20 70 61 72 74 69 74  69 6f 6e 65 64 20 64 69  |X partitioned di|
00002ec0  73 63 73 3a 20 69 74 20  77 6f 72 6b 73 20 77 69  |scs: it works wi|
00002ed0  74 68 20 74 68 65 0a 52  49 53 43 69 58 20 70 61  |th the.RISCiX pa|
00002ee0  72 74 69 74 69 6f 6e 65  64 20 64 69 73 63 73 20  |rtitioned discs |
00002ef0  49 20 74 72 69 65 64 20  69 74 20 6f 6e 2c 20 62  |I tried it on, b|
00002f00  75 74 20 49 20 63 61 6e  6e 6f 74 20 62 65 20 73  |ut I cannot be s|
00002f10  75 72 65 20 69 74 20 77  69 6c 6c 20 77 6f 72 6b  |ure it will work|
00002f20  20 6f 6e 0a 79 6f 75 72  73 2c 20 74 6f 6f 2e 20  | on.yours, too. |
00002f30  49 66 20 79 6f 75 20 68  61 76 65 20 73 75 63 68  |If you have such|
00002f40  20 61 20 64 69 73 63 20  61 6e 64 20 66 73 63 6b  | a disc and fsck|
00002f50  20 72 65 70 6f 72 74 73  20 73 74 72 61 6e 67 65  | reports strange|
00002f60  20 65 72 72 6f 72 73 20  28 6f 72 20 73 61 79 73  | errors (or says|
00002f70  0a 74 6f 20 72 75 6e 20  68 61 72 64 66 69 78 20  |.to run hardfix |
00002f80  74 6f 20 66 69 78 20 69  74 29 20 70 6c 65 61 73  |to fix it) pleas|
00002f90  65 20 6d 61 69 6c 20 6d  65 20 74 68 65 20 6c 6f  |e mail me the lo|
00002fa0  67 66 69 6c 65 20 61 6e  64 20 28 6d 6f 72 65 20  |gfile and (more |
00002fb0  69 6d 70 6f 72 74 61 6e  74 29 20 74 68 65 0a 64  |important) the.d|
00002fc0  69 73 63 20 64 61 74 61  20 73 61 76 65 64 20 62  |isc data saved b|
00002fd0  79 20 68 61 72 64 66 69  78 2e 0a 0a 0a 52 65 73  |y hardfix....Res|
00002fe0  75 6c 74 73 20 61 63 68  69 65 76 65 64 20 75 70  |ults achieved up|
00002ff0  20 74 6f 20 6e 6f 77 0a  2d 2d 2d 2d 2d 2d 2d 2d  | to now.--------|
00003000  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00003010  2d 2d 0a 0a 49 20 77 61  6e 74 65 64 20 74 6f 20  |--..I wanted to |
00003020  6d 61 69 6e 74 61 69 6e  20 61 20 6c 69 73 74 20  |maintain a list |
00003030  6f 66 20 64 69 73 63 20  73 75 63 63 65 73 73 66  |of disc successf|
00003040  75 6c 6c 79 20 66 69 78  65 64 20 62 79 20 66 73  |ully fixed by fs|
00003050  63 6b 20 73 6f 20 74 68  61 74 20 70 65 6f 70 6c  |ck so that peopl|
00003060  65 0a 63 6f 75 6c 64 20  73 65 65 20 74 68 61 74  |e.could see that|
00003070  20 69 74 20 61 63 74 75  61 6c 6c 79 20 77 6f 72  | it actually wor|
00003080  6b 65 64 20 6f 6e 20 73  6f 6d 65 6f 6e 65 27 73  |ked on someone's|
00003090  20 64 69 73 63 3a 20 6e  6f 77 20 74 68 69 73 20  | disc: now this |
000030a0  6c 69 73 74 20 69 73 20  67 72 6f 77 6e 0a 61 6e  |list is grown.an|
000030b0  64 20 63 6f 6e 74 61 69  6e 73 20 61 20 6c 6f 74  |d contains a lot|
000030c0  20 6f 66 20 64 69 66 66  65 72 65 6e 74 20 63 6f  | of different co|
000030d0  6e 66 69 67 75 72 61 74  69 6f 6e 73 20 73 6f 20  |nfigurations so |
000030e0  49 20 74 68 69 6e 6b 20  49 27 6c 6c 20 73 74 6f  |I think I'll sto|
000030f0  70 20 61 64 64 69 6e 67  0a 6e 65 77 20 64 69 73  |p adding.new dis|
00003100  63 73 20 74 6f 20 69 74  20 28 61 6c 74 68 6f 75  |cs to it (althou|
00003110  67 68 20 49 27 6c 6c 20  61 64 64 20 61 6e 79 20  |gh I'll add any |
00003120  27 4e 65 67 61 74 69 76  65 20 72 65 73 75 6c 74  |'Negative result|
00003130  27 29 2e 20 48 6f 77 65  76 65 72 2c 20 49 27 64  |'). However, I'd|
00003140  20 6c 69 6b 65 0a 74 6f  20 61 64 64 20 61 6e 79  | like.to add any|
00003150  20 6f 74 68 65 72 20 27  73 74 72 61 6e 67 65 27  | other 'strange'|
00003160  20 63 6f 6e 66 69 67 75  72 61 74 69 6f 6e 20 28  | configuration (|
00003170  65 73 70 65 63 69 61 6c  6c 79 20 52 69 73 63 20  |especially Risc |
00003180  50 43 20 37 30 30 21 29  2c 20 69 66 20 79 6f 75  |PC 700!), if you|
00003190  0a 68 61 76 65 20 6f 6e  65 20 61 6e 64 20 66 73  |.have one and fs|
000031a0  63 6b 20 66 69 78 65 64  20 79 6f 75 72 20 64 69  |ck fixed your di|
000031b0  73 63 2c 20 6c 65 74 20  6d 65 20 6b 6e 6f 77 2e  |sc, let me know.|
000031c0  0a 0a 50 6f 73 69 74 69  76 65 20 72 65 73 75 6c  |..Positive resul|
000031d0  74 73 3a 0a 20 31 29 20  73 6f 6d 65 20 38 30 30  |ts:. 1) some 800|
000031e0  4b 20 41 44 46 53 20 66  6c 6f 70 70 79 20 28 75  |K ADFS floppy (u|
000031f0  73 65 64 20 64 75 72 69  6e 67 20 64 65 76 65 6c  |sed during devel|
00003200  6f 70 6d 65 6e 74 29 2e  0a 20 32 29 20 31 30 30  |opment).. 2) 100|
00003210  4d 62 20 49 44 45 20 28  49 43 53 20 69 6e 74 65  |Mb IDE (ICS inte|
00003220  72 66 61 63 65 29 20 70  61 72 74 69 74 69 6f 6e  |rface) partition|
00003230  65 64 20 69 6e 20 38 34  4d 62 2f 31 36 4d 62 20  |ed in 84Mb/16Mb |
00003240  28 62 6f 74 68 20 70 61  72 74 69 74 69 6f 6e 73  |(both partitions|
00003250  0a 20 20 20 20 66 69 78  65 64 29 2e 20 4f 77 6e  |.    fixed). Own|
00003260  65 72 3a 20 53 65 72 67  69 6f 20 4d 6f 6e 65 73  |er: Sergio Mones|
00003270  69 20 28 69 65 2e 20 6d  65 21 29 0a 20 33 29 20  |i (ie. me!). 3) |
00003280  31 30 30 4d 62 20 49 44  45 20 28 49 43 53 20 69  |100Mb IDE (ICS i|
00003290  6e 74 65 72 66 61 63 65  29 2e 20 4f 77 6e 65 72  |nterface). Owner|
000032a0  3a 20 43 72 69 73 74 69  61 6e 20 47 68 65 7a 7a  |: Cristian Ghezz|
000032b0  69 0a 20 34 29 20 33 31  34 4d 62 20 53 43 53 49  |i. 4) 314Mb SCSI|
000032c0  20 28 53 65 72 69 61 6c  20 50 6f 72 74 20 41 6c  | (Serial Port Al|
000032d0  70 68 61 20 53 43 53 49  20 69 6e 74 65 72 66 61  |pha SCSI interfa|
000032e0  63 65 29 2e 20 4f 77 6e  65 72 3a 20 4b 2e 20 42  |ce). Owner: K. B|
000032f0  61 69 6c 65 79 0a 20 35  29 20 36 30 4d 62 20 49  |ailey. 5) 60Mb I|
00003300  44 45 20 28 41 34 20 70  6f 72 74 61 62 6c 65 29  |DE (A4 portable)|
00003310  2e 20 4f 77 6e 65 72 3a  20 47 2e 20 43 61 73 74  |. Owner: G. Cast|
00003320  61 67 6e 6f 0a 20 36 29  20 34 38 4d 62 20 53 43  |agno. 6) 48Mb SC|
00003330  53 49 20 28 4f 61 6b 20  31 36 20 42 69 74 20 69  |SI (Oak 16 Bit i|
00003340  6e 74 65 72 66 61 63 65  29 2e 20 4f 77 6e 65 72  |nterface). Owner|
00003350  3a 20 41 2e 4d 2e 20 42  61 61 72 64 68 6f 6c 74  |: A.M. Baardholt|
00003360  0a 20 37 29 20 34 30 4d  62 20 53 54 35 30 36 2e  |. 7) 40Mb ST506.|
00003370  20 4f 77 6e 65 72 3a 20  41 2e 20 47 6f 6f 64 66  | Owner: A. Goodf|
00003380  65 6c 6c 6f 77 0a 20 38  29 20 38 30 4d 62 20 49  |ellow. 8) 80Mb I|
00003390  44 45 20 28 41 35 30 30  30 29 2e 20 4f 77 6e 65  |DE (A5000). Owne|
000033a0  72 3a 20 4a 75 6c 69 61  6e 20 57 72 69 67 68 74  |r: Julian Wright|
000033b0  0a 20 39 29 20 32 34 30  4d 62 20 53 43 53 49 20  |. 9) 240Mb SCSI |
000033c0  28 48 43 43 53 20 38 20  62 69 74 20 69 6e 74 65  |(HCCS 8 bit inte|
000033d0  72 66 61 63 65 29 20 70  61 72 74 69 74 69 6f 6e  |rface) partition|
000033e0  65 64 20 69 6e 20 32 2a  31 32 30 4d 62 2e 20 4f  |ed in 2*120Mb. O|
000033f0  77 6e 65 72 3a 20 4b 61  69 0a 20 20 20 20 53 63  |wner: Kai.    Sc|
00003400  68 6c 69 63 68 74 69 6e  67 2e 0a 31 30 29 20 32  |hlichting..10) 2|
00003410  34 35 4d 62 20 49 44 45  20 28 41 35 30 30 30 29  |45Mb IDE (A5000)|
00003420  2e 20 4f 77 6e 65 72 3a  20 48 2e 20 4d 2e 0a 31  |. Owner: H. M..1|
00003430  31 29 20 38 30 4d 62 20  49 44 45 20 28 41 35 30  |1) 80Mb IDE (A50|
00003440  30 30 29 2e 20 4f 77 6e  65 72 3a 20 4d 69 6b 65  |00). Owner: Mike|
00003450  20 48 65 6e 72 79 0a 31  32 29 20 31 32 31 4d 62  | Henry.12) 121Mb|
00003460  20 53 43 53 49 20 28 4c  69 6e 67 65 6e 75 69 74  | SCSI (Lingenuit|
00003470  79 20 53 43 53 49 20 69  6e 74 65 72 66 61 63 65  |y SCSI interface|
00003480  29 2e 20 4f 77 6e 65 72  3a 20 52 2e 20 5a 2e 0a  |). Owner: R. Z..|
00003490  31 33 29 20 31 30 30 4d  62 20 53 43 53 49 20 28  |13) 100Mb SCSI (|
000034a0  4f 61 6b 20 69 6e 74 65  72 66 61 63 65 29 2e 20  |Oak interface). |
000034b0  4f 77 6e 65 72 3a 20 4a  50 20 48 65 6e 64 72 69  |Owner: JP Hendri|
000034c0  78 0a 31 34 29 20 36 30  4d 62 20 49 44 45 20 28  |x.14) 60Mb IDE (|
000034d0  41 34 20 70 6f 72 74 61  62 6c 65 29 2e 20 4f 77  |A4 portable). Ow|
000034e0  6e 65 72 3a 20 4a 2e 20  57 61 6c 6c 61 63 65 0a  |ner: J. Wallace.|
000034f0  31 35 29 20 31 32 32 4d  62 20 53 43 53 49 20 28  |15) 122Mb SCSI (|
00003500  41 74 6f 6d 77 69 64 65  20 50 61 72 61 6c 6c 65  |Atomwide Paralle|
00003510  6c 2f 53 43 53 49 20 69  6e 74 65 72 66 61 63 65  |l/SCSI interface|
00003520  29 2e 20 4f 77 6e 65 72  3a 20 4a 2e 20 57 61 6c  |). Owner: J. Wal|
00003530  6c 61 63 65 0a 31 36 29  20 38 30 4d 62 20 49 44  |lace.16) 80Mb ID|
00003540  45 20 28 41 35 30 30 30  29 2e 20 4f 77 6e 65 72  |E (A5000). Owner|
00003550  3a 20 50 2e 20 43 61 6c  6c 61 6e 0a 31 37 29 20  |: P. Callan.17) |
00003560  32 34 30 4d 62 20 53 43  53 49 20 28 4d 6f 72 6c  |240Mb SCSI (Morl|
00003570  65 79 20 43 61 63 68 65  64 20 69 6e 74 65 72 66  |ey Cached interf|
00003580  61 63 65 29 2e 20 4f 77  6e 65 72 3a 20 50 2e 20  |ace). Owner: P. |
00003590  43 61 6c 6c 61 6e 0a 31  38 29 20 38 30 4d 62 20  |Callan.18) 80Mb |
000035a0  53 43 53 49 20 28 4d 6f  72 6c 65 79 20 43 61 63  |SCSI (Morley Cac|
000035b0  68 65 64 20 69 6e 74 65  72 66 61 63 65 29 2e 20  |hed interface). |
000035c0  4f 77 6e 65 72 3a 20 50  2e 20 43 61 6c 6c 61 6e  |Owner: P. Callan|
000035d0  0a 31 39 29 20 53 6f 6d  65 20 34 35 4d 62 20 53  |.19) Some 45Mb S|
000035e0  79 71 75 65 73 74 20 52  65 6d 6f 76 61 62 6c 65  |yquest Removable|
000035f0  20 63 61 72 74 72 69 64  67 65 73 2e 20 4f 77 6e  | cartridges. Own|
00003600  65 72 3a 20 50 2e 20 43  61 6c 6c 61 6e 20 28 74  |er: P. Callan (t|
00003610  68 69 73 20 70 6f 6f 72  20 64 75 64 65 0a 20 20  |his poor dude.  |
00003620  20 20 68 61 73 20 61 20  6c 6f 74 20 6f 66 20 64  |  has a lot of d|
00003630  69 73 63 73 2c 20 61 6c  6c 20 6f 66 20 74 68 65  |iscs, all of the|
00003640  6d 20 77 65 72 65 20 62  72 6f 6b 65 6e 2c 20 6e  |m were broken, n|
00003650  6f 77 20 73 75 63 63 65  73 73 66 75 6c 6c 79 20  |ow successfully |
00003660  66 69 78 65 64 21 21 29  0a 32 30 29 20 34 30 4d  |fixed!!).20) 40M|
00003670  62 20 53 54 35 30 36 2e  20 4f 77 6e 65 72 3a 20  |b ST506. Owner: |
00003680  47 2e 20 52 69 6c 65 79  0a 32 31 29 20 34 30 4d  |G. Riley.21) 40M|
00003690  62 20 49 44 45 20 28 53  65 72 69 61 6c 20 50 6f  |b IDE (Serial Po|
000036a0  72 74 20 69 6e 74 65 72  66 61 63 65 29 2e 20 4f  |rt interface). O|
000036b0  77 6e 65 72 3a 20 47 2e  20 52 69 6c 65 79 0a 32  |wner: G. Riley.2|
000036c0  32 29 20 34 30 4d 62 20  53 54 35 30 36 2e 20 4f  |2) 40Mb ST506. O|
000036d0  77 6e 65 72 3a 20 4d 2e  20 46 65 72 72 61 72 69  |wner: M. Ferrari|
000036e0  0a 32 33 29 20 32 34 30  4d 62 20 49 44 45 20 28  |.23) 240Mb IDE (|
000036f0  41 35 30 30 30 29 2e 20  4f 77 6e 65 72 3a 20 45  |A5000). Owner: E|
00003700  2e 20 50 66 61 72 72 0a  32 34 29 20 32 30 30 4d  |. Pfarr.24) 200M|
00003710  62 20 53 43 53 49 2e 20  4f 77 6e 65 72 3a 20 53  |b SCSI. Owner: S|
00003720  2e 20 57 69 6c 6c 69 61  6d 73 0a 32 35 29 20 35  |. Williams.25) 5|
00003730  30 30 4d 62 20 53 43 53  49 2e 20 4f 77 6e 65 72  |00Mb SCSI. Owner|
00003740  3a 20 53 2e 20 57 69 6c  6c 69 61 6d 73 0a 32 36  |: S. Williams.26|
00003750  29 20 33 31 34 4d 62 20  53 43 53 49 20 28 4d 6f  |) 314Mb SCSI (Mo|
00003760  72 6c 65 79 20 69 6e 74  65 72 66 61 63 65 29 2e  |rley interface).|
00003770  20 4f 77 6e 65 72 3a 20  43 79 20 42 6f 6f 6b 65  | Owner: Cy Booke|
00003780  72 0a 32 37 29 20 36 30  4d 62 20 49 44 45 20 28  |r.27) 60Mb IDE (|
00003790  41 34 20 70 6f 72 74 61  62 6c 65 29 2e 20 4f 77  |A4 portable). Ow|
000037a0  6e 65 72 3a 20 4d 2e 20  53 74 65 70 68 65 6e 73  |ner: M. Stephens|
000037b0  0a 32 38 29 20 31 30 35  4d 62 20 53 43 53 49 20  |.28) 105Mb SCSI |
000037c0  28 48 43 43 53 20 38 20  62 69 74 20 69 6e 74 65  |(HCCS 8 bit inte|
000037d0  72 66 61 63 65 29 2e 20  4f 77 6e 65 72 2e 20 53  |rface). Owner. S|
000037e0  2e 20 48 75 62 65 72 0a  32 39 29 20 32 30 4d 62  |. Huber.29) 20Mb|
000037f0  20 49 44 45 20 28 57 61  74 66 6f 72 64 20 69 6e  | IDE (Watford in|
00003800  74 65 72 66 61 63 65 29  2e 20 4f 77 6e 65 72 3a  |terface). Owner:|
00003810  20 53 2e 20 50 6f 6c 6c  61 72 64 0a 33 30 29 20  | S. Pollard.30) |
00003820  35 37 4d 62 20 53 43 53  49 20 28 4c 69 6e 67 65  |57Mb SCSI (Linge|
00003830  6e 75 69 74 79 20 69 6e  74 65 72 66 61 63 65 29  |nuity interface)|
00003840  2e 20 4f 77 6e 65 72 3a  20 4d 2e 20 47 72 69 6d  |. Owner: M. Grim|
00003850  6d 69 6e 63 6b 0a 33 31  29 20 31 37 30 4d 62 20  |minck.31) 170Mb |
00003860  49 44 45 20 28 41 35 30  30 30 29 2e 20 4f 77 6e  |IDE (A5000). Own|
00003870  65 72 3a 20 4d 2e 20 45  62 6f 75 72 6e 65 0a 33  |er: M. Ebourne.3|
00003880  32 29 20 34 30 4d 62 20  53 54 35 30 36 2e 20 4f  |2) 40Mb ST506. O|
00003890  77 6e 65 72 3a 20 4d 2e  20 41 74 74 65 6e 62 6f  |wner: M. Attenbo|
000038a0  72 6f 75 67 68 0a 33 33  29 20 31 32 30 4d 62 20  |rough.33) 120Mb |
000038b0  49 44 45 20 28 49 43 53  20 69 6e 74 65 72 66 61  |IDE (ICS interfa|
000038c0  63 65 29 2e 20 4f 77 6e  65 72 3a 20 4a 2e 20 48  |ce). Owner: J. H|
000038d0  61 73 6c 61 6d 0a 33 34  29 20 31 37 30 4d 62 20  |aslam.34) 170Mb |
000038e0  53 43 53 49 20 28 4f 61  6b 20 31 36 20 42 69 74  |SCSI (Oak 16 Bit|
000038f0  20 69 6e 74 65 72 66 61  63 65 29 2e 20 4f 77 6e  | interface). Own|
00003900  65 72 3a 20 50 2e 20 53  70 65 6e 63 65 72 0a 33  |er: P. Spencer.3|
00003910  35 29 20 31 31 36 4d 62  20 49 44 45 20 28 44 65  |5) 116Mb IDE (De|
00003920  73 6b 74 6f 70 20 50 72  6f 6a 65 63 74 73 20 69  |sktop Projects i|
00003930  6e 74 65 72 66 61 63 65  29 2e 20 4f 77 6e 65 72  |nterface). Owner|
00003940  3a 20 41 2e 44 2e 20 48  6f 64 67 6b 69 6e 73 6f  |: A.D. Hodgkinso|
00003950  6e 0a 33 36 29 20 34 32  30 4d 62 20 49 44 45 20  |n.36) 420Mb IDE |
00003960  28 41 35 30 30 30 29 2e  20 4f 77 6e 65 72 3a 20  |(A5000). Owner: |
00003970  45 2e 20 50 72 6f 6e 6b  0a 33 37 29 20 32 31 30  |E. Pronk.37) 210|
00003980  4d 62 20 49 44 45 20 28  52 69 73 63 20 50 43 29  |Mb IDE (Risc PC)|
00003990  2e 20 4f 77 6e 65 72 3a  20 45 2e 20 48 75 67 68  |. Owner: E. Hugh|
000039a0  65 73 0a 33 38 29 20 31  30 35 4d 62 20 49 44 45  |es.38) 105Mb IDE|
000039b0  20 28 49 43 53 20 69 6e  74 65 72 66 61 63 65 29  | (ICS interface)|
000039c0  2e 20 4f 77 6e 65 72 3a  20 43 2e 20 57 68 69 74  |. Owner: C. Whit|
000039d0  65 68 65 61 64 0a 33 39  29 20 32 30 30 4d 62 20  |ehead.39) 200Mb |
000039e0  53 43 53 49 20 28 41 63  6f 72 6e 20 49 6e 74 65  |SCSI (Acorn Inte|
000039f0  72 66 61 63 65 29 2e 20  4f 77 6e 65 72 3a 20 41  |rface). Owner: A|
00003a00  2e 20 4d 61 6c 61 72 61  0a 34 30 29 20 38 35 30  |. Malara.40) 850|
00003a10  4d 62 20 49 44 45 20 28  52 69 73 63 20 50 43 20  |Mb IDE (Risc PC |
00003a20  37 30 30 29 2e 20 4f 77  6e 65 72 3a 20 50 2e 20  |700). Owner: P. |
00003a30  48 65 64 64 65 72 6c 79  0a 5b 2e 2e 2e 5d 0a 0a  |Hedderly.[...]..|
00003a40  4e 65 67 61 74 69 76 65  20 72 65 73 75 6c 74 73  |Negative results|
00003a50  3a 0a 20 4e 6f 20 6e 65  67 61 74 69 76 65 20 72  |:. No negative r|
00003a60  65 73 75 6c 74 73 20 74  69 6c 6c 20 6e 6f 77 2e  |esults till now.|
00003a70  0a 0a 0a 48 69 73 74 6f  72 79 0a 2d 2d 2d 2d 2d  |...History.-----|
00003a80  2d 2d 0a 0a 31 2e 30 30  20 20 2d 2d 20 30 37 20  |--..1.00  -- 07 |
00003a90  41 70 72 20 39 34 0a 46  69 72 73 74 20 66 75 6c  |Apr 94.First ful|
00003aa0  6c 79 20 77 6f 72 6b 69  6e 67 20 76 65 72 73 69  |ly working versi|
00003ab0  6f 6e 2e 20 52 65 6c 65  61 73 65 64 20 6f 6e 6c  |on. Released onl|
00003ac0  79 20 76 69 61 20 65 2d  6d 61 69 6c 2e 0a 0a 31  |y via e-mail...1|
00003ad0  2e 30 31 20 20 2d 2d 20  31 33 20 41 70 72 20 39  |.01  -- 13 Apr 9|
00003ae0  34 0a 46 69 78 65 64 20  61 20 62 75 67 20 63 6f  |4.Fixed a bug co|
00003af0  6e 63 65 72 6e 69 6e 67  20 66 69 6c 69 6e 67 20  |ncerning filing |
00003b00  73 79 73 74 65 6d 20 6e  61 6d 65 73 2e 20 41 64  |system names. Ad|
00003b10  64 65 64 20 2d 44 20 6f  70 74 69 6f 6e 2e 20 4e  |ded -D option. N|
00003b20  6f 77 20 66 73 63 6b 0a  67 65 6e 65 72 61 6c 6c  |ow fsck.generall|
00003b30  79 20 6e 65 65 64 73 20  6f 6e 6c 79 20 6f 6e 65  |y needs only one|
00003b40  20 72 75 6e 20 74 6f 20  66 69 78 20 61 20 68 65  | run to fix a he|
00003b50  61 76 69 6c 79 20 63 6f  72 72 75 70 74 65 64 20  |avily corrupted |
00003b60  64 69 73 63 2e 20 41 64  64 65 64 20 65 6c 69 6d  |disc. Added elim|
00003b70  69 6e 61 74 65 0a 70 72  6f 67 72 61 6d 2e 0a 0a  |inate.program...|
00003b80  31 2e 30 32 20 20 2d 2d  20 32 30 20 41 70 72 20  |1.02  -- 20 Apr |
00003b90  39 34 0a 43 68 61 6e 67  65 64 20 61 67 61 69 6e  |94.Changed again|
00003ba0  20 74 68 65 20 6d 65 74  68 6f 64 20 74 6f 20 63  | the method to c|
00003bb0  68 65 63 6b 20 66 69 6c  69 6e 67 20 73 79 73 74  |heck filing syst|
00003bc0  65 6d 20 6e 61 6d 65 73  20 28 54 68 61 6e 6b 73  |em names (Thanks|
00003bd0  20 74 6f 20 4b 65 69 74  68 0a 42 61 69 6c 65 79  | to Keith.Bailey|
00003be0  29 2e 20 41 64 64 65 64  20 70 65 72 63 65 6e 74  |). Added percent|
00003bf0  61 67 65 73 20 69 6e 20  73 74 61 74 69 73 74 69  |ages in statisti|
00003c00  63 73 2e 20 43 68 65 63  6b 73 20 62 6f 6f 74 20  |cs. Checks boot |
00003c10  62 6c 6f 63 6b 20 63 68  65 63 6b 73 75 6d 20 61  |block checksum a|
00003c20  6e 64 0a 73 68 6f 77 73  20 64 65 66 65 63 74 20  |nd.shows defect |
00003c30  6c 69 73 74 2e 0a 0a 31  2e 30 33 20 20 2d 2d 20  |list...1.03  -- |
00003c40  32 36 20 41 70 72 20 39  34 0a 4e 6f 77 20 69 74  |26 Apr 94.Now it|
00003c50  20 69 73 20 70 6f 73 73  69 62 6c 65 20 74 6f 20  | is possible to |
00003c60  73 63 61 6e 20 61 20 73  69 6e 67 6c 65 20 64 69  |scan a single di|
00003c70  72 65 63 74 6f 72 79 20  69 6e 73 74 65 61 64 20  |rectory instead |
00003c80  6f 66 20 74 68 65 20 77  68 6f 6c 65 20 64 69 73  |of the whole dis|
00003c90  63 2e 20 59 6f 75 0a 63  61 6e 20 73 70 65 63 69  |c. You.can speci|
00003ca0  66 79 20 27 72 65 6c 61  74 69 76 65 27 20 70 61  |fy 'relative' pa|
00003cb0  74 68 6e 61 6d 65 73 20  28 65 67 2e 20 40 2e 45  |thnames (eg. @.E|
00003cc0  78 61 6d 70 6c 65 73 29  20 69 6e 73 74 65 61 64  |xamples) instead|
00003cd0  20 6f 66 20 66 75 6c 6c  20 70 61 74 68 73 0a 28  | of full paths.(|
00003ce0  54 68 61 6e 6b 73 20 74  6f 20 4a 75 6c 69 61 6e  |Thanks to Julian|
00003cf0  20 57 72 69 67 68 74 29  2e 20 41 74 20 74 68 65  | Wright). At the|
00003d00  20 65 6e 64 20 6f 66 20  74 68 65 20 73 63 61 6e  | end of the scan|
00003d10  20 66 73 63 6b 20 77 69  6c 6c 20 74 65 6c 6c 20  | fsck will tell |
00003d20  79 6f 75 20 77 68 69 63  68 0a 66 69 6c 65 73 20  |you which.files |
00003d30  73 68 6f 75 6c 64 20 62  65 20 65 76 65 6e 74 75  |should be eventu|
00003d40  61 6c 6c 79 20 64 65 6c  65 74 65 64 2e 20 41 64  |ally deleted. Ad|
00003d50  64 65 64 20 73 74 61 74  69 73 74 69 63 73 20 61  |ded statistics a|
00003d60  62 6f 75 74 20 66 72 61  67 6d 65 6e 74 65 64 20  |bout fragmented |
00003d70  66 69 6c 65 73 0a 61 6e  64 20 66 72 65 65 20 62  |files.and free b|
00003d80  6c 6f 63 6b 73 20 73 69  7a 65 73 2e 20 43 68 61  |locks sizes. Cha|
00003d90  6e 67 65 64 20 74 68 65  20 27 46 27 73 20 61 6e  |nged the 'F's an|
00003da0  64 20 27 44 27 73 20 77  69 74 68 20 61 20 72 6f  |d 'D's with a ro|
00003db0  74 61 74 69 6e 67 20 77  68 65 65 6c 2e 2e 2e 0a  |tating wheel....|
00003dc0  41 64 64 65 64 20 2d 71  20 61 6e 64 20 2d 6c 20  |Added -q and -l |
00003dd0  6f 70 74 69 6f 6e 73 2e  0a 0a 31 2e 30 34 20 20  |options...1.04  |
00003de0  2d 2d 20 3f 3f 20 4d 61  79 20 39 34 0a 43 75 72  |-- ?? May 94.Cur|
00003df0  65 64 20 61 20 73 65 72  69 6f 75 73 20 62 75 67  |ed a serious bug|
00003e00  20 74 68 61 74 20 68 61  73 20 61 6c 77 61 79 73  | that has always|
00003e10  20 62 65 65 6e 20 70 72  65 73 65 6e 74 20 62 75  | been present bu|
00003e20  74 20 6e 65 76 65 72 20  63 61 75 73 65 64 20 70  |t never caused p|
00003e30  72 6f 62 6c 65 6d 73 0a  28 75 6e 74 69 6c 20 31  |roblems.(until 1|
00003e40  2e 30 33 29 2e 20 41 64  64 65 64 20 49 6d 61 67  |.03). Added Imag|
00003e50  65 46 53 46 69 78 20 63  68 65 63 6b 20 61 6e 64  |eFSFix check and|
00003e60  20 2d 49 20 6f 70 74 69  6f 6e 2e 20 4e 6f 77 20  | -I option. Now |
00003e70  66 73 63 6b 20 75 6e 64  65 72 73 74 61 6e 64 73  |fsck understands|
00003e80  0a 52 49 53 43 69 58 20  70 61 72 74 69 74 69 6f  |.RISCiX partitio|
00003e90  6e 73 2e 0a 0a 31 2e 31  30 20 20 2d 2d 20 31 31  |ns...1.10  -- 11|
00003ea0  20 4d 61 79 20 39 34 0a  52 49 53 43 69 58 20 70  | May 94.RISCiX p|
00003eb0  61 72 74 69 74 69 6f 6e  73 20 61 72 65 20 6e 6f  |artitions are no|
00003ec0  77 20 66 75 6c 6c 79 20  73 75 70 70 6f 72 74 65  |w fully supporte|
00003ed0  64 20 28 69 65 2e 20 6d  61 70 70 65 64 20 6f 75  |d (ie. mapped ou|
00003ee0  74 29 2e 20 46 69 72 73  74 20 76 65 72 73 69 6f  |t). First versio|
00003ef0  6e 0a 64 69 73 74 72 69  62 75 74 65 64 20 61 73  |n.distributed as|
00003f00  20 53 48 41 52 45 57 41  52 45 2e 0a 0a 31 2e 31  | SHAREWARE...1.1|
00003f10  31 20 20 2d 2d 20 3f 3f  20 4a 75 6e 20 39 34 0a  |1  -- ?? Jun 94.|
00003f20  41 64 64 65 64 20 2d 61  20 6f 70 74 69 6f 6e 2e  |Added -a option.|
00003f30  20 54 68 65 20 6c 6f 67  66 69 6c 65 20 69 73 20  | The logfile is |
00003f40  61 70 70 65 6e 64 65 64  20 74 6f 20 74 68 65 20  |appended to the |
00003f50  65 6e 64 20 6f 66 20 74  68 65 20 66 69 6c 65 20  |end of the file |
00003f60  69 66 20 69 74 20 61 6c  72 65 61 64 79 0a 65 78  |if it already.ex|
00003f70  69 73 74 73 20 61 6e 64  20 6e 6f 77 20 69 74 20  |ists and now it |
00003f80  63 6f 6e 74 61 69 6e 73  20 74 68 65 20 63 72 65  |contains the cre|
00003f90  61 74 69 6f 6e 20 64 61  74 65 2e 20 47 72 65 61  |ation date. Grea|
00003fa0  74 20 73 70 65 65 64 20  69 6e 63 72 65 61 73 65  |t speed increase|
00003fb0  20 28 75 70 20 74 6f 20  32 0a 74 69 6d 65 73 20  | (up to 2.times |
00003fc0  66 61 73 74 65 72 20 77  69 74 68 6f 75 74 20 2d  |faster without -|
00003fd0  73 20 61 6e 64 20 35 20  74 69 6d 65 73 20 66 61  |s and 5 times fa|
00003fe0  73 74 65 72 20 77 69 74  68 20 2d 73 21 21 21 29  |ster with -s!!!)|
00003ff0  2e 20 4e 6f 77 20 66 73  63 6b 20 69 73 20 6a 75  |. Now fsck is ju|
00004000  73 74 20 32 35 25 0a 73  6c 6f 77 65 72 20 74 68  |st 25%.slower th|
00004010  61 6e 20 2a 43 68 65 63  6b 4d 61 70 20 28 6f 72  |an *CheckMap (or|
00004020  20 32 20 74 69 6d 65 73  20 73 6c 6f 77 65 72 20  | 2 times slower |
00004030  77 69 74 68 20 2d 73 29  21 20 41 64 64 65 64 20  |with -s)! Added |
00004040  74 68 65 20 6e 6f 74 65  20 61 62 6f 75 74 20 22  |the note about "|
00004050  46 72 65 65 0a 73 70 61  63 65 20 63 68 75 6e 6b  |Free.space chunk|
00004060  73 20 73 74 61 74 69 73  74 69 63 73 22 20 28 73  |s statistics" (s|
00004070  65 65 20 74 68 65 20 73  65 63 74 69 6f 6e 20 4e  |ee the section N|
00004080  6f 74 65 73 29 2e 0a 0a  31 2e 31 32 20 20 2d 2d  |otes)...1.12  --|
00004090  20 31 32 20 4a 75 6e 20  39 34 0a 41 6e 6f 74 68  | 12 Jun 94.Anoth|
000040a0  65 72 20 73 70 65 65 64  20 69 6d 70 72 6f 76 65  |er speed improve|
000040b0  6d 65 6e 74 20 28 6a 75  73 74 20 31 30 25 29 21  |ment (just 10%)!|
000040c0  20 66 73 63 6b 20 69 73  6e 27 74 20 79 65 74 20  | fsck isn't yet |
000040d0  61 73 20 66 61 73 74 20  61 73 20 2a 43 68 65 63  |as fast as *Chec|
000040e0  6b 4d 61 70 20 62 75 74  0a 49 27 6d 20 77 6f 72  |kMap but.I'm wor|
000040f0  6b 69 6e 67 20 6f 6e 20  69 74 20 3b 2d 29 20 46  |king on it ;-) F|
00004100  69 78 65 64 20 61 20 70  6f 73 73 69 62 6c 65 20  |ixed a possible |
00004110  64 61 6e 67 65 72 6f 75  73 20 62 65 68 61 76 69  |dangerous behavi|
00004120  6f 75 72 20 6f 66 20 2d  61 20 6f 70 74 69 6f 6e  |our of -a option|
00004130  2e 0a 41 64 64 65 64 20  61 20 77 61 72 6e 69 6e  |..Added a warnin|
00004140  67 20 66 6f 72 20 48 44  20 62 6f 6f 74 20 62 6c  |g for HD boot bl|
00004150  6f 63 6b 73 20 6d 61 72  6b 65 64 20 61 73 20 64  |ocks marked as d|
00004160  65 66 65 63 74 2e 20 53  6c 6f 77 65 64 20 64 6f  |efect. Slowed do|
00004170  77 6e 20 74 68 65 20 77  68 65 65 6c 2e 0a 41 64  |wn the wheel..Ad|
00004180  64 65 64 20 66 69 6c 65  73 20 4d 61 70 45 78 70  |ded files MapExp|
00004190  6c 20 61 6e 64 20 53 74  61 74 73 48 65 6c 70 2e  |l and StatsHelp.|
000041a0  0a 0a 31 2e 31 33 20 20  2d 2d 20 32 36 20 4a 75  |..1.13  -- 26 Ju|
000041b0  6e 20 39 34 0a 46 61 73  74 65 72 20 61 67 61 69  |n 94.Faster agai|
000041c0  6e 20 28 31 35 25 20 77  69 74 68 20 2d 73 2c 20  |n (15% with -s, |
000041d0  33 25 20 77 69 74 68 6f  75 74 29 21 21 20 4e 6f  |3% without)!! No|
000041e0  77 20 73 74 61 74 69 73  74 69 63 73 20 61 72 65  |w statistics are|
000041f0  20 6a 75 73 74 20 61 20  62 69 74 20 73 6c 6f 77  | just a bit slow|
00004200  65 72 0a 74 68 61 6e 20  6e 6f 72 6d 61 6c 20 6d  |er.than normal m|
00004210  6f 64 65 2e 20 41 75 74  6f 6d 61 74 69 63 20 63  |ode. Automatic c|
00004220  72 65 61 74 69 6f 6e 20  6f 66 20 6c 6f 73 74 64  |reation of lostd|
00004230  69 72 2e 20 4d 6f 72 65  20 6d 65 73 73 61 67 65  |ir. More message|
00004240  73 20 61 74 20 74 68 65  20 65 6e 64 20 6f 66 0a  |s at the end of.|
00004250  74 68 65 20 70 72 6f 63  65 73 73 20 74 68 61 74  |the process that|
00004260  20 63 61 6e 20 68 65 6c  70 20 74 6f 20 75 6e 64  | can help to und|
00004270  65 72 73 74 61 6e 64 20  77 68 61 74 20 68 61 70  |erstand what hap|
00004280  70 65 6e 65 64 20 28 69  65 2e 20 74 68 65 20 64  |pened (ie. the d|
00004290  69 73 63 20 69 73 20 66  69 78 65 64 2c 0a 66 69  |isc is fixed,.fi|
000042a0  78 61 62 6c 65 2c 20 75  6e 66 69 78 61 62 6c 65  |xable, unfixable|
000042b0  2c 20 65 74 63 2e 29 20  61 6e 64 20 6d 6f 72 65  |, etc.) and more|
000042c0  20 68 65 6c 70 66 75 6c  20 65 72 72 6f 72 20 6d  | helpful error m|
000042d0  65 73 73 61 67 65 73 20  28 6e 6f 20 6d 6f 72 65  |essages (no more|
000042e0  20 22 43 61 6e 27 74 0a  66 69 6e 64 20 27 41 44  | "Can't.find 'AD|
000042f0  3a 3a 30 2e 24 27 3a 20  69 6e 63 6f 72 72 65 63  |::0.$': incorrec|
00004300  74 20 46 53 22 29 20 69  66 20 74 68 65 20 66 6c  |t FS") if the fl|
00004310  6f 70 70 79 20 64 72 69  76 65 20 69 73 20 65 6d  |oppy drive is em|
00004320  70 74 79 21 0a 0a 31 2e  32 30 20 20 2d 2d 20 31  |pty!..1.20  -- 1|
00004330  31 20 4f 63 74 20 39 34  0a 43 6f 6d 70 6c 65 74  |1 Oct 94.Complet|
00004340  65 6c 79 20 72 65 77 72  69 74 74 65 6e 21 20 41  |ely rewritten! A|
00004350  73 20 79 6f 75 20 77 6f  75 6c 64 20 65 78 70 65  |s you would expe|
00004360  63 74 3a 20 2a 46 41 53  54 45 52 2a 20 28 74 68  |ct: *FASTER* (th|
00004370  69 73 20 69 73 20 70 72  6f 62 61 62 6c 79 20 74  |is is probably t|
00004380  68 65 0a 6d 61 78 69 6d  75 6d 20 61 63 68 69 65  |he.maximum achie|
00004390  76 61 62 6c 65 20 73 70  65 65 64 20 77 69 74 68  |vable speed with|
000043a0  20 74 68 65 20 73 74 72  75 63 74 75 72 65 20 6f  | the structure o|
000043b0  66 20 66 73 63 6b 2c 20  73 6f 20 64 6f 6e 27 74  |f fsck, so don't|
000043c0  20 65 78 70 65 63 74 20  66 75 72 74 68 65 72 0a  | expect further.|
000043d0  73 69 67 6e 69 66 69 63  61 6e 74 20 69 6d 70 72  |significant impr|
000043e0  6f 76 65 6d 65 6e 74 73  21 29 2e 20 4e 6f 77 20  |ovements!). Now |
000043f0  66 73 63 6b 20 69 73 20  32 30 2d 33 30 25 20 66  |fsck is 20-30% f|
00004400  61 73 74 65 72 20 74 68  61 6e 20 2a 43 68 65 63  |aster than *Chec|
00004410  6b 4d 61 70 2c 20 65 76  65 6e 0a 77 69 74 68 20  |kMap, even.with |
00004420  73 74 61 74 69 73 74 69  63 73 20 65 6e 61 62 6c  |statistics enabl|
00004430  65 64 21 20 44 69 72 65  63 74 6f 72 79 20 72 65  |ed! Directory re|
00004440  63 6f 67 6e 69 74 69 6f  6e 20 61 64 64 65 64 20  |cognition added |
00004450  28 73 65 65 20 74 68 65  20 22 57 68 61 74 20 69  |(see the "What i|
00004460  74 20 64 6f 65 73 22 0a  73 65 63 74 69 6f 6e 29  |t does".section)|
00004470  2e 20 4e 6f 20 6d 6f 72  65 20 66 69 6c 65 73 20  |. No more files |
00004480  74 6f 20 6d 6f 76 65 20  28 73 6f 20 6d 61 6e 79  |to move (so many|
00004490  20 70 65 6f 70 6c 65 20  63 6f 6d 70 6c 61 69 6e  | people complain|
000044a0  65 64 20 61 62 6f 75 74  20 74 68 69 73 29 21 20  |ed about this)! |
000044b0  41 64 64 65 64 0a 2d 6d  20 61 6e 64 20 2d 6e 20  |Added.-m and -n |
000044c0  6f 70 74 69 6f 6e 73 20  74 6f 20 27 73 69 6d 75  |options to 'simu|
000044d0  6c 61 74 65 27 20 31 2e  31 33 20 76 65 72 73 69  |late' 1.13 versi|
000044e0  6f 6e 2e 20 41 64 64 65  64 20 2d 63 20 6f 70 74  |on. Added -c opt|
000044f0  69 6f 6e 20 74 6f 20 73  69 6d 75 6c 61 74 65 0a  |ion to simulate.|
00004500  43 68 65 63 6b 4d 61 70  20 28 21 29 2e 20 52 65  |CheckMap (!). Re|
00004510  6d 6f 76 65 64 20 74 68  65 20 6f 62 73 6f 6c 65  |moved the obsole|
00004520  73 63 65 6e 74 20 2d 61  20 6f 70 74 69 6f 6e 2e  |scent -a option.|
00004530  20 46 69 78 65 64 20 70  72 6f 62 6c 65 6d 73 20  | Fixed problems |
00004540  77 69 74 68 0a 49 6d 61  67 65 46 53 46 69 78 20  |with.ImageFSFix |
00004550  6d 6f 64 75 6c 65 20 61  6e 64 20 72 65 6d 6f 76  |module and remov|
00004560  65 64 20 2d 49 20 6f 70  74 69 6f 6e 2e 20 49 66  |ed -I option. If|
00004570  20 73 6f 6d 65 20 66 69  6c 65 20 68 61 73 20 61  | some file has a|
00004580  6c 6c 6f 63 61 74 69 6f  6e 0a 70 72 6f 62 6c 65  |llocation.proble|
00004590  6d 73 2c 20 74 68 65 20  6e 61 6d 65 20 6f 66 20  |ms, the name of |
000045a0  74 68 65 20 66 69 6c 65  20 69 73 20 72 65 70 6f  |the file is repo|
000045b0  72 74 65 64 20 74 6f 67  65 74 68 65 72 20 77 69  |rted together wi|
000045c0  74 68 20 74 68 65 20 65  72 72 6f 72 2c 20 73 6f  |th the error, so|
000045d0  20 74 68 61 74 0a 79 6f  75 20 63 61 6e 20 75 73  | that.you can us|
000045e0  65 20 27 65 6c 69 6d 69  6e 61 74 65 27 20 74 6f  |e 'eliminate' to|
000045f0  20 72 65 6d 6f 76 65 20  69 74 2e 20 46 69 78 65  | remove it. Fixe|
00004600  64 20 61 20 6c 6f 74 20  6f 66 20 62 75 67 73 2c  |d a lot of bugs,|
00004610  20 73 6f 6d 65 20 6d 6f  72 65 20 73 65 6e 73 69  | some more sensi|
00004620  62 6c 65 0a 6d 65 73 73  61 67 65 73 20 61 6e 64  |ble.messages and|
00004630  20 6d 6f 72 65 20 63 6f  6e 73 69 73 74 65 6e 74  | more consistent|
00004640  20 77 61 79 20 74 6f 20  70 72 69 6e 74 20 73 6f  | way to print so|
00004650  6d 65 20 76 61 6c 75 65  2e 20 41 64 64 65 64 20  |me value. Added |
00004660  6e 65 77 20 73 74 61 74  69 73 74 69 63 73 0a 61  |new statistics.a|
00004670  62 6f 75 74 20 66 69 6c  65 73 20 74 68 61 74 20  |bout files that |
00004680  6d 75 73 74 20 62 65 20  66 72 61 67 6d 65 6e 74  |must be fragment|
00004690  65 64 2e 20 4d 6f 64 69  66 69 65 64 20 63 6f 6d  |ed. Modified com|
000046a0  6d 61 6e 64 20 6c 69 6e  65 20 62 65 68 61 76 69  |mand line behavi|
000046b0  6f 75 72 3a 20 69 66 20  6e 6f 0a 27 70 61 74 68  |our: if no.'path|
000046c0  6e 61 6d 65 27 20 69 73  20 67 69 76 65 6e 2c 20  |name' is given, |
000046d0  66 73 63 6b 20 73 63 61  6e 73 20 74 68 65 20 63  |fsck scans the c|
000046e0  75 72 72 65 6e 74 20 64  69 73 63 20 28 61 73 20  |urrent disc (as |
000046f0  43 68 65 63 6b 4d 61 70  20 64 6f 65 73 29 2e 20  |CheckMap does). |
00004700  41 64 64 65 64 0a 27 68  61 72 64 66 69 78 27 20  |Added.'hardfix' |
00004710  70 72 6f 67 72 61 6d 2e  20 41 64 64 65 64 20 27  |program. Added '|
00004720  21 51 75 69 63 6b 46 69  78 27 20 61 6e 64 20 27  |!QuickFix' and '|
00004730  21 49 6e 74 72 6f 27 20  66 69 6c 65 73 2e 20 4d  |!Intro' files. M|
00004740  6f 64 69 66 69 65 64 20  6d 6f 73 74 20 6f 66 0a  |odified most of.|
00004750  74 68 69 73 20 68 65 6c  70 20 66 69 6c 65 2c 20  |this help file, |
00004760  72 65 6d 6f 76 65 64 20  74 68 65 20 22 43 61 6e  |removed the "Can|
00004770  20 61 20 73 65 72 69 6f  75 73 20 66 69 6c 69 6e  | a serious filin|
00004780  67 20 73 79 73 74 65 6d  20 63 6f 72 72 75 70 74  |g system corrupt|
00004790  20 64 69 73 63 73 3f 22  0a 73 65 63 74 69 6f 6e  | discs?".section|
000047a0  20 74 68 61 74 20 63 6f  6e 74 61 69 6e 65 64 20  | that contained |
000047b0  6f 6e 6c 79 20 6d 79 20  28 64 65 62 61 74 61 62  |only my (debatab|
000047c0  6c 65 29 20 6f 70 69 6e  69 6f 6e 73 20 61 6e 64  |le) opinions and|
000047d0  20 61 64 64 65 64 20 22  66 73 63 6b 20 61 6e 64  | added "fsck and|
000047e0  20 52 69 73 63 0a 50 43  22 20 73 65 63 74 69 6f  | Risc.PC" sectio|
000047f0  6e 2e 0a 0a 31 2e 32 31  20 20 2d 2d 20 30 35 20  |n...1.21  -- 05 |
00004800  46 65 62 20 39 35 0a 46  69 78 65 64 20 73 6f 6d  |Feb 95.Fixed som|
00004810  65 20 6d 69 6e 6f 72 20  62 75 67 20 61 6e 64 20  |e minor bug and |
00004820  61 64 64 65 64 20 73 6f  6d 65 20 65 72 72 6f 72  |added some error|
00004830  20 74 72 61 70 70 69 6e  67 2e 20 41 64 64 65 64  | trapping. Added|
00004840  20 61 6e 64 20 64 6f 63  75 6d 65 6e 74 65 64 20  | and documented |
00004850  61 0a 73 65 6e 73 69 62  6c 65 20 72 65 74 75 72  |a.sensible retur|
00004860  6e 20 63 6f 64 65 20 61  6e 64 20 74 68 65 20 73  |n code and the s|
00004870  79 73 74 65 6d 20 76 61  72 69 61 62 6c 65 20 66  |ystem variable f|
00004880  73 63 6b 24 52 65 74 75  72 6e 43 6f 64 65 2e 20  |sck$ReturnCode. |
00004890  46 69 78 65 64 20 73 6f  6d 65 20 62 75 67 73 0a  |Fixed some bugs.|
000048a0  69 6e 20 74 68 65 20 64  69 72 65 63 74 6f 72 79  |in the directory|
000048b0  20 72 65 6c 69 6e 6b 69  6e 67 20 66 65 61 74 75  | relinking featu|
000048c0  72 65 2e 0a 0a 31 2e 32  32 20 20 2d 2d 20 31 32  |re...1.22  -- 12|
000048d0  20 4a 75 6e 20 39 35 0a  46 69 78 65 64 20 62 75  | Jun 95.Fixed bu|
000048e0  67 20 74 68 61 74 20 63  61 75 73 65 64 20 70 72  |g that caused pr|
000048f0  6f 62 6c 65 6d 73 20 77  68 65 6e 20 72 65 6c 69  |oblems when reli|
00004900  6e 6b 69 6e 67 20 64 69  72 65 63 74 6f 72 69 65  |nking directorie|
00004910  73 20 74 68 61 74 20 73  68 61 72 65 20 73 65 63  |s that share sec|
00004920  74 6f 72 73 0a 77 69 74  68 20 6f 74 68 65 72 20  |tors.with other |
00004930  66 69 6c 65 73 20 74 6f  20 72 65 6c 69 6e 6b 2e  |files to relink.|
00004940  20 46 69 78 65 64 20 70  72 6f 62 6c 65 6d 73 20  | Fixed problems |
00004950  72 65 6c 61 74 65 64 20  74 6f 20 6e 6f 6e 2d 41  |related to non-A|
00004960  44 46 53 20 70 61 72 74  69 74 69 6f 6e 73 2e 0a  |DFS partitions..|
00004970  46 69 78 65 64 20 61 20  62 75 67 20 74 68 61 74  |Fixed a bug that|
00004980  20 63 61 75 73 65 64 20  77 72 6f 6e 67 20 49 44  | caused wrong ID|
00004990  73 20 74 6f 20 62 65 20  72 65 6c 69 6e 6b 65 64  |s to be relinked|
000049a0  20 69 6e 20 76 65 72 79  20 69 6e 66 72 65 71 75  | in very infrequ|
000049b0  65 6e 74 20 63 61 73 65  73 2e 0a 52 65 6d 6f 76  |ent cases..Remov|
000049c0  65 64 20 74 68 65 20 6c  69 6d 69 74 20 6f 6e 20  |ed the limit on |
000049d0  74 68 65 20 6e 75 6d 62  65 72 20 6f 66 20 49 44  |the number of ID|
000049e0  73 20 74 6f 20 72 65 6c  69 6e 6b 20 28 69 65 2e  |s to relink (ie.|
000049f0  20 6e 6f 20 6d 6f 72 65  20 22 54 6f 6f 20 6d 61  | no more "Too ma|
00004a00  6e 79 20 49 44 73 0a 74  6f 20 72 65 6c 69 6e 6b  |ny IDs.to relink|
00004a10  22 20 65 72 72 6f 72 73  29 2e 0a 0a 31 2e 33 30  |" errors)...1.30|
00004a20  20 20 2d 2d 20 30 33 20  4a 61 6e 20 39 36 0a 41  |  -- 03 Jan 96.A|
00004a30  64 64 65 64 20 63 6f 64  65 2d 62 61 73 65 64 20  |dded code-based |
00004a40  75 73 65 72 20 72 65 67  69 73 74 72 61 74 69 6f  |user registratio|
00004a50  6e 2e 20 53 74 6f 70 70  65 64 20 6d 61 69 6e 74  |n. Stopped maint|
00004a60  61 69 6e 74 61 69 6e 69  6e 67 20 6c 69 73 74 20  |aintaining list |
00004a70  6f 66 20 66 69 78 65 64  0a 64 69 73 63 73 20 73  |of fixed.discs s|
00004a80  69 6e 63 65 20 69 74 20  77 61 73 20 67 72 6f 77  |ince it was grow|
00004a90  69 6e 67 20 74 6f 6f 20  6d 75 63 68 21 20 41 64  |ing too much! Ad|
00004aa0  64 65 64 20 73 75 70 70  6f 72 74 20 66 6f 72 20  |ded support for |
00004ab0  27 62 69 67 27 20 64 69  73 63 73 0a 28 72 65 67  |'big' discs.(reg|
00004ac0  69 73 74 65 72 65 64 20  76 65 72 73 69 6f 6e 20  |istered version |
00004ad0  6f 6e 6c 79 29 2e 20 4e  6f 77 20 66 69 6c 65 73  |only). Now files|
00004ae0  20 77 69 74 68 20 66 69  6c 65 20 49 44 20 6f 66  | with file ID of|
00004af0  20 32 20 61 72 65 20 63  68 65 63 6b 65 64 20 28  | 2 are checked (|
00004b00  49 20 64 69 64 6e 27 74  0a 6b 6e 6f 77 20 74 68  |I didn't.know th|
00004b10  65 79 20 63 6f 75 6c 64  20 65 78 69 73 74 21 29  |ey could exist!)|
00004b20  2e 20 52 65 70 6f 72 74  20 61 6e 20 65 72 72 6f  |. Report an erro|
00004b30  72 20 6f 6e 20 66 69 6c  65 73 20 77 69 74 68 20  |r on files with |
00004b40  73 65 63 74 6f 72 20 6f  66 66 73 65 74 20 74 6f  |sector offset to|
00004b50  6f 20 62 69 67 0a 28 6e  65 65 64 20 74 6f 20 62  |o big.(need to b|
00004b60  65 20 65 6c 69 6d 69 6e  61 74 65 64 29 2e 20 46  |e eliminated). F|
00004b70  69 78 65 64 20 62 75 67  20 74 68 61 74 20 73 6f  |ixed bug that so|
00004b80  6d 65 74 69 6d 65 73 20  63 61 75 73 65 64 20 74  |metimes caused t|
00004b90  77 6f 20 64 69 72 65 63  74 6f 72 69 65 73 20 74  |wo directories t|
00004ba0  6f 0a 62 65 20 72 65 6c  69 6e 6b 65 64 20 77 69  |o.be relinked wi|
00004bb0  74 68 20 74 68 65 20 73  61 6d 65 20 6e 61 6d 65  |th the same name|
00004bc0  2e 20 41 64 64 65 64 20  70 6f 73 73 69 62 69 6c  |. Added possibil|
00004bd0  69 74 79 20 74 6f 20 72  65 6c 69 6e 6b 20 66 69  |ity to relink fi|
00004be0  6c 65 73 20 69 6e 20 74  68 65 20 72 6f 6f 74 0a  |les in the root.|
00004bf0  64 69 72 65 63 74 6f 72  79 20 73 70 65 63 69 66  |directory specif|
00004c00  79 69 6e 67 20 27 24 27  20 61 73 20 72 65 6c 69  |ying '$' as reli|
00004c10  6e 6b 20 64 69 72 65 63  74 6f 72 79 20 75 73 69  |nk directory usi|
00004c20  6e 67 20 74 68 65 20 2d  64 20 6f 70 74 69 6f 6e  |ng the -d option|
00004c30  20 28 61 6c 74 68 6f 75  67 68 0a 74 68 69 73 20  | (although.this |
00004c40  69 73 20 6e 6f 74 20 72  65 61 6c 6c 79 20 72 65  |is not really re|
00004c50  63 6f 6d 6d 65 6e 64 65  64 21 29 2e 20 4e 6f 20  |commended!). No |
00004c60  6d 6f 72 65 20 74 72 79  20 74 6f 20 72 65 70 6f  |more try to repo|
00004c70  72 74 20 52 49 53 43 69  58 20 70 61 72 74 69 74  |rt RISCiX partit|
00004c80  69 6f 6e 73 20 69 66 0a  74 68 65 20 64 69 73 63  |ions if.the disc|
00004c90  20 69 73 20 6a 75 73 74  20 62 61 64 6c 79 20 66  | is just badly f|
00004ca0  6f 72 6d 61 74 74 65 64  2e 2e 2e 20 55 73 69 6e  |ormatted... Usin|
00004cb0  67 20 62 6f 74 68 20 2d  73 20 61 6e 64 20 2d 76  |g both -s and -v|
00004cc0  20 6e 6f 77 20 67 69 76  65 73 20 73 65 6e 73 69  | now gives sensi|
00004cd0  62 6c 65 0a 72 65 73 75  6c 74 73 21 20 66 73 63  |ble.results! fsc|
00004ce0  6b 20 6e 6f 77 20 73 61  79 73 20 74 6f 20 75 73  |k now says to us|
00004cf0  65 20 27 68 61 72 64 66  69 78 27 20 69 66 20 74  |e 'hardfix' if t|
00004d00  68 65 20 72 6f 6f 74 20  64 69 72 65 63 74 6f 72  |he root director|
00004d10  79 20 69 73 20 62 72 6f  6b 65 6e 2c 20 6e 6f 74  |y is broken, not|
00004d20  0a 27 65 6c 69 6d 69 6e  61 74 65 27 21 0a 0a 0a  |.'eliminate'!...|
00004d30  43 72 65 64 69 74 73 0a  2d 2d 2d 2d 2d 2d 2d 0a  |Credits.-------.|
00004d40  0a 49 27 64 20 6c 69 6b  65 20 74 6f 20 74 68 61  |.I'd like to tha|
00004d50  6e 6b 20 74 68 65 20 66  6f 6c 6c 6f 77 69 6e 67  |nk the following|
00004d60  20 70 65 6f 70 6c 65 20  77 68 6f 20 63 6f 6e 74  | people who cont|
00004d70  69 62 75 74 65 64 20 69  6e 20 73 6f 6d 65 20 77  |ibuted in some w|
00004d80  61 79 20 74 6f 20 74 68  65 0a 64 65 76 65 6c 6f  |ay to the.develo|
00004d90  70 6d 65 6e 74 20 6f 66  20 66 73 63 6b 20 28 69  |pment of fsck (i|
00004da0  6e 20 61 6c 70 68 61 62  65 74 69 63 61 6c 20 6f  |n alphabetical o|
00004db0  72 64 65 72 29 3a 0a 2d  20 4b 65 69 74 68 20 42  |rder):.- Keith B|
00004dc0  61 69 6c 65 79 20 77 68  6f 20 64 69 73 63 6f 76  |ailey who discov|
00004dd0  65 72 65 64 20 74 68 61  74 20 74 68 65 20 66 69  |ered that the fi|
00004de0  72 73 74 20 33 20 76 65  72 73 69 6f 6e 73 20 6f  |rst 3 versions o|
00004df0  66 20 66 73 63 6b 20 77  65 72 65 0a 20 20 63 6f  |f fsck were.  co|
00004e00  6d 70 6c 65 74 65 6c 79  20 75 73 65 6c 65 73 73  |mpletely useless|
00004e10  20 6f 6e 20 68 69 73 20  53 43 53 49 21 21 20 54  | on his SCSI!! T|
00004e20  68 65 20 34 74 68 20 76  65 72 73 69 6f 6e 20 66  |he 4th version f|
00004e30  69 6e 61 6c 6c 79 20 66  69 78 65 64 20 68 69 73  |inally fixed his|
00004e40  0a 20 20 6d 61 70 20 70  72 6f 62 6c 65 6d 73 20  |.  map problems |
00004e50  28 74 77 69 63 65 21 29  2e 20 54 68 61 6e 6b 73  |(twice!). Thanks|
00004e60  20 66 6f 72 20 74 68 65  20 63 6f 6d 6d 65 6e 74  | for the comment|
00004e70  20 61 62 6f 75 74 20 74  68 65 20 63 6c 6f 63 6b  | about the clock|
00004e80  20 74 6f 6f 21 20 3a 2d  29 0a 2d 20 4e 69 63 6b  | too! :-).- Nick|
00004e90  20 43 72 61 69 67 2d 57  6f 6f 64 20 66 6f 72 20  | Craig-Wood for |
00004ea0  74 68 65 20 75 73 65 72  63 6f 64 65 20 66 75 6e  |the usercode fun|
00004eb0  63 74 69 6f 6e 73 20 61  6e 64 20 66 6f 72 20 73  |ctions and for s|
00004ec0  6f 6d 65 20 70 69 65 63  65 20 6f 66 20 74 65 78  |ome piece of tex|
00004ed0  74 20 28 6f 72 0a 20 20  6a 75 73 74 20 73 6f 6d  |t (or.  just som|
00004ee0  65 20 73 74 79 6c 69 73  74 69 63 20 61 64 6a 75  |e stylistic adju|
00004ef0  73 74 6d 65 6e 74 29 20  75 73 65 64 20 69 6e 20  |stment) used in |
00004f00  74 68 65 20 64 6f 63 75  6d 65 6e 74 73 20 28 65  |the documents (e|
00004f10  67 20 74 68 65 20 6e 65  77 0a 20 20 22 43 6f 6e  |g the new.  "Con|
00004f20  64 69 74 69 6f 6e 73 20  6f 66 20 75 73 65 22 20  |ditions of use" |
00004f30  69 6e 20 74 68 65 20 27  21 53 48 41 52 45 57 41  |in the '!SHAREWA|
00004f40  52 45 27 20 66 69 6c 65  29 2e 0a 2d 20 4d 61 72  |RE' file)..- Mar|
00004f50  74 69 6e 20 4a 2e 20 45  62 6f 75 72 6e 65 20 66  |tin J. Ebourne f|
00004f60  6f 72 20 68 69 73 20 28  69 6e 69 74 69 61 6c 6c  |or his (initiall|
00004f70  79 20 6e 65 67 61 74 69  76 65 20 62 75 74 20 6e  |y negative but n|
00004f80  6f 77 20 67 65 6e 65 72  61 6c 6c 79 20 70 6f 73  |ow generally pos|
00004f90  69 74 69 76 65 29 0a 20  20 63 6f 6d 6d 65 6e 74  |itive).  comment|
00004fa0  73 20 61 6e 64 20 73 75  70 70 6f 72 74 2e 0a 2d  |s and support..-|
00004fb0  20 43 72 69 73 74 69 61  6e 20 47 68 65 7a 7a 69  | Cristian Ghezzi|
00004fc0  20 77 68 6f 20 6c 65 74  20 6d 65 20 70 6c 61 79  | who let me play|
00004fd0  20 77 69 74 68 20 68 69  73 20 52 49 53 43 69 58  | with his RISCiX|
00004fe0  20 70 61 72 74 69 74 69  6f 6e 65 64 20 53 43 53  | partitioned SCS|
00004ff0  49 20 66 6f 72 20 61 0a  20 20 77 68 6f 6c 65 20  |I for a.  whole |
00005000  64 61 79 20 74 6f 20 64  69 73 63 6f 76 65 72 20  |day to discover |
00005010  73 6f 6d 65 20 73 74 75  70 69 64 20 66 73 63 6b  |some stupid fsck|
00005020  20 62 75 67 2e 20 48 65  20 61 6c 73 6f 20 6c 65  | bug. He also le|
00005030  74 20 6d 65 20 69 6e 74  65 6e 74 69 6f 6e 61 6c  |t me intentional|
00005040  6c 79 0a 20 20 63 6f 72  72 75 70 74 20 68 69 73  |ly.  corrupt his|
00005050  20 53 54 35 30 36 20 64  69 73 63 20 74 6f 20 74  | ST506 disc to t|
00005060  65 73 74 20 74 68 65 20  6e 65 77 20 64 69 72 65  |est the new dire|
00005070  63 74 6f 72 79 20 72 65  63 6f 67 6e 69 74 69 6f  |ctory recognitio|
00005080  6e 20 66 65 61 74 75 72  65 2e 2e 2e 0a 2d 20 41  |n feature....- A|
00005090  64 61 6d 20 47 6f 6f 64  66 65 6c 6c 6f 77 20 61  |dam Goodfellow a|
000050a0  6e 64 20 41 74 6c 65 20  4d 6a 65 6c 64 65 20 42  |nd Atle Mjelde B|
000050b0  61 61 72 64 68 6f 6c 74  20 66 6f 72 20 74 68 65  |aardholt for the|
000050c0  20 62 65 74 61 2d 74 65  73 74 69 6e 67 2e 0a 2d  | beta-testing..-|
000050d0  20 4d 69 6b 65 20 48 65  6e 72 79 20 77 68 6f 20  | Mike Henry who |
000050e0  68 61 73 20 62 65 65 6e  20 74 68 65 20 66 69 72  |has been the fir|
000050f0  73 74 20 77 68 6f 20 73  65 6e 74 20 6d 65 20 73  |st who sent me s|
00005100  6f 6d 65 20 70 6f 75 6e  64 73 20 74 6f 20 72 65  |ome pounds to re|
00005110  67 69 73 74 65 72 0a 20  20 28 61 63 74 75 61 6c  |gister.  (actual|
00005120  6c 79 20 68 65 20 73 65  6e 74 20 6d 65 20 31 30  |ly he sent me 10|
00005130  20 70 6f 75 6e 64 73 20  69 6e 73 74 65 61 64 20  | pounds instead |
00005140  6f 66 20 74 68 65 20 35  20 49 20 61 73 6b 21 29  |of the 5 I ask!)|
00005150  2e 0a 2d 20 42 72 69 61  6e 20 48 6f 77 6c 65 74  |..- Brian Howlet|
00005160  74 20 66 6f 72 20 63 6f  72 72 65 63 74 69 6e 67  |t for correcting|
00005170  20 61 20 62 69 74 20 6d  79 20 45 6e 67 6c 69 73  | a bit my Englis|
00005180  68 20 67 72 61 6d 6d 61  72 21 0a 2d 20 53 69 6d  |h grammar!.- Sim|
00005190  6f 6e 20 4d 69 64 64 6c  65 74 6f 6e 20 77 68 6f  |on Middleton who|
000051a0  20 70 75 73 68 65 64 20  6d 65 20 74 6f 20 66 69  | pushed me to fi|
000051b0  6e 69 73 68 20 74 68 65  20 6e 65 77 20 76 65 72  |nish the new ver|
000051c0  73 69 6f 6e 20 28 31 2e  32 30 29 20 73 6f 20 74  |sion (1.20) so t|
000051d0  68 61 74 20 68 65 0a 20  20 63 6f 75 6c 64 20 69  |hat he.  could i|
000051e0  6e 63 6c 75 64 65 20 69  74 20 69 6e 20 68 69 73  |nclude it in his|
000051f0  20 50 44 2f 53 68 61 72  65 57 61 72 65 20 43 44  | PD/ShareWare CD|
00005200  2d 52 4f 4d 2e 0a 2d 20  44 61 67 20 48 61 61 6b  |-ROM..- Dag Haak|
00005210  6f 6e 20 4d 79 72 64 61  6c 20 66 6f 72 20 68 69  |on Myrdal for hi|
00005220  73 20 73 75 67 67 65 73  74 69 6f 6e 73 20 61 6e  |s suggestions an|
00005230  64 20 61 63 63 75 72 61  74 65 20 62 75 67 20 72  |d accurate bug r|
00005240  65 70 6f 72 74 2e 0a 2d  20 53 69 6d 6f 6e 20 50  |eport..- Simon P|
00005250  72 6f 76 65 6e 20 66 6f  72 20 74 68 65 20 69 6e  |roven for the in|
00005260  66 6f 72 6d 61 74 69 6f  6e 73 20 61 62 6f 75 74  |formations about|
00005270  20 27 62 69 67 27 20 64  69 73 63 73 2e 0a 2d 20  | 'big' discs..- |
00005280  48 61 6e 73 20 4f 6c 65  20 52 61 66 61 65 6c 73  |Hans Ole Rafaels|
00005290  65 6e 20 77 68 6f 20 74  72 69 65 64 20 66 73 63  |en who tried fsc|
000052a0  6b 20 6f 6e 20 31 2e 36  4d 62 20 66 6c 6f 70 70  |k on 1.6Mb flopp|
000052b0  69 65 73 2e 0a 2d 20 47  65 6f 72 67 65 20 53 61  |ies..- George Sa|
000052c0  6c 69 61 72 69 73 2e 2e  2e 20 68 65 20 6b 6e 6f  |liaris... he kno|
000052d0  77 73 20 66 6f 72 20 77  68 61 74 21 20 3a 2d 29  |ws for what! :-)|
000052e0  0a 2d 20 4b 61 69 20 53  63 68 6c 69 63 68 74 69  |.- Kai Schlichti|
000052f0  6e 67 20 77 68 6f 20 73  61 69 64 20 74 68 61 74  |ng who said that|
00005300  20 66 73 63 6b 20 77 61  73 20 6f 6e 65 20 6f 66  | fsck was one of|
00005310  20 74 68 65 20 6d 6f 73  74 20 75 73 65 66 75 6c  | the most useful|
00005320  20 27 55 6e 69 78 20 70  6f 72 74 73 27 0a 20 20  | 'Unix ports'.  |
00005330  66 6f 72 20 52 49 53 43  20 4f 53 2c 20 61 20 70  |for RISC OS, a p|
00005340  72 6f 67 72 61 6d 20 74  68 61 74 20 74 68 65 20  |rogram that the |
00005350  41 63 6f 72 6e 20 77 6f  72 6c 64 20 72 65 61 6c  |Acorn world real|
00005360  6c 79 20 6e 65 65 64 65  64 2e 20 4b 61 69 20 68  |ly needed. Kai h|
00005370  61 73 20 62 65 65 6e 0a  20 20 74 68 65 20 66 69  |as been.  the fi|
00005380  72 73 74 20 77 68 6f 20  73 65 6e 74 20 6d 65 20  |rst who sent me |
00005390  27 73 6f 6d 65 74 68 69  6e 67 27 20 74 6f 20 72  |'something' to r|
000053a0  65 67 69 73 74 65 72 21  0a 2d 20 41 6e 64 72 65  |egister!.- Andre|
000053b0  61 73 20 53 63 68 75 62  65 72 74 20 28 50 6c 61  |as Schubert (Pla|
000053c0  74 6f 6e 29 20 77 68 6f  20 74 72 69 65 64 20 66  |ton) who tried f|
000053d0  73 63 6b 20 6f 6e 20 68  69 73 20 52 69 73 63 20  |sck on his Risc |
000053e0  50 43 2e 0a 2d 20 4a 61  73 6f 6e 20 57 69 6c 6c  |PC..- Jason Will|
000053f0  69 61 6d 73 20 28 61 6e  64 20 61 6c 6c 20 74 68  |iams (and all th|
00005400  65 20 6f 74 68 65 72 20  63 6f 6c 6c 61 62 6f 72  |e other collabor|
00005410  61 74 6f 72 73 29 20 66  6f 72 20 44 65 73 6b 4c  |ators) for DeskL|
00005420  69 62 3a 20 74 68 65 20  6e 65 77 0a 20 20 76 65  |ib: the new.  ve|
00005430  72 73 69 6f 6e 73 20 6f  66 20 66 73 63 6b 20 75  |rsions of fsck u|
00005440  73 65 20 73 6f 6d 65 20  73 6d 61 6c 6c 20 70 61  |se some small pa|
00005450  72 74 20 6f 66 20 44 65  73 6b 4c 69 62 20 61 6e  |rt of DeskLib an|
00005460  64 20 74 68 65 20 6e 65  77 20 73 6f 75 72 63 65  |d the new source|
00005470  73 0a 20 20 73 74 72 75  63 74 75 72 65 20 69 73  |s.  structure is|
00005480  20 72 65 61 6c 6c 79 20  73 69 6d 69 6c 61 72 20  | really similar |
00005490  74 6f 20 44 65 73 6b 4c  69 62 27 73 20 6f 6e 65  |to DeskLib's one|
000054a0  2e 0a 2d 20 4a 75 6c 69  61 6e 20 57 72 69 67 68  |..- Julian Wrigh|
000054b0  74 20 66 6f 72 20 68 69  73 20 62 65 74 61 2d 74  |t for his beta-t|
000054c0  65 73 74 69 6e 67 2c 20  73 75 67 67 65 73 74 69  |esting, suggesti|
000054d0  6f 6e 73 2c 20 50 52 4d  20 64 6f 63 73 2c 20 62  |ons, PRM docs, b|
000054e0  75 67 73 2d 72 65 70 6f  72 74 20 61 6e 64 0a 20  |ugs-report and. |
000054f0  20 69 6e 74 65 72 65 73  74 2e 0a 0a 0a 43 6f 6e  | interest....Con|
00005500  64 69 74 69 6f 6e 73 20  6f 66 20 75 73 65 0a 2d  |ditions of use.-|
00005510  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00005520  0a 0a 66 73 63 6b 20 63  61 6e 20 6f 6e 6c 79 20  |..fsck can only |
00005530  62 65 20 64 69 73 74 72  69 62 75 74 65 64 20 77  |be distributed w|
00005540  69 74 68 20 74 68 65 20  63 6f 6d 70 6c 65 74 65  |ith the complete|
00005550  20 66 73 63 6b 20 73 75  69 74 65 2e 0a 52 65 61  | fsck suite..Rea|
00005560  64 20 74 68 65 20 21 53  48 41 52 45 57 41 52 45  |d the !SHAREWARE|
00005570  20 66 69 6c 65 20 66 6f  72 20 74 68 65 20 63 6f  | file for the co|
00005580  6e 64 69 74 69 6f 6e 73  20 6f 66 20 75 73 65 20  |nditions of use |
00005590  61 6e 64 20 64 69 73 74  72 69 62 75 74 69 6f 6e  |and distribution|
000055a0  20 6f 66 20 74 68 65 0a  77 68 6f 6c 65 20 70 61  | of the.whole pa|
000055b0  63 6b 61 67 65 2e 0a 0a  0a 43 6f 6e 74 61 63 74  |ckage....Contact|
000055c0  69 6e 67 20 74 68 65 20  41 75 74 68 6f 72 0a 2d  |ing the Author.-|
000055d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000055e0  2d 2d 2d 2d 0a 0a 50 6f  73 74 3a 20 20 53 65 72  |----..Post:  Ser|
000055f0  67 69 6f 20 4d 6f 6e 65  73 69 0a 20 20 20 20 20  |gio Monesi.     |
00005600  20 20 56 69 61 20 54 72  65 6e 74 6f 20 65 20 54  |  Via Trento e T|
00005610  72 69 65 73 74 65 20 33  30 0a 20 20 20 20 20 20  |rieste 30.      |
00005620  20 32 30 30 34 36 20 42  69 61 73 73 6f 6e 6f 20  | 20046 Biassono |
00005630  28 4d 49 29 0a 20 20 20  20 20 20 20 49 74 61 6c  |(MI).       Ital|
00005640  79 0a 0a 45 4d 61 69 6c  3a 20 70 65 6c 30 30 31  |y..EMail: pel001|
00005650  35 40 63 64 63 38 67 35  2e 63 64 63 2e 70 6f 6c  |5@cdc8g5.cdc.pol|
00005660  69 6d 69 2e 69 74 0a 20  20 20 20 20 20 20 73 65  |imi.it.       se|
00005670  72 67 69 6f 40 66 72 65  65 62 73 64 2e 66 69 72  |rgio@freebsd.fir|
00005680  73 74 2e 67 6d 64 2e 64  65 0a 0a 57 57 57 3a 20  |st.gmd.de..WWW: |
00005690  20 20 68 74 74 70 3a 2f  2f 63 64 63 38 67 35 2e  |  http://cdc8g5.|
000056a0  63 64 63 2e 70 6f 6c 69  6d 69 2e 69 74 2f 7e 70  |cdc.polimi.it/~p|
000056b0  65 6c 30 30 31 35 2f 0a                           |el0015/.|
000056b8