????????????????

?????ж????????????С??????С???? 1024 ???ж?????С?????磬??С?? 64 MB ????????????С? 65536??

?????? shell ????????????????????????????е? count ???????????С??

????dd if=/dev/zero of=/swapfile bs=1024 count=65536

????????????????????y????????

????mkswap /swapfile

????????????y??????????????????????????????????????

????swapon /swapfile

??????????????????? /etc/fstab ??????????????У?

????/swapfile swap swap defaults 0 0

???????′?????????????????????????????

??????????????????????????????? cat /proc/swaps ?? free ???????????????????????????????

????3????????????

??????????????????

????????????????????????????????????????????????????????????????????????? ?????????????????????

????????????????????κα????????????????ж????Щ????????? swapoff ????????????????????????н??????

?????? shell ??????????????????????????????????????????????????? /dev/hdb2 ?????????????

????swapoff /dev/hdb2

?????? /etc/fstab ????????????????

??????? parted ?? fdisk ?????????????? parted ???????????????? parted ???????????

?????? shell ????????????????????? parted /dev/ hdb ??????? /dev/ hdb ???????н???????????????????豸?????

?????? ??parted?? ????£????? print ??????????????ж?????????????????????????

?????? ??parted?? ????£????? rm MINOR ??????? MINOR ??????????????????????

???????棺?????????????????????????????????

???????? quit ????? parted ??

?????????????????

?????? shell ??????????????????????????????y????????????? /swapfile ????????????

????swapoff /swapfile

?????? /etc/fstab ????????????

???????????????

????rm /swapfile