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

Gerhard Mack (gmack@innerfire.net)
Sun, 13 May 2001 07:21:25 -0700 (PDT)


On Sat, 12 May 2001, Alexander Viro wrote:

>
>
> On Sun, 13 May 2001, BERECZ Szabolcs wrote:
>
> > On Sat, 12 May 2001, Alexander Viro wrote:
> >
> > > - Doctor, it hurts when I do it!
> > > - Don't do it, then.
> > >
> > > 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?
> 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.
>

Really? Then why do 2.4.x kernels let you mkfs a mounted fs?

Gerhard

--
Gerhard Mack

gmack@innerfire.net

<>< As a computer I find your faith in technology amusing.

- 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/