Messages in this thread | | | Date | Tue, 2 Dec 2003 20:37:44 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: 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/
| |