lkml.org 
[lkml]   [2002]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Fix for duplicate /proc entries
On Fri, 8 Feb 2002, Mark Hahn wrote:

> > I can't argue that this fixes anything, it just gives proc a more
> > safety-scissors-like interface. The consequences of not having this check
>
> exactly why people oppose it: the kernel must be as sharp as possible.
> it should oops with a useful backtrace when a duplicate proc entry is attempted.
>

I'm on your side, really ;)

Currently, the kernel does not oops, produce a backtrace or anything for
this case. It doesn't really even fail in the normal sense, it just allows
something inconsistent to filesystems in general to happen without
indicating an error. What I have concluded from this is that proc is no
general filesystem, so there is no reason to treat it as such.

I can't argue that two birds in a bush are worth more than a bird in the
hand, the same as I can't argue that a check for an error is worth more
than the absence of that error.

I was really more interested in what its like to submit a kernel patch
than anything else (hmmph! tourists!) Thanks, it has been enlightening.

- Brent


-
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 13:24    [W:0.024 / U:0.488 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site