The Graham Utilities for OS/2 - Version 2


[Warpspeed]

[Table of Contents] [Index] [Previous] [Next]


FAT-Info - Report on FAT internals

Summary

FAT-Info provides a quick overview of the structure and layout of your FAT disk.

Icon

Command Line Format

Usage: FAT-Info {Switches} <File Spec> Drive Spec(s)

Switches

-b
Display bad sector lists.
-f
Display the free spaces.
-h
Hard disks only.
-on
Run on Machine Name.

Description

FAT-Info provides a brief list of information pertaining to the layout and use of your FAT disk.

The information which it returns is:

FAT Type
16 bit or 12 bit. This is the number of bits used to encode each entry in the FAT.
1st FAT starts at
This is the LSN of the first sector of the first copy of the FAT.
2nd FAT starts at
This is the LSN of the first sector of the second copy of the FAT.
Root Directory starts at
This is the LSN of the first sector of the Root Directory.
Root Directory length
This is the number of sectors which the Root Directory occupies.
Data area starts at
This is the LSN of the first sector of the data area of the disk. This is also the first sector of cluster two.
Number of clusters
This is the total number of clusters on the disk. The numbers in the brackets are the first and last numbered clusters.
Number of free clusters
This is the current number of free clusters available on the disk.
Number of free spaces
This is the current number of free spaces on the disk. Ideally, there should be one.
Cluster size (bytes)
This is the number of bytes which each cluster occupies. It will be between 512 and 32,768.

When the information returned is a logical sector number, it is also displayed as a Cylinder, Head and Sector.

If you ask FAT-Info to report on a non FAT drive you will get the following message:

Drive is not FAT.

-b Display bad sector lists

This switch displays the clusters which have been marked as bad.

-f Display the free spaces

The -f switch forces to FAT-Info to display the free space of the disk. The cluster numbers of free clusters are displayed.

-h Hard disks only

FAT-Info will scan all logical disk drives defined by the system, starting at drive C:. The drives are scanned in order, starting at C:, then D: and so on.

-on Run on Machine Name

This switch forces DEPIPE to be loaded and allows FAT-Info to access disk drives located on remote machines. The Machine Name must be specified with a leading "\\". The machine name of the remote machine will have been specified when the network software on the remote machine was installed.

Note : DESVR must be running on the remote machine for this option to work.

Consult Appendix H - DESVR for further details.

Examples

FAT-Info
This will produce the minimum amount of information which FAT-Info can extract from the file system.
FAT-Info /b
FAT-Info will display all of its normal information. In addition it will list all sectors which are currently marked as bad.
FAT-Info -bfh
FAT-Info will scan all hard disks and report on the maximum amount of information available.
FAT-Info C: -bfm -on \\WARP
FAT-INFO will display all of the information available about C: on the remote machine named WARP.