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:22:07 +0100 Message-ID: <49C3987F.8010804@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> 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: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 -- 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