SpaceCake writes:

> So, it solves the first problem, identifiying the device, but how can I
> tell to udev to use always /dev/sds (for example) for this device?

I think, you can's. But you can add SYMLINK="swap" to make the device 
appear as /dev/swap, too.

> Also I'm thinking how can I instruct udev to turn off swap when the
> device is removed, but this is another story :)

I doubt this is possible at all. If you unplug it, the memory that has 
been swapped there is lost.

        Wonko

Reply via email to