VDISK.SYS: Difference between revisions
Appearance
Created page with "As in DOS, this driver installs a RAM disk. In this example, the RAM disk is 512k with the sectors and directories parameters set at the default level (64-byte sectors and 64 ..." |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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. | |||
'''TIP: | ;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. | |||
[[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.