-a Automatically repair the filesystem. No user intervention is necessary. Whenever there is more than
one method to solve a problem, the least destructive approach is used.
|
-A Use Atari variation of the MS-DOS filesystem. This is default if dosfsck is run on an Atari, then
this option turns off Atari format. There are some minor differences in Atari format: Some boot
sector fields are interpreted slightly different, and the special FAT entries for end-of-file and bad
cluster can be different. Under MS-DOS 0xfff8 is used for EOF and Atari employs 0xffff by default,
but both systems recognize all values from 0xfff8...0xffff as end-of-file. MS-DOS uses only 0xfff7
for bad clusters, where on Atari values 0xfff0...0xfff7 are for this purpose (but the standard value
is still 0xfff7).
|
-d Delete the specified file. If more that one file with that name exists, the first one is deleted.
|
-f Salvage unused cluster chains to files. By default, unused clusters are added to the free disk space
except in auto mode (-a).
|
-l List path names of files being processed.
|
-n No-operation mode: non-interactively check for errors, but don't write anything to the filesystem.
|
-r Interactively repair the filesystem. The user is asked for advice whenever there is more than one
approach to fix an inconsistency.
|
-t Mark unreadable clusters as bad.
|
-u Try to undelete the specified file. dosfsck tries to allocate a chain of contiguous unallocated
clusters beginning with the start cluster of the undeleted file.
|
-v Verbose mode. Generates slightly more output.
|
-V Perform a verification pass. The filesystem check is repeated after the first run. The second pass
should never report any fixable errors. It may take considerably longer than the first pass, because
the first pass may have generated long list of modifications that have to be scanned for each disk
read.
|
-w Write changes to disk immediately.
|
-y Same as -a (automatically repair filesystem) for compatibility with other fsck tools.
|