当前位置: 技术问答>linux和unix
安装好linux以后能不能再为他分swap区,咋做!!!
来源: 互联网 发布时间:2015-04-24
本文导语: 安装好linux以后能不能再为他分swap区,咋做!!! | i have asked the same question, and this is the answer of guanqi , i have tried it: 用fdisk把它转换成Linux swap分区,然后 mkswap /dev/hda8 swapon /dev/h...
安装好linux以后能不能再为他分swap区,咋做!!!
|
i have asked the same question, and this is the answer of guanqi , i have tried it:
用fdisk把它转换成Linux swap分区,然后
mkswap /dev/hda8
swapon /dev/hda8
并在/etc/fstab中增加:
/dev/hda8 swap swap defaults 0 0
用fdisk把它转换成Linux swap分区,然后
mkswap /dev/hda8
swapon /dev/hda8
并在/etc/fstab中增加:
/dev/hda8 swap swap defaults 0 0
|
可以坐一个交换文件,起到得作用是一样得