From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SZG1k-0002p3-1r for garchives@archives.gentoo.org; Tue, 29 May 2012 06:35:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBE15E0A5C; Tue, 29 May 2012 06:35:13 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id D221FE0A59 for ; Tue, 29 May 2012 06:33:22 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKAG6Zu0/O+IMW/2dsb2JhbABEsnYDgRiBCIIVAQEEATocKAsLNAERFCU3iAkFC7l+iwhagUSCPGIDjT6HXIVfiDqBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="183475038" Received: from 206-248-131-22.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.131.22]) by ironport2-out.teksavvy.com with SMTP; 29 May 2012 02:33:21 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 29 May 2012 02:32:17 -0400 From: "Walter Dnes" Date: Tue, 29 May 2012 02:32:17 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Automount under mdev; looking for testers Message-ID: <20120529063217.GA4813@waltdnes.org> References: <20120528221802.GA4369@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 6d7ea32e-b98d-4df3-8a9a-618d16a791de X-Archives-Hash: 2673b69c91550af42e35a386bb6ced5b On Tue, May 29, 2012 at 09:13:24AM +0700, Pandu Poluan wrote > A quick question : for automounting to work, do you need to do sysctl -w > kernel.hotplug=/sbin/mdev , or is it optional? Thanks, I'll have to document that. In .config, I think you need "CONFIG_HOTPLUG=y". I don't know if the kernel can even be built without it. What output do you get from the command cat /proc/sys/kernel/hotplug I get... /sbin/mdev That's what you need. *IF THAT IS NOT THE CASE FOR YOU* the docs at http://git.busybox.net/busybox/plain/docs/mdev.txt give 2 options... 1) If you have a proc file system (yes we do), the way to do it is echo /sbin/mdev > /proc/sys/kernel/hotplug 2) For embedded systems without a proc filesystem, you can sysctl -w kernel.hotplug=/sbin/mdev Option 2 would probably also work for Gentoo, but the proc filesystem makes things a lot easier. In my case hotplug support was enabled and /sbin/mdev was already listed in /proc/sys/kernel/hotplug. Google turns up a lot of documentation for mdev on stripped down embedded systems. Trying to apply it to a desktop PC is breaking new ground. -- Walter Dnes