Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762339AbXK2KH3 (ORCPT ); Thu, 29 Nov 2007 05:07:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758891AbXK2KHR (ORCPT ); Thu, 29 Nov 2007 05:07:17 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]:24467 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757696AbXK2KHP (ORCPT ); Thu, 29 Nov 2007 05:07:15 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=iDqaOKQbKwlCe3AiV80aBLGe6Itnrz06mBNsN1N/IdHFOlLS7/+T8cdCMM2bok3mbDEVKt45LJ0Kf3yJSq2oRG4OpeaeidYOMpcziXrlc6eLa4TzXSIbgt5Tryre+ydAdHHYw0r3rhIAj/Dh/9JndqcxEdF2jsYrmgBrOH//n9o= Message-ID: Date: Thu, 29 Nov 2007 13:07:14 +0300 From: "Alexey Dobriyan" To: "Robert P. J. Day" Subject: Re: does /proc/sys/kernel/modprobe actually do anything? Cc: linux-kernel@vger.kernel.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 17 On 11/29/07, Robert P. J. Day wrote: > echo '#! /bin/sh' > /tmp/modprobe > echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe > echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe > chmod a+x /tmp/modprobe > echo /tmp/modprobe > /proc/sys/kernel/modprobe > > i've tried that and i don't see that it does anything whatsoever. i > ran modprobe under "strace" and it doesn't appear to make any effort > to check /proc/sys/kernel/modprobe. Kernel, not modprobe, checks /proc/sys/kernel/modprobe . - 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/