Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] activating swap by udev event
Date: Thu, 01 Jul 2010 16:06:24
Message-Id: 201007011805.47295.wonko@wonkology.org
In Reply to: Re: [gentoo-user] activating swap by udev event by SpaceCake
1 SpaceCake writes:
2
3 > So, it solves the first problem, identifiying the device, but how can I
4 > tell to udev to use always /dev/sds (for example) for this device?
5
6 I think, you can's. But you can add SYMLINK="swap" to make the device
7 appear as /dev/swap, too.
8
9 > Also I'm thinking how can I instruct udev to turn off swap when the
10 > device is removed, but this is another story :)
11
12 I doubt this is possible at all. If you unplug it, the memory that has
13 been swapped there is lost.
14
15 Wonko

Replies

Subject Author
Re: [gentoo-user] activating swap by udev event Neil Bothwick <neil@××××××××××.uk>