Upload
mohd-nasir
View
214
Download
0
Embed Size (px)
Citation preview
7/30/2019 1wq
1/2
1. Parameters registry isHKLM\System\CurrentControlSet\Services\RRamdisk\Parameters\why RRamdisk, 'cause XP SP1 contain a Ramdisk driver for XP Embeded.
2. Parameter: DiskSizeM, DiskSizeKyour desired disk size, the unit is M bytes or K bytes. The DiskSizeKhas higher priority.
3. Parameter: MediaTypethe reported drive type,
1 -- RAM Drive2 -- Fixed Media (default)3 -- Removable Media4 -- Floppy Diskette
4. Parameter: DriveLettername say it is, default is R:
5. Parameter: SectorsPerClusteryour desired cluster size, zero for driver pickup:
7/30/2019 1wq
2/2
rdutil unpacked_filesecond command reading DriveLetter from registrythe third is packing an unpacked image file
4) packing image & save to registryrdutil R: registry
5) packing image & save to filerdutil R: packed_file
6) unpacking imagerdutil unpack packed_file unpacked_file
7) link NTFS junction to Ramdiskrdutil link temp \
7. Re-Format RamDiskYou can re-format RamDisk except RAMDrive media type. eg:FixedMedia type
FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:RemovableMedia type
ECHO Y | FORMAT /FS:NTFS /FORCE /Q /V:RamDisk /A:512 R:you can place your format command to startup script.I don't recommend re-format to FAT, the pre-formated RamDisk ismore efficient than other format utililty.
8. pagefile supportyou can set pagefile to FixMedia type disk w/ pre-formated system.
if you need other MediaType or re-format, use the addswap.exe utility:addswap r:\pagefile.sys 16 32create pagefile r:\pagefile.sys with min=16M max=32M.
9. TEMP directoryyou should set TEMP/TMP directory to TEMP sub-directory,don't use the root directory.
10. NTFS junction point to RAMDriveYou can't create NTFS junction point to RAMDrive media type,Fixed & Removable Media type should work
11. Connectix VirtualPC compatibility
someone report problem with VirtualPC+physical volume/disk.please set MediaType to RAMDrive/Removable.
12. Mountpoint without DriveLetterClear DriveLetter registry value will not create Drive Letter for Ramdisk.Attn. Don't delete the DriveLetter registry, which fall to default R:.You can setup mountpoint/junction linking to this unnamed Ramdisk.eg:
rdutil link C:\ramdisklink C:\ramdisk to root of Ramdisk
rdutil link C:\TEMP TEMPlink C:\TEMP to \TEMP at Ramdisk
rmdir C:\ramdisk
rmdir can remove the link without clear target contentNoDriveLetter configuration isn't recommended, because most AntiVirussoftware cannot realtime scan Volume w/o Drive Letter.
ChangeLog:12.09.2003 fix SMP/HT compatibility11.26.2003 fix re-format problem & some typo11.25.2003 merge rdpack and rdj to rdutil11.24.2003 add DiskSizeK registry, more compatible w/ antivirus software