Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ram drive
Message
From
17/01/1999 09:14:30
 
 
To
14/01/1999 23:45:06
General information
Forum:
Windows
Category:
Other
Title:
Miscellaneous
Thread ID:
00176336
Message ID:
00176984
Views:
27
>Why the max ram drive is 32mb.
>Is it possible to increase?

Is this RAMDISK.SYS, which MS released? There are parameters set in the Registry to control the size; I don't have any docs on maximum values, this is the README.TXT from the NT version:
RAM Disk Driver
---------------

This sample demonstrates a software only Windows NT Device Driver.  This driver
is provided for educational purposes only.  Generally the Windows NT cache
manager does a much better job of optimizing memory usage than using a RAM disk.


Installing
----------

    3)  Copy RAMDISK.SYS to %WINDIR%\SYSTEM32\DRIVERS.

    4)  Edit RAMDISK.INI, change parameters to match your preferences.

    5)  Run REGINI.EXE with RAMDISK.INI as an argument.

    6)  Reboot and enjoy.


Configuring the RAM disk
------------------------

The RAM disk can be configured using the registry.  The RAMDISK.INI file
contains the default values for all the configurable parameters.  A brief
description of each parameter follows:

Name                Type        Default Value
====                ====        =============

BreakOnEntry        REG_DWORD   0

    Boolean value which determines whether a break point will be generated
    during the DriverEntry routine.  It has no effect in a free build of the
    driver.

DebugLevel          REG_DWORD   0

    This value specifies the level of diagnostic messages produced.  Larger
    values result in more verbose messages.  It has no effect in a free build
    of the driver.

DiskSize            REG_DWORD   0x100000 (1,048,576 1Mb)

    The size of the RAM disk in bytes.

DriveLetter         REG_SZ      Z:

    The drive letter associated with the RAM disk.

RootDirEntries      REG_DWORD   512

    The number of entries in the root directory.

SectorsPerCluster   REG_DWORD   2

    The granularity of the allocation.


Copyright (c) 1993  Microsoft Corporation
If you want to write your own, pick up a copy of Systems Programming for Windows 95 by Walter Oney; Chapters 15 and 16 are devoted to creating IFS-compatible drivers, including a RAM drive project, which comes with full source code. There's also some decent shareware available that might fit your needs better; try EEC Systems, they have both RAM Disk-NT, which will support sizes of up to 192MB, and SuperDisk-NT, which can support horrendously large sized RAM Disks (something like 28GB on one of the versions if you've got the memory available; both require NT, and >64MB of RAM to use
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform