lkml.org 
[lkml]   [2001]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mount /dev/hdb2 /usr; swapon /dev/hdb2 keeps flooding


On Sun, 13 May 2001, 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.

Probably. Try to convince Linus that we need such exclusion. All stuff
needed to implement it is already there - see blkdev_open() for details.
OTOH, as long as kernel itself survives that... In this case I can see
the point in "give them enough rope" approach.

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

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.080 / U:0.812 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site