红联Linux门户
Linux帮助

fedora 7和windows共享虚拟内存

发布时间:2008-02-19 11:02:39来源:红联作者:soepmbcket
出自只要高兴就好

Windows ,Linux双系统,我们可以让Linux使用Windows的虚拟内存页面文件。

比如我的windows 的页面文件在E盘.可以把加载/mnt/e/pagefile.sys为swap的语句写在rc.local里面,让系统自动加载.

/etc/rc.d/rc.local内容如下:

引用:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
/sbin/mkswap /mnt/e/pagefile.sys ;
/sbin/swapon /mnt/e/pagefile.sys ;
touch /var/lock/subsys/loc


但是我没有感觉到linux的速度变快。
文章评论

共有 0 条评论