DrivParm

Index

Defines parameters for devices such as disk and tape drives on startup.

The DRIVPARM command can only be invoked through Config.sys. The DRIVPARM command modifies the parameters of an existing physical drive. It does not create a new logical drive. The settings specified in the DRIVPARM command override the driver definitions for any previous block device.

Syntax:

DRIVPARM=/D:number [/C] [/F:factor] [/H:heads] [/I] [/N] [/S:sectors] [/T:tracks]

/D:numberSpecifies the physical drive number. number can be range from 0 to 255.
Drive number 0 corresponds with drive a:,
Drive number 1 corresponds with drive b:, and so on.
/CSpecifies that the drive can detect whether the drive door is closed. (see Notes).
/H:headsThe maximum number of drive heads. The value of heads can be from 1 to 99 and the default depends on the value specified for factor.
/ISpecifies an electronically compatible 3.5-inch floppy disk drive. Electronically compatible drives are something other than the above but use a floppy disk drive controller.
/NSpecifies a nonremovable block device.
/S:sectorsThe number of sectors per track that the block device supports. Sectors can be in the range 1 through 99 and the default depends on the value you specify for factor.
/T:tracksThe number of tracks per side that the block device supports. The default value depends on the value you specify for factor.
/F:factorThe drive type:

factorDefaultDrive type
headssectorstracks
0...Floppy drive: 160K/180K or 320K/360K (5.25 inch)
1...Floppy drive: 1.2 MB (5.25 inch)
2...Floppy drive: 720 K (3.5 inch)
5...Hard drive
6...Tape drive
7...Floppy drive: 1.44 MB (3.5 inch)
8...Read/write optical disk
9...Floppy drive: 2.88 MB (3.5 inch)

Notes:

The function of the /C switch is the subject of some dispute. The official (DRIVPARM/?) explanation is that this switch tells Dos that the hardware is set up to "detect whether the drive door has been opened since last access". Other commentators have suggested that the /C switch forces Dos to check whether the contents of the drive have been changed since it was last accessed. (Further investigation is required).


This page last revised:
December 9, 1999.