HPFSStat displays the current status of, and allows modification of the status of HPFS disks.
Usage: HPFSStat {Switches} <Drive Spec(s)>
Note : The -c and -d switches can not be specified together.
If no Drive Spec(s) are entered, the default drive only is searched
HPFSStat allows you to change the status of HPFS disks. If there are no options entered the current status of the HPFS disk is displayed. If the disk was improperly stopped, the status of the disk will most probably be DIRTY. If a disk is DIRTY OS/2 will not mount the drive and you will either have to run CHKDSK /F to clean it, or manually change the status to CLEAN. HPFSStat can be used to manually change the status to CLEAN. HPFSStat can optionally remount the drive, to enable OS/2 to access the files on it. Using the remount option you will not have to reboot the system in order for OS/2 to recognise the drive.
The possible values for the partition status are:
Status Values:
If you ask HPFSNull to operate on a non HPFS drive you will get the following message:
Drive is not HPFS.
This switch forces HPFSStat to mark the partition as CLEAN.
This switch forces HPFSStat to mark the partition as DIRTY.
Normally, after you have CLEANed a partition you will have to reboot the computer in order to allow OS/2 file access to the drive. This option attempts to remount the partition. If a partition is DIRTY OS/2 will not let you access any files on the drive. It will return the error SYS0005: Access is denied. If the disk is successfully remounted OS/2 will allow file access to the drive. Using this option saves you from having to reboot the computer to access the drive.
This switch forces DEPIPE to be loaded and allows HPFSStat 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.
HPFSStat C: -cHPFSStat will clean the HPFS drive C:.
HPFSStat F: -crHPFSStat will set the status of drive F: to clean and remount the drive.
HPFSStat D: -c -on \\DELENNHPFSStat will clean the drive D: on the remote machine named DELENN.