From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seewer Philippe Subject: Re: Thoughts on mounting the rootfs from a udev rule Date: Fri, 20 Mar 2009 14:47:56 +0100 Message-ID: <49C39E8C.50908@bfh.ch> References: <1237496785.5070.28.camel@sentry-no.fnordovax.org> <49C3546C.8050505@suse.de> <1237540487.5070.54.camel@sentry-no.fnordovax.org> <49C360B3.9020107@bfh.ch> <20090320123018.GB3363@nb.net.home> <49C39509.2020205@bfh.ch> <49C3987F.8010804@bfh.ch> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Kay Sievers Cc: Karel Zak , Victor Lowther , Hannes Reinecke , initramfs Kay Sievers wrote: > On Fri, Mar 20, 2009 at 14:22, Seewer Philippe wrote: >> Kay Sievers wrote: >>> On Fri, Mar 20, 2009 at 14:07, Seewer Philippe >>> wrote: >>>> Karel Zak wrote: >>>>> On Fri, Mar 20, 2009 at 10:24:03AM +0100, Seewer Philippe wrote: >>>>>> Again, is it possible to send events to udev from Userspace? >>>>> uevent files in /sys ? >>>>> >>>>> echo "change" > /sys/devices/pci0000:00/0000:00:19.0/net/eth0/uevent >>>> good point! but... whatever I write in there, 'udevadm monitor' shows >>>> this: >>>> >>>> UEVENT[1237554273.439387] add >>>> /devices/pci0000:00/0000:00:19.0/net/eth0 >>>> (net) >>>> UDEV [1237554273.446993] add >>>> /devices/pci0000:00/0000:00:19.0/net/eth0 >>>> (net) >>> You got an ancient kernel? That was added very long ago to use match >>> valid event actions. >> Same behaviour on: >> -Ubuntu 8.10 stock 2.6.27-11-generic >> -Debian 5.0 stock 2.6.26-1-686 > > Oh, that's fine. You got a warning in dmesg, I guess, saying that you > did not write a proper string to the file? It's falling back to 'add' > then. Make sure you are not writing invalid action strings to it. That is correct. How do I find out which action strings are correct? > > Kay -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html