Re: using old style /proc/pci and /dev/cua?

Alexander Kjeldaas (
Fri, 22 May 1998 18:56:36 +0200

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.


 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to