RAM DISK drive letter assignment
Results 1 to 3 of 3

Thread: RAM DISK drive letter assignment

  1. #1

    RAM DISK drive letter assignment

    I am creating a RAM disk to store my browser cache files as to speed up the loading of web pages. The problem I am haveing is figuring out what drive letter to assign to it, here is a snipplet of the instructions I am folowing:

    Create a new temporary directory on the RAM drive to store all browser cache/cookie files, by adding this line to your Autoexec.bat file (example):
    MD D:\TEMP

    presuming you have only 1 hard disk/partition and 1 CD-ROM drive. Change this letter if you have more drives to the next available letter AFTER the last letter taken by your hard disks/partitions, and BEFORE the CD-ROM drive letter.
    DO NOT allow your browser to use the root directory on the RAM drive as its cache folder, because the RAMDRIVE.SYS root directory can ONLY hold up to 512 files, because it uses the obsolete FAT12 (used on floppy disks) as its default File System!
    FYI: FAT16 also supports ONLY maximum 512 root entries, and newer FAT32 allows unlimited root entries.


    Ok I have a setup like this:

    Pri Master partition 1: Windows, active, bootable, Fat32 C:\
    Pri Master partition 2: FAT32 empty, E:\
    Pri Slave partition 1:Primary partition, FAT32, D:\
    Sec Master, CD-ROM, drive F:\

    I am confused about what letter to assign my RAM disk. Any help would be apreciated,

    For those wanting more information or interested in doing the same, http://members.aol.com/axcel216/

  2. #2
    AO Curmudgeon rcgreen's Avatar
    Join Date
    Nov 2001
    To the best of my knowledge, the operating system assigns a
    drive letter to a ramdrive automatically, and you do not have
    a choice. The drive letter will be assigned based on what drives
    are already found on the system at bootup.

    One small worry can nag you. If you have other drives that
    can go offline, or require drivers loaded after bootup, your
    configuration could change from time to time.

    This means that if you tell a program to use E:\TEMP for
    its tempfiles, because you found that E: is your ramdrive
    but some other drive goes offline, and next time you boot,
    the ramdrive is D:, you could have a problem.

    The emergency boot disk in win98 has a ramdrive in it,
    where it loads its utilities. Its AUTOEXEC.BAT file is written in a way
    to test and discover what letter is assigned to the ramdrive.
    You should study it, adapt it or write something like it so
    that programs can reliably know the letter of the ramdrive.

    Then they will be assured of always accessing the correct drive
    instead of making an assumption that may be incorrect.
    I came in to the world with nothing. I still have most of it.

  3. #3
    I made the nessisary additions to config.sys, but upon rebooting, useing windows explorer I dont see a new drive listed. Is it suposed to be visible?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts