We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
挂载Swap分区
在/mnt/sda1/下创建一个64M的交换文件 dd if=/dev/zero of=/mnt/sda1/swapfile bs=1024 count=62142
将这个交换文件用作Swap分区 mkswap /mnt/sda1/swapfile
启用活动分区 swapon /mnt/sda1/swapfile
停止 swapoff /mnt/sda1/swapfile
开机自动挂载
cd /etc/rc.d
ln -f ../init.d/fstab S20fstab
ln -s ../init.d/fstab S50fstab