From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 17 Oct 2011 13:56:36 +0200 From: David du Colombier <0intro@gmail.com> To: 9fans@9fans.net Message-ID: <20111017135636.0e9d3f1c@wks-ddc.exosec.local> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] New disk, i/o error Topicbox-Message-UUID: 38fee800-ead7-11e9-9d60-3106f5b1d025 > > Why did prep create a 512MB swap > > partition when I have 2GB RAM? > > good question, though on a positive note swap doesn't work anyway > (except on the 9front form) so I would delete it as if the machine > starts to swak it could wedge. > > this is not such a pain as it might appear, swapping makes performance > so miserable its not really worth having, especially given how cheap a > few GB of RAM is these days. The swap is only enabled in /bin/termrc and it's not usual to have a swap partition on a terminal. The swap partition is 512 MB simply because it's the maximum size specified in /sys/src/cmd/disk/prep/prep.c -- David du Colombier