linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Schlemmer [c]" <azarah@nosferatu.za.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [ANNOUNCE] udev 047 release [u]
Date: Mon, 13 Dec 2004 19:18:57 +0000	[thread overview]
Message-ID: <1102965538.11272.5.camel@nosferatu.lan> (raw)
In-Reply-To: <1102783489.12795.20.camel@nosferatu.lan>

[-- Attachment #1: Type: text/plain, Size: 2856 bytes --]

On Mon, 2004-12-13 at 18:08 +0100, Kay Sievers wrote:
> On Mon, 2004-12-13 at 18:44 +0200, Martin Schlemmer [c] wrote:
> > On Sat, 2004-12-11 at 18:46 +0100, Kay Sievers wrote:
> > > On Sat, 2004-12-11 at 18:44 +0200, Martin Schlemmer [c] wrote: 
> > > > On Wed, 2004-12-08 at 10:58 -0800, Greg KH wrote:
> > > > 
> > > > > Lots of changes here in this release, see the full changelog below.
> > > > > Highlights are:
> > > > > 	- massive change with the way udevd can now work.  See
> > > > > 	  http://thread.gmane.org/gmane.linux.hotplug.devel/6173 for
> > > > > 	  more details on this (Kay's changes are now part of udev
> > > > > 	  proper, you don't have to apply anything for this to work,
> > > > > 	  just follow the directions in
> > > > > 	  http://article.gmane.org/gmane.linux.hotplug.devel/6192
> > > > > 	  to enable this mode.)
> > > > 
> > > > Any suggestions to determining the version of the installed udev?
> > > > This is now during startup, to see if we can make use of using
> > > > udevsend as hotplug agent.  If the system was up, udevinfo could
> > > > be used, but that is in /usr/bin that might be on a seperate /usr.
> > > > I know we might move udevinfo to /bin, but that might be an issue
> > > > for some, and adding a -V switch to /sbin/udev might be a better
> > > > choice if you do not have have any nit's against it ....
> > > 
> > > Good idea, we should do that. I've added it to my tree at:
> > >   http://vrfy.bkbits.net:8080/udev/
> > > 
> > > The next version will print:
> > >   [kay@pim udev.kay]$ /sbin/udev -V
> > >   048
> > > 
> > 
> > Another quick question ... why was the '-d' switch to udevinfo
> > removed?
> 
> The udev db is plaintext now. The -d option was for the binary tdb file,
> to get an idea whats in there.
> A dump is just a "cat /dev/.udevdb/*" now. :)
> 

Ah, ok, thanks.  Btw, using udevsend as hotplug agent seem to work
fine, although hal still do not recognise a flash drive if I have
udev renave the node to /dev/usbfd* ...

PS: you might need something like:

-----
--- udevinfo.c.orig     2004-12-13 21:15:49.000000000 +0200
+++ udevinfo.c  2004-12-13 21:16:59.000000000 +0200
@@ -242,7 +242,7 @@

 static int process_options(int argc, char *argv[])
 {
-       static const char short_options[] = "adn:p:q:rsVh";
+       static const char short_options[] = "an:p:q:rsVh";
        int option;
        int retval = 1;
        struct udevice udev;
@@ -439,7 +439,7 @@
        }

 help:
-       printf("Usage: udevinfo [-anpqrdVh]\n"
+       printf("Usage: udevinfo [-anpqrVh]\n"
               "  -q TYPE  query database for the specified value:\n"
               "             'name'    name of device node\n"
               "             'symlink' pointing to node\n"
-----


Thanks,

-- 
Martin Schlemmer


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-12-13 19:18 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-08 18:58 [ANNOUNCE] udev 047 release Greg KH
2004-12-08 19:28 ` Greg KH
2004-12-08 19:46   ` [ANNOUNCE] udev 048 release Greg KH
2004-12-08 21:56     ` Tomasz Kłoczko
2004-12-08 22:05       ` Greg KH
2004-12-08 22:15         ` Kay Sievers
2004-12-08 23:25         ` Tomasz Kłoczko
2004-12-08 22:22     ` Marco d'Itri
2004-12-08 23:56     ` Marco d'Itri
2004-12-09  0:08     ` Mike Frysinger
2004-12-09 21:47     ` Andrew Walrond
2004-12-09 23:25       ` Greg KH
2004-12-10  8:46         ` Andrew Walrond
2004-12-09 21:56     ` Kay Sievers
2004-12-09 22:07     ` Andrew Walrond
2004-12-09 22:18     ` Kay Sievers
2004-12-09 22:24     ` Andrew Walrond
2004-12-09 22:27     ` Kay Sievers
2004-12-09 22:33     ` Andrew Walrond
2004-12-11 16:44 ` [ANNOUNCE] udev 047 release [u] Martin Schlemmer [c]
2004-12-11 17:46   ` Kay Sievers
2004-12-11 17:59   ` Martin Schlemmer [c]
2004-12-13 16:44   ` Martin Schlemmer [c]
2004-12-13 17:08   ` Kay Sievers
2004-12-13 19:18   ` Martin Schlemmer [c] [this message]
2004-12-14  0:46   ` Kay Sievers
2004-12-17  0:08   ` Greg KH
2004-12-17 17:11   ` Martin Schlemmer [c]
2004-12-17 23:32   ` Greg KH

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=1102965538.11272.5.camel@nosferatu.lan \
    --to=azarah@nosferatu.za.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).