From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Percival Date: Mon, 03 Apr 2006 06:16:04 +0000 Subject: Re: Hotplug only coldplugs... Message-Id: <1144044965.8854.19.camel@localhost.localdomain> List-Id: References: <1143760894.8931.14.camel@localhost.localdomain> In-Reply-To: <1143760894.8931.14.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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&kid0944&bid$1720&dat1642 _______________________________________________ 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