From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Automount under mdev; looking for testers
Date: Tue, 29 May 2012 02:32:17 -0400 [thread overview]
Message-ID: <20120529063217.GA4813@waltdnes.org> (raw)
In-Reply-To: <CAA2qdGVWirJH2UK8zLKK0aOtk9qzeBBOgxaeOG2T6Rs6yhMM7g@mail.gmail.com>
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 <waltdnes@waltdnes.org>
prev parent reply other threads:[~2012-05-29 6:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 22:18 [gentoo-user] Automount under mdev; looking for testers Walter Dnes
2012-05-29 2:13 ` Pandu Poluan
2012-05-29 6:32 ` Walter Dnes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120529063217.GA4813@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox