Annotation of q_a/samples/ddk/ramdisk/readme.txt, revision 1.1

1.1     ! root        1: RAM Disk Driver
        !             2: ---------------
        !             3: 
        !             4: This sample demonstrates a software only Windows NT Device Driver.  This driver
        !             5: is provided for educational purposes only.  Generally the Windows NT cache
        !             6: manager does a much better job of optimizing memory usage than using a RAM disk.
        !             7: 
        !             8: 
        !             9: Building and Installing
        !            10: -----------------------
        !            11: 
        !            12:     1)  Set the environment variables by running the SDK SETENV.BAT and the DDK
        !            13:         SETENV.BAT.
        !            14: 
        !            15:     2)  Run BUILD.EXE with the -cef options.
        !            16: 
        !            17:     3)  The driver will be built in the OBJ\I386 directory, copy it to
        !            18:         %WINDIR%\SYSTEM32\DRIVERS.
        !            19: 
        !            20:     4)  Edit RAMDISK.INI, change parameters to match your preferences.
        !            21: 
        !            22:     5)  Run REGINI.EXE with RAMDISK.INI as an argument.
        !            23: 
        !            24:     6)  Reboot and enjoy.
        !            25: 
        !            26: 
        !            27: Configuring the RAM disk
        !            28: ------------------------
        !            29: 
        !            30: The RAM disk can be configured using the registry.  The RAMDISK.INI file
        !            31: contains the default values for all the configurable parameters.  A brief
        !            32: description of each parameter follows:
        !            33: 
        !            34: Name                Type        Default Value
        !            35: ====                ====        =============
        !            36: 
        !            37: BreakOnEntry        REG_DWORD   0
        !            38: 
        !            39:     Boolean value which determines whether a break point will be generated
        !            40:     during the DriverEntry routine.  It has no effect in a free build of the
        !            41:     driver.
        !            42: 
        !            43: DebugLevel          REG_DWORD   0
        !            44: 
        !            45:     This value specifies the level of diagnostic messages produced.  Larger
        !            46:     values result in more verbose messages.  It has no effect in a free build
        !            47:     of the driver.
        !            48: 
        !            49: DiskSize            REG_DWORD   0x100000 (1,048,576 1Mb)
        !            50: 
        !            51:     The size of the RAM disk in bytes.
        !            52: 
        !            53: DriveLetter         REG_SZ      Z:
        !            54: 
        !            55:     The drive letter associated with the RAM disk.
        !            56: 
        !            57: RootDirEntries      REG_DWORD   512
        !            58: 
        !            59:     The number of entries in the root directory.
        !            60: 
        !            61: SectorsPerCluster   REG_DWORD   2
        !            62: 
        !            63:     The granularity of the allocation.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.