All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nico-linux-udev@schottelius.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udevstart problem
Date: Wed, 10 Nov 2004 06:41:34 +0000	[thread overview]
Message-ID: <20041110064134.GD18508@schottelius.org> (raw)
In-Reply-To: <20041107140753.GB1722@schottelius.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_id\x12065&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

  parent reply	other threads:[~2004-11-10  6:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-07 14:07 udevstart problem Nico Schottelius
2004-11-07 14:37 ` Marco d'Itri
2004-11-08 12:41 ` Nico Schottelius
2004-11-08 17:20 ` Marco d'Itri
2004-11-08 19:36 ` Kay Sievers
2004-11-08 21:26 ` Nico Schottelius
2004-11-09 21:39 ` Nico Schottelius
2004-11-10  0:06 ` Kay Sievers
2004-11-10  6:41 ` Nico Schottelius [this message]
2004-11-10  9:37 ` Marco d'Itri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041110064134.GD18508@schottelius.org \
    --to=nico-linux-udev@schottelius.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.