Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] activating swap by udev event
Date: Thu, 01 Jul 2010 21:52:18
Message-Id: 20100701225056.2059ac87@zaphod.digimed.co.uk
In Reply to: Re: [gentoo-user] activating swap by udev event by Alan McKinnon
1 On Thu, 1 Jul 2010 21:46:15 +0200, Alan McKinnon wrote:
2
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
16 --
17 Neil Bothwick
18
19 Rainbows are just to look at, not to really understand.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] activating swap by udev event Alan McKinnon <alan.mckinnon@×××××.com>