that's good if I want to mount at a specific location, but for swap I need
the device name, but this is changes depending on how many other usb drives
are connected. Looks lik this is a tricky question  :)

L:


2010/7/1 Bill Longman <[email protected]>

> 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
>
>

Reply via email to