Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Neil Bothwick <neil@××××××××××.uk>
Subject: Re: [gentoo-user] activating swap by udev event
Date: Thu, 01 Jul 2010 22:02:52
Message-Id: 201007012359.09342.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] activating swap by udev event by Neil Bothwick
1 On Thursday 01 July 2010 23:50:56 Neil Bothwick wrote:
2 > On Thu, 1 Jul 2010 21:46:15 +0200, Alan McKinnon wrote:
3 > > That will never work in a zillion years for all the good reasons
4 > > mentioned elsewhere in this thread.
5 > >
6 > > You MUST disable swap THEN remove the device. This sequence is
7 > > inviolate.
8 >
9 > You could use a udev rule to enable the swap, but it has to be removed
10 > manually. But it does raise the question of why you would want swap on a
11 > USB stick in the first place. It must be slower than hard disk swap, and
12 > will wear out the flash memory. Instead of all this messing around, just
13 > increase the size of your swap partition, or add another one.
14
15 Or deal with the actual underlying issue which is probably
16
17 "get more RAM"
18
19
20 --
21 alan dot mckinnon at gmail dot com