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

From: BERECZ Szabolcs (szabi@inf.elte.hu)
Date: Sat May 12 2001 - 18:42:45 EST


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/



This archive was generated by hypermail 2b29 : Tue May 15 2001 - 21:00:31 EST