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

Re: swap confusion



Ah, ok.

So I can just go ahead and put pri=1 for both swap partitions in
/etc/fstab without running in trouble. Thank you

joerg

On Son, Sep 08, 2002 at 06:06:39 +0200, Guy Geens wrote:
> >>>>> "Joerg" == Joerg Johannes <j-j@gmx.de> writes:
> 
> Joerg> ahead and set the priority in /etc/fstab with pri=PRIORITY, but
> Joerg> wait... the man page tells me that swap priority can have any
> Joerg> non-negative value, but the above kern.log tells me both
> Joerg> partitions have a negative value. Could someone please
> Joerg> enlighten me what this is all about?
> 
> If you don't add a priority yourself, the kernel generates a number
> for you. And those numbers are negative.
> 
> The swapon() system call only lets you specify a number greater than
> 0. This means, those swap partitions where a priority is used are used
> in preference to the ones that have an automatic one.

-- 
No, "rm -rf *" does not mean "read mail -really fast"...



Reply to: