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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps ... BERECZ Szabolcs
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 ke... Alexander Viro
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2... BERECZ Szabolcs
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2... Gerhard Mack
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2... Alan Cox
- 2.2.19 and RAID levels Riccardo Facchetti
- Re: 2.2.19 and RAID levels Alan Cox
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps ... Alan Cox
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 ke... Alexander Viro
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2... Jesse Pollard
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 ke... Guest section DW
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flood... Matthew Dharm
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps ... BERECZ Szabolcs
- Re: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flood... ashridah