From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hai Zaar Date: Tue, 31 Jan 2006 16:36:15 +0000 Subject: Re: udevd "got lost" after moving /dev Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 1/31/06, Scott James Remnant wrote: > On Tue, 2006-01-31 at 16:47 +0200, Hai Zaar wrote: > > > > Don't run the daemon from initramfs on the real root. > > Is there any technical reason for it? > > > Because it can't see the real filesystem once the pivot_root has taken > place. You are right. After some more thinking I've got it myself. Thanks! > > > > You should kill it > > > before leaving initramfs and start the real one. Ususally you also want > > > to replay all events in the real root, cause there could be different > > > rules and different tools available than in initramfs. > > My mkinitramfs script brings real udev rules to initramfs image, so I > > have exactly the same rules both in initramfs and real root. > > > But then you can't update those rules in the real root and have udevd > automatically reload; you'd have to reboot! Well, I still keep /etc/init.d/udev script, so if I update rules, I can run /etc/init.d/udev restart or something like that. That does not matter anyway, due to the first reason above. > > Scott > -- > Scott James Remnant > scott@ubuntu.com > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iD8DBQBD34JASnQiFMl4yK4RAtMWAJ9/0M7sG+76LMZlyJ/7o5KdmNU9GwCgm/CO > ET4i4BQ9IEycI0NWbfOvhyM> =gdBc > -----END PGP SIGNATURE----- > > > -- Zaar ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd_______________________________________________ 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