On Thursday 01 July 2010 23:50:56 Neil Bothwick wrote: > On Thu, 1 Jul 2010 21:46:15 +0200, Alan McKinnon wrote: > > That will never work in a zillion years for all the good reasons > > mentioned elsewhere in this thread. > > > > You MUST disable swap THEN remove the device. This sequence is > > inviolate. > > You could use a udev rule to enable the swap, but it has to be removed > manually. But it does raise the question of why you would want swap on a > USB stick in the first place. It must be slower than hard disk swap, and > will wear out the flash memory. Instead of all this messing around, just > increase the size of your swap partition, or add another one.
Or deal with the actual underlying issue which is probably "get more RAM" -- alan dot mckinnon at gmail dot com

