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 |