Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding

BERECZ Szabolcs (szabi@inf.elte.hu)
Sun, 13 May 2001 01:42:45 +0200 (CEST)


On Sat, 12 May 2001, Matthew Dharm wrote:

> I was under the impression that you need to call swapon on swap partitions,
> and not on mounted filesystems.
hmm. so we can remove every check for good values in the kernel. yeah,
that would be pretty fast.
yes, I know it's really unusual to call sys_swapon with a mounted
partition, but IMHO sys_swapon is rarely called, so we can check if the
partition is mounted?

Bye,
Szabi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/