From: greg@kroah.com (Greg KH)
To: lm-sensors@vger.kernel.org
Subject: [PATCH] sensors-detect and udev
Date: Thu, 19 May 2005 06:25:11 +0000 [thread overview]
Message-ID: <20040812002117.GA30854@kroah.com> (raw)
In-Reply-To: <20040810225714.GA2700@pc.aurel32.lan>
On Thu, Aug 12, 2004 at 01:11:16AM +0200, Aurelien Jarno wrote:
> On Wed, Aug 11, 2004 at 08:36:51PM +0200, Jean Delvare wrote:
> > > sensors-detect currently checks at the beginning of its execution if
> > > the i2c device nodes exists. It can't work on a system using udev as
> > > the nodes are created when the i2c-dev module is inserted.
> > >
> > > The attached patch fixes that.
> >
> > I don't get this:
> >
> > + if (-d './dev') {
> It's a typo, I made the patch to quickly. Should be
> if (-d './dev') {
I still don't see how that shows if you are running on a udev system or
not. Why not check for /dev/.udev.tdb or grep the process list for
udevd (hm, but SLES 9 will fail that one, even though it's using udev.)
thanks,
greg k-h
next prev parent reply other threads:[~2005-05-19 6:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:25 [PATCH] sensors-detect and udev Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Greg KH [this message]
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Aurelien Jarno
2005-05-19 6:25 ` Jean Delvare
2005-05-19 6:25 ` Greg KH
2005-05-19 6:25 ` Greg KH
2005-05-19 6:25 ` Mark M. Hoffman
2005-05-19 6:25 ` Jean Delvare
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=20040812002117.GA30854@kroah.com \
--to=greg@kroah.com \
--cc=lm-sensors@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.