1 |
On 08/28/2010 04:36 PM, Dale wrote: |
2 |
> Daniel Pielmeier wrote: |
3 |
>> Dale schrieb am 28.08.2010 13:13: |
4 |
>>> P. S. Any way to label swap? It's not reiserfs or ext*. |
5 |
>>> |
6 |
>> It is swap :) |
7 |
>> |
8 |
>> swappoff -a |
9 |
>> mkswap -L label device |
10 |
>> swapon -a |
11 |
>> |
12 |
> |
13 |
> I found that later while reading some other man page. I got to look into |
14 |
> that swapon -a option tho. Never seen that before. I think I know what |
15 |
> it is tho. |
16 |
|
17 |
It enabled the swap. The boot init scripts automatically do a swapon -a |
18 |
when you boot. But since you need to do a swappoff -a first and disable |
19 |
the swap in order to recreate it, you need to enable it again manually |
20 |
with swapon -a if you don't reboot. |