lkml.org 
[lkml]   [2003]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Red Hat AS 2.1 crash.


On Tue, 2 Dec 2003, Eduardo E. Silva wrote:
>
> Hello, while mousing around we ran a command
>
> find / -type f -exec grep pass {} \;
>
> on a Red Hat Advanced Server 2.1 using kernel 2.4.9-e.12smp based rpm from
> Red Hat. Well the machine panic when grep hit /proc/kmsg.

That would be a bug. Although I suspect it's also a case of "don't do that
then" - you _really_ shouldn't indiscriminately touch files in /proc,
since they often have magical properties.

> I ran the same command on a machine with a later kernel 2.4.9-e.30smp
> withour panicing the machine. Although it hung up in the /proc/kmsg.
>
> Has this been a confirmed bug ?

The latter is not a bug, it's just an example of the magical properties of
/proc. Some files may _look_ like regular files, but you shouldn't depend
on it.

Linus
-
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: 2009-11-18 23:46    [W:0.100 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site