From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nico Schottelius Date: Wed, 10 Nov 2004 06:41:34 +0000 Subject: Re: udevstart problem Message-Id: <20041110064134.GD18508@schottelius.org> List-Id: References: <20041107140753.GB1722@schottelius.org> In-Reply-To: <20041107140753.GB1722@schottelius.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers [Wed, Nov 10, 2004 at 01:06:26AM +0100]: > On Tue, 2004-11-09 at 22:39 +0100, Nico Schottelius wrote: > > Nico Schottelius [Mon, Nov 08, 2004 at 10:26:45PM +0100]: > > [...] > > I want to run udevstart at system startup. I am using > > minit[0,1], which starts programs with links: > > > > ln -s /sbin/udevstart run > > Yes, but minit uses the the link target and passes it as argv[0]. So > this should work. If not, just wrap it in a two line shell script that > does an exec udevstart. Didn't know that minit does that, will have to look into the source to be able to verify that. The second solution is the one I am currently using, but which is imho dirty, as it starts an additional shell (which will effectively slow down the boot process some mili-seconds). > > When calling run, it looks like udevstart (which is a link to udev) > > looks at argv[0]. > > > > Can we change that and make two programs of it or add > > a parameter "-s" for start to udev? > > I will add a parameter. I miss that too, cause you need to create the > link in the source tree just to test udevstart. That sounds very good! As soon as you realesed that, I'll try it (I see I should subscribe to the ML in the near future). Just found another interesting thing: The default permissions file is very small, not covering null, zero, pty* and so on. Is there a place you maintain bigger samples or are you interested in having, which can be used for productive systems? Nico ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ 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