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

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


On Sat, 12 May 2001, Alexander Viro wrote:

> > > Just what behaviour had you expected?
> > maybe that I don't have to shutdown?
> > I think it's a *bad* behaviour
>
> Erm... Let me restate: what did you expect to achieve with that?
nothing
I have an unused partition, what I use sometimes as fs, sometimes as swap.
that partition is /dev/hdc2
this time I really ran out of memory (0kfree swap), so I wanted swapon as
soon as possible, and accidentally I typed /dev/hdb2 instead of
/dev/hdc2.

> Swap on device means that all contents of that device is lost.
> Mounting fs from device generally means that you don't want the
> loss of contents. At least until you unmount the thing.
I know...

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