From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georg Lehner To: 9fans@cse.psu.edu Subject: Re: [9fans] termrc changes References: Date: Wed, 29 Nov 2006 21:40:01 +0100 In-Reply-To: (Lucio De Re's message of "Wed, 29 Nov 2006 06:43:41 +0200") Message-ID: <87irgyc7ha.fsf@jorgito.magma.com.ni> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: e8defd74-ead1-11e9-9d60-3106f5b1d025 Lucio De Re writes: >> The new termrc avoids using test when looking for swap partitions. > > I tend to like to slip a "sort -nr" into the fry, it allows me to pick > the largest swap partition when I have multiple disks. Not > necessarily what everyone may want, of course: > > swp=3D`{ls -s /dev/sd*/swap | sort -nr | sed 1q | awk '{print $2}'} > > ++L > If you have several swap partitions, wouldn't you set them up all at once?=20 mhm.. I think I do not understand how swapping works under Plan9 at all. Any pointer to the most helpful documentation? Regards Jorge-Le=F3n