Computing.Net > Forums > Disk Operating System > Create RAM Drive in Dr Dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Create RAM Drive in Dr Dos

Reply to Message Icon

Name: Bindu
Date: January 21, 2002 at 02:47:52 Pacific
Comment:

Hi all,
Can anybody tell me how to create a ram drive in dr dos ?
Rgds
Bindu



Sponsored Link
Ads by Google

Response Number 1
Name: The Doofus
Date: January 21, 2002 at 03:42:37 Pacific
Reply:

DEVICE = C:\DRDOS\VDISK.SYS [disksize] [sectsize] [maxfiles] [/E:[sectors]] [/X] Options

(The above should be all one line)

disksize
The size of the disk in KB; specify a size between 1 and 256 KB (unless you have extended memory on your system). The default size is 64 KB.

sectsize
The smallest amount of space reserved on the disk. The default is 128 bytes but you can also specify 256 or 512 bytes.

maxfiles
The maximum number of files that can be written to the root directory of the virtual disk. Specify a number between 2 and 512; the default is 64.
The number you specify determines the amount of disk space reserved for the disk directory. Keep in mind that specifying a large number of files will waste space unless you actually do copy large numbers of files to the disk.

/E:[sectors]
Locates the virtual disk in extended memory, if extended memory is available on your system. Specify the number of sectors at a time to be transferred between conventional memory and extended memory when the virtual disk is being used; sectors can be a number between 1 and 8 (the default is 8).

/X
Locates the virtual disk in expanded memory, if available on your system. A virtual disk in expanded memory can be up to 32 MB in size.

You must load VDISK.SYS in CONFIG.SYS before any other drivers that use extended memory but after your memory manager, such as EMM386 or HIMEM. If you use SETUP or INSTALL to create a memory disk, however, VDISK.SYS is loaded automatically, in the correct sequence.

Also note that if you use the HIDEVICE/DEVICEHIGH command to load VDISK.SYS in extended memory, you must use the /E switch.

Examples:

The following DEVICE statement defines a virtual disk of 200 KB with a sector size of 256 bytes and a maximum of 32 files:

DEVICE = C:\DRDOS\VDISK.SYS 200 256 32

The next statement defines a virtual disk of 10,240 KB, located in expanded memory:

DEVICE = C:\DRDOS\VDISK.SYS 10240 /X

Or, even better, use XMSDISK


0

Response Number 2
Name: Chris Hodapp
Date: January 21, 2002 at 06:00:29 Pacific
Reply:

XMSDISK (includes EMSDISK and EMSDSK86 for running it on your XT ........?), like Doofus mentioned, does not require that a device driver be loaded, and can resize the RAMdisk at will. There are also TurboDisk and SRDisk, which require a small device driver be loaded but then allow you to freely create and manipulate RAM drives.


0

Response Number 3
Name: Bindu.R
Date: January 22, 2002 at 02:07:56 Pacific
Reply:

Thanks. Now I have created ram drive in drdos. Thanku very much.
Rgds
Bindu


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Create RAM Drive in Dr Dos

RAM drive under Windows Me www.computing.net/answers/dos/ram-drive-under-windows-me/9511.html

Commands in DR DOS www.computing.net/answers/dos/commands-in-dr-dos/14805.html

How do u create a new drive in ms-dos www.computing.net/answers/dos/how-do-u-create-a-new-drive-in-msdos/9830.html