Re: Duplicated swap

Sylvain Pion (Sylvain.Pion@sophia.inria.fr)
Mon, 23 Mar 1998 14:08:08 +0100


On Mon, Mar 23, 1998 at 12:55:43PM +0100, Dominique LARCHEY-WENDLING wrote:
> Normally, the second "mount" should lead
> to a device busy message but that is not
> the case. My two swaps are mounted
> twice leading to :
>
> # /sbin/swapon -s
> Filename Type Size Used Priority
>
> /swap/swap1 file 130044 0 -5
> /swap/swap1 file 130044 0 -6
> /swap/swap2 file 130044 0 -7
> /swap/swap2 file 130044 0 -4
>
> I suppose this is dangerous ! Is this a known bug of
> the kernel ?

It's known, and should be corrected as soon as Stefen Tweedie will integrate
the patch I sent him (should be in 2.2). Before that, patch your user land
scripts.

-- 
Sylvain

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu