Messages in this thread | | | Date | Thu, 11 Nov 2004 17:10:21 +0100 | From | Jens Axboe <> | Subject | Re: Nasty log spamming problem in ide proc changes |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |