From: Alistair John Strachan <s0348365@sms.ed.ac.uk>
To: "Aaron Cohen" <aaron@assonance.org>
Cc: "LKML List" <linux-kernel@vger.kernel.org>
Subject: Re: Ordering hotplug scripts vs. udev device node creation
Date: Sun, 22 Oct 2006 19:49:29 +0100 [thread overview]
Message-ID: <200610221949.29260.s0348365@sms.ed.ac.uk> (raw)
In-Reply-To: <727e50150610211021s7779b787s7bac8f409a3f2518@mail.gmail.com>
On Saturday 21 October 2006 18:21, Aaron Cohen wrote:
> Hope this is a reasonable list to post this to.
>
> I'm trying to modify the gpsd hotplug script to work better with my
> udev setup. My USB serial devices are added to /dev/tts/USBx by udev
> and the default script assumes they are /dev/ttyUSBx.
>
> In any event, my hotplug script uses udevinfo to figure out the device
> file to use. The problem seems to be though that my hotplug script is
> getting run before udev has actually created the device node. Is
> there some ordering mechanism I'm missing that would help me out here?
Some distros have gotten rid of hotplug altogether and now use udev entirely
for handling plugging events (udevd). It seems like what you could do here
was write a simple udev rule to symlink the device when it's created.
--
Cheers,
Alistair.
Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
next prev parent reply other threads:[~2006-10-22 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-21 17:21 Aaron Cohen
2006-10-21 18:36 ` Andreas Jellinghaus
2006-10-22 18:49 ` Alistair John Strachan [this message]
2006-10-23 19:26 Aaron Cohen
2006-10-24 2:45 ` Andrey Borzenkov
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=200610221949.29260.s0348365@sms.ed.ac.uk \
--to=s0348365@sms.ed.ac.uk \
--cc=aaron@assonance.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®