Re: Nasty log spamming problem in ide proc changes

From: Jens Axboe
Date: Thu Nov 11 2004 - 11:15:39 EST

On Thu, Nov 11 2004, Alan Cox wrote:
> > + printk(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
> > + "obsolete, and will be removed soon!\n");
> > +
> The above should be rate limited or on the write case moved to after
> the capable() check. A program polling these settings now makes a nasty
> noise and wipes the logs. A user can also do it intentionally.

Or just print it once...

Jens Axboe

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at