On 07/01/2010 08:44 AM, SpaceCake wrote: > 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? Also > I'm thinking how can I instruct udev to turn off swap when the device is > removed, but this is another story :)
Here's what I have in my /etc/fstab file for one of my USB keys. I assume you could just change it to say swap instead. <fs> <mntpt> <fs> <opts> <dump/pass> UUID=BA62-89BD /mnt/key auto noauto,user,exec,nosuid 0 0