Drivparm Ü
ßßßßßßßßß
Defines parameters for block devices when you start FreeDOS. 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:number
Specifies the physical drive number. Values for number must be 0
through 255 (for example, drive number 0 = drive A, 1 = drive B,
2 = drive C, etc...).
/C Specifies that the drive can detect whether the drive door is
closed.
/F:factor
Specifies the drive type. The following list shows the valid values
for factor and a brief description of each. The default value is 2.
0 160k/180k or 320k/360k
1 1.2 megabyte (MB)
2 720k (3«" disk)
5 Hard disk
6 Tape
7 1.44 MB (3«" disk)
8 Read/write optical disk
9 2.88 MB (3«" disk)
/H:heads
Specifies the maximum number of heads. Values for heads must be 1
through 99. The default value depends on the value you specify for
/F:factor.
/I Specifies an electronically-compatible 3« floppy disk drive.
/N Specifies a non-removable block device.
/S:sectors
Specifies the number of sectors per track that the block device
supports. Values for sectors must be 1 through 99. The default
value depends upon the value specified for /F:factor.
/T:tracks
Specifies the number of tracks per side that the block device
supports. The default value for each depends upon the value
specifie for /F:factor.
Notes
Using the /I switch
Use the /I switch if your system's ROM BIOS does not support 3«" floppy
disk drives.
Disk drive change support
Change-line support means that a physical disk drive can detect an open
drive door. This lets FreeDOS know when one floppy disk has been
replaced by another. The /C switch lets FreeDOS make use of change-line
support. To find out if your disk drive has change-line support, see
your disk-drive documentation.
Example:
To reconfigure a tape drive on drive D to write 10 tracks of 99 sectors
each, add this command to CONFIG.SYS:
drivparm=/d:3 /f:6 /h:1 /s:99 /t:10
See Also:
Config.SYS