LINUX.ORG.RU

Swap


0

0

Почему -то отказывается активизироватся SWAP, при этом # /etc/fstab: static file system information. # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.10 2002/11/18 19:39 :22 azarah Exp $ # # noatime turns of atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail and tail freely.

# <fs> <mountpoint> <type> <opts> < dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/discs/disc0/part3 /boot ext2 noauto,noatime 1 1 /dev/discs/disk0/part5 / xfs noatime 0 0 /dev/discs/disc0/part6 /home xfs noatime 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user 0 0 proc /proc proc defaults 0 0

${GAMECD} /home/games/gamecd/ auto loop,noauto,ro,user 0 0 /dev/discs/disc0/part2 /mnt/win vfat iocharset=koi8-r,umask=0,co dpage=866 0 0 /dev/discs/disc0/part7 /mnt/duke vfat iocharset=koi8-r,umask=0,co dpage=866 0 0 /dev/discs/disc0/part8 /mnt/andru vfat iocharset=koi8-r,umask=0,co dpage=866 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). Adding the following # line to /etc/fstab should take care of this: # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no # memory if not populated with files)

tmpfs /dev/shm tmpfs defaults 0 0 /dev/discs/disk0/part1 none swap sw 0 0

прои загрузке пишет Activating swap [ok], но тем не менее нефига не происходит. В чем может быть проблема? Дистр -Gentoo

anonymous

Сказть трудно надо смотреть
попробуй поигратся с такими утелитами:

mkswap - дляинициализации свап раздела (отфарматировать не всегда достаточно еще надо проинитит)

swapoff - деактивация свапа ( все данные будуд загружены в память если памяти не хватает то пару прог свалится :) )

swapon - активизация свапа (ручками)

Возможно они хоть сообщения об ошибке нормальной скажут (вначеле попробуй просто swapon -a, swapoff -a, swapon /dev/discs/disk0/part1 swapoff /dev/discs/disk0/part1)

PS. Пользуй "User line breaks" при посте сообщений а то нифига разобрать нельзя :)

zaz ★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.