Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Specify swap device priority in fstab?



Paul Goyette <paul%whooppee.com@localhost> writes:

> Is it possible to do this?
>
> I have two swap files, and I want to designate one of them as also a
> dump file.  I tried to put ``sw,dp,-p=50'' on the dump file entry but
> ``swapctl -A'' still says it is using priority 0.
>
> I don't want swapping to overwrite a crash dump ...
>
>
> +---------------------+--------------------------+----------------------+
> | Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
> | (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
> | Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
> | & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
> +---------------------+--------------------------+----------------------+


Do something like this (an example using a file as swap):

/swap/swap.1    none            swap    sw,priority=2   0 0





-- 
Brad Spencer - brad%anduin.eldar.org@localhost - KC8VKS - http://anduin.eldar.org


Home | Main Index | Thread Index | Old Index