Jump to content

VDISK.SYS: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 9: Line 9:
:;NOTE: In the event that there is not enough memory to create the VDisk volume, VDisk will try to make a DOS volume with 16 directory entries. This may result in a volume with a different number of directory entries than the parameter specifies.
:;NOTE: In the event that there is not enough memory to create the VDisk volume, VDisk will try to make a DOS volume with 16 directory entries. This may result in a volume with a different number of directory entries than the parameter specifies.


;CAUTION:Because a RAM disk takes available memory away from OS/2, you may negatively impact system performance on systems with less than 12MB of RAM. Unless you have lots of RAM or have a very specific need, don't install a RAM disk.
;CAUTION:Because a RAM disk takes available memory away from OS/2, you may negatively impact system performance on systems with less than 12 MB of RAM. Unless you have lots of RAM or have a very specific need, don't install a RAM disk.
;NOTE:If you do install VDISK.SYS and you also have [[EXTDSKDD.SYS]] installed, VDISK.SYS must be placed after EXTDSKDD.SYS in your config.sys file. Check your on-line ''Command Reference'' for information on EXTDSKDD.SYS.
;NOTE:If you do install VDISK.SYS and you also have [[EXTDSKDD.SYS]] installed, VDISK.SYS must be placed after EXTDSKDD.SYS in your config.sys file. Check your on-line ''Command Reference'' for information on EXTDSKDD.SYS.
;TIP:Better use the RAM(64).IFS by Karl Olson, see IFS.
;TIP:Better use the RAM(64).IFS by Karl Olson.


[[Category:DEVICE Statements]]
[[Category:DEVICE Statements]]

Latest revision as of 07:35, 12 April 2023

The VDisk Device Driver (VDISK.SYS) provides a virtual disk in RAM.

DEVICE=x:\OS2\BOOT\VDISK.SYS [bbbb] [ssss] [dddd]

Parameters

bbbb
Disk size in KB. Default value is 64 (16 ... 4096).
ssss
Sector size in bytes. Default value is 512 (128, 256, 512, 1024).
dddd
Number of root directory entries. Default is 64 (2 ... 1024). The value is rounded up to the nearest sector size boundary.
NOTE
In the event that there is not enough memory to create the VDisk volume, VDisk will try to make a DOS volume with 16 directory entries. This may result in a volume with a different number of directory entries than the parameter specifies.
CAUTION
Because a RAM disk takes available memory away from OS/2, you may negatively impact system performance on systems with less than 12 MB of RAM. Unless you have lots of RAM or have a very specific need, don't install a RAM disk.
NOTE
If you do install VDISK.SYS and you also have EXTDSKDD.SYS installed, VDISK.SYS must be placed after EXTDSKDD.SYS in your config.sys file. Check your on-line Command Reference for information on EXTDSKDD.SYS.
TIP
Better use the RAM(64).IFS by Karl Olson.