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

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


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/