From: Guest section DW <dwguest@win.tue.nl>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>, viro@math.psu.edu (Alexander Viro)
Cc: szabi@inf.elte.hu (BERECZ Szabolcs), linux-kernel@vger.kernel.org
Subject: Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding
Date: Sun, 13 May 2001 02:00:53 +0200 [thread overview]
Message-ID: <20010513020053.B7635@win.tue.nl> (raw)
In-Reply-To: <Pine.GSO.4.21.0105121921550.11973-100000@weyl.math.psu.edu> <E14yis0-0004c9-00@the-village.bc.nu>
In-Reply-To: <E14yis0-0004c9-00@the-village.bc.nu>; from Alan Cox on Sun, May 13, 2001 at 12:32:20AM +0100
On Sun, May 13, 2001 at 12:32:20AM +0100, Alan Cox wrote:
> > > root@kama3:/home/szabi# cat /proc/mounts
> > > /dev/hdb2 /usr ext2 rw 0 0
> > > root@kama3:/home/szabi# swapon /dev/hdb2
> >
> > - Doctor, it hurts when I do it!
> > - Don't do it, then.
> >
> > Just what behaviour had you expected?
>
> EBUSY would be somewhat nicer.
I suppose the return will be EINVAL when there is no swap signature.
But the mistake is doing set_blocksize too early. (Even twice. Why?)
We should first check whether things are OK before starting to make changes.
Andries
next prev parent reply other threads:[~2001-05-13 0:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-12 23:00 mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding BERECZ Szabolcs
2001-05-12 23:23 ` Alexander Viro
2001-05-12 23:32 ` Alan Cox
2001-05-12 23:42 ` Alexander Viro
2001-05-13 13:04 ` Jesse Pollard
2001-05-13 0:00 ` Guest section DW [this message]
2001-05-12 23:33 ` BERECZ Szabolcs
2001-05-12 23:39 ` Alexander Viro
2001-05-12 23:54 ` BERECZ Szabolcs
2001-05-13 14:21 ` Gerhard Mack
2001-05-13 16:23 ` Alan Cox
2001-05-14 9:29 ` 2.2.19 and RAID levels Riccardo Facchetti
2001-05-14 9:30 ` Alan Cox
2001-05-12 23:25 ` mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding Matthew Dharm
2001-05-12 23:42 ` BERECZ Szabolcs
2001-05-13 2:17 ` ashridah
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010513020053.B7635@win.tue.nl \
--to=dwguest@win.tue.nl \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=szabi@inf.elte.hu \
--cc=viro@math.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.