VDISK.SYS: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
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. | |||
;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 12MB 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, see IFS. | ||
[[Category:DEVICE Statements]] | [[Category:DEVICE Statements]] |
Revision as of 17:40, 23 October 2019
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 12MB 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, see IFS.