我想将硬盘存取改为虚拟硬盘存取(200分)

  • 主题发起人 主题发起人 fsivanl
  • 开始时间 开始时间
F

fsivanl

Unregistered / Unconfirmed
GUEST, unregistred user!
能否实现做一个win2000服务程序:
控制A路径的文件存取改为B路径(我想将硬盘存取改为虚拟硬盘存取)
 
subst 命令
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

drive1: Specifies a virtual drive to which you want to assign a path.
[drive2:]path Specifies a physical drive and path you want to assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.
 
subst只是指定一个新的驱动器名给某一条路径,
我要的是:
我在win2000用内存创建一个虚拟硬盘X(读取效率高),将某一A目录(一个使用率很
高的目录)内容全部拷进去,然后用一个待服程序控制A目录的所有用户、所有操作都
转到去虚拟硬盘X中,使得硬盘压力大大降低,大大提高了效率。
 
vRamDir1.10for MicrosoftWindows95/98by
VirtualSoftwareCorporationcopyright1996-1998


vRamDir is a dynamic 32-bit virtual RAM file
system driver for Windows 95/98. It is to replace
RAM-disk and speed up hard-disk related operations.
vRamDir is over 30 times faster than hard-disks,
5 times faster than RAM-disks, and 2 times faster
than disk-cache. vRamDir also keeps hard-disks
less fragmented, saves hard-disk wears and tears,
and saves battery power on notebook computers.

vRamDir does not pre-allocate any memory, and it
has no practical limit on the amount of files it
can hold. No matter how much RAM your system has,
vRamDir puts it into more efficient use and speeds
up the system. If the system has more than 32MB
RAM, vRamDir prevents the RAM from being wasted;
if the system has less than 16MB RAM, it is important
to use vRamDir to increase system speed.
 
http://www.virtusoft.com/vramdir.htm

你是要编这个吗?
 
1。你是否已经建立了“虚拟磁盘”?
2。win2000的缓存机制已经非常好了
3。你先拷到内存中,然后再写回硬盘,这个开销也是很大的。
 
后退
顶部