lkml.org 
[lkml]   [1998]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: using old style /proc/pci and /dev/cua?
On Fri, May 22, 1998 at 10:08:57AM +0100, Tigran Aivazian wrote:
> Hello guys,
>
> In recent 2.1.x kernels, when a user process accesses /proc/pci I get a
> message that such and such uses obsolete /proc/pci. Ok, that is fine...
> but why do I only get the first message, i.e. if some other process does
> it as well, nothing is logged.
> Shouldn't it warn user about everyone/everything using the old semantics?
>
> Try cat /proc/pci ; dmesg ; vi /proc/pci ; dmesg and you will see that
> access by cat(1) is logged while the access by vi(1) is not.
>
> The same thing happens with /dev/cua? devices, i.e. only the first attempt
> is logged.
>

Some warning messages that could be annoying and potentially produce a
lot of garbage in the logs are only printed a few times and then
disabled. This is intentional and IMO a good idea.

astor

--
Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
http://www.guardian.no/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.045 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site