TotalNET Advanced Server 5.2 Reference Manual

macfsck

This command performs a consistency check on a Macintosh volume, verifying that all files and directories in the volume have the appropriate shadow file entries.

Location

TNHOME/usr/bin

Usage

macfsck [-C] [-f] [-r] [-s] [-u] [-V] [-v] [-y] dirname...

Options

-C

Display the program copyright message and execute the command. 

-f

Remove shadow file entries that do not have corresponding UNIX files. 

-r

Perform a consistency check in all subdirectories in the volume. 

-s

Execute the command without a screen display. 

-u

Display the program usage message only. 

-V

Display the program version number and execute the command. 

-v

Execute the command in verbose mode, listing all affected files or directories. 

-y

Answer "yes" to all confirmation prompts during the execution of this command. 

dirname

Specify the relative or absolute path to the directory that serves as the root of the Macintosh volume that you want to check. 

Note

The macfsck command's behavior resembles that of the tnvolck command with the -p option. Running the macfsck command always preserves the file name. This command exists for backward compatibility only and may not appear in future releases of TAS. To perform the same function, use the tnvolck command.

Example

Use the following command to perform a consistency check on the subdirectory mac under the current directory with messages displayed as appropriate:

macfsck mac