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. -- Neil Bothwick Rainbows are just to look at, not to really understand.
signature.asc
Description: PGP signature