1 |
that's good if I want to mount at a specific location, but for swap I need |
2 |
the device name, but this is changes depending on how many other usb drives |
3 |
are connected. Looks lik this is a tricky question :) |
4 |
|
5 |
L: |
6 |
|
7 |
|
8 |
2010/7/1 Bill Longman <bill.longman@×××××.com> |
9 |
|
10 |
> On 07/01/2010 08:44 AM, SpaceCake wrote: |
11 |
> > So, it solves the first problem, identifiying the device, but how can I |
12 |
> > tell to udev to use always /dev/sds (for example) for this device? Also |
13 |
> > I'm thinking how can I instruct udev to turn off swap when the device is |
14 |
> > removed, but this is another story :) |
15 |
> |
16 |
> Here's what I have in my /etc/fstab file for one of my USB keys. I |
17 |
> assume you could just change it to say swap instead. |
18 |
> |
19 |
> <fs> <mntpt> <fs> <opts> <dump/pass> |
20 |
> UUID=BA62-89BD /mnt/key auto noauto,user,exec,nosuid 0 0 |
21 |
> |
22 |
> |