The Graham Utilities for OS/2 - Version 2


[Warpspeed]

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


HPFSNull - Wipe HPFS disks

Summary

HPFSNull wipes HPFS disks on a sector by sector basis.

Icon

Command Line Format

Usage: HPFSNull {Switches} Drive Spec(s)

Switches

-g
Government security rules for wiping.
-r
Repeat wipe; default of 1.
-v
wipe Value; default of 0.
-on
Run on <Machine Name>.

Description

HPFSNull wipes all free sectors on a HPFS disk. Sectors which are occupied by files are not wiped. For HPFSNull to be able to process the disk, it must be able to lock the disk and the disk must have a clean status. If the disk is in use by another process, HPFSNull will inform you that it is unable to the lock the disk and exit.

HPFSNull must lock the disk, so that it can be assured that the information which it is reading is accurate. HPFSNull wipes all unallocated data sectors on the disk. It does not wipe any data in the directory band. HPFSNull displays the logical sector number of each sector as it is being wiped. The escape key may be pressed at any point in time to abort the wiping process.

In order to help protect you from accidental erasures you must enter a drive specification.

If HPFSNull is asked to operate on a non HPFS drive you will get the following message:

Drive is not HPFS.

-g Government security rules for wiping

This switch forces HPFSNull to erase the file to the US Department of Defence security specification DoD 5220.22-M. It writes over all of the data area of the file with 1's (FFh) then writes over it all again with 0's (00h). By default, it repeats this procedure 3 times. The optional n parameter for this test overrides the default repeat count of 3. Finally, the data area of the file is overwritten with the value of F6h.

-r Repeat wipe count

The default wipe count value is 1. This switch specifies a new repeat count. The repeat count is the number of times which the disk is overwritten.

-v Wipe Value

The default value of the data which is written to the disk is zero (0). Use this switch to specify another value.

-on Run on Machine Name

This switch forces DEPIPE to be loaded and allows HPFSNull 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.

Example

HPFSNull F:
Run HPFSNull on drive F: