From: Matthew Percival <matthew@capgo.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Hotplug only coldplugs...
Date: Mon, 03 Apr 2006 06:16:04 +0000 [thread overview]
Message-ID: <1144044965.8854.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1143760894.8931.14.camel@localhost.localdomain>
G'Day,
> Ick, don't use diethotplug. It can be replaced with one line in a udev
> rule file. Just use udev and you should be fine.
I am now trying to migrate to udev (I had only filled /dev/ with a
hand-full of mknods in the past), but all the HOWTOs I find are very
distro-specific, while I am working with a home-cooked embedded system,
so I am having trouble with doing this.
I crosscompiled and installed udev with little trouble (it does not
seem to install udevstart for some reason, but I just copied it across)
and moved the contents of /dev/ to /lib/udev/devices/, but left copies
of console and null in /dev/: this much was straight-forward enough.
All the documentation I have seen now either skips forward to
customising rules, or tells you do perform some distro-specific
operation to complete this stage: I am completely lost at what to do
next!
I seem to need to mount a tmpfs on /dev/, then somehow have udev copy
the contents of /lib/udev/devices/ to /dev/, but have no idea how I am
supposed to do this. I have tried explicitly mounting /dev/, launching
udevd and running udevstart, but the moment I mount /dev/ I lose console
and null, so do not get any further. If I run udevstart without mounting
the tmpfs, it just creates an almighty number of useless files in on the
disk (in /dev/) --- I assume the number of files was simply because I
have not yet properly configured the rules.
How do I get udev started properly on an embedded system? I do not
need to worry about lilo/grub, and I do not use an initrd; I assume I
just need to add a few lines to my rcS file, but cannot work out what.
-- Matthew
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next prev parent reply other threads:[~2006-04-03 6:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-30 23:21 Hotplug only coldplugs Matthew Percival
2006-03-31 17:16 ` Greg KH
2006-04-03 6:16 ` Matthew Percival [this message]
2006-04-04 2:51 ` Matthew Percival
2006-04-06 6:33 ` Matthew Percival
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=1144044965.8854.19.camel@localhost.localdomain \
--to=matthew@capgo.com \
--cc=linux-hotplug@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.