From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Schlemmer [c]" Date: Mon, 13 Dec 2004 19:18:57 +0000 Subject: Re: [ANNOUNCE] udev 047 release [u] Message-Id: <1102965538.11272.5.camel@nosferatu.lan> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-ANm3ndg4vvV1slcmV/zz" List-Id: References: <1102783489.12795.20.camel@nosferatu.lan> In-Reply-To: <1102783489.12795.20.camel@nosferatu.lan> To: linux-hotplug@vger.kernel.org --=-ANm3ndg4vvV1slcmV/zz Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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:=20 > > > > On Wed, 2004-12-08 at 10:58 -0800, Greg KH wrote: > > > >=20 > > > > > Lots of changes here in this release, see the full changelog belo= w. > > > > > 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.) > > > >=20 > > > > 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 .... > > >=20 > > > Good idea, we should do that. I've added it to my tree at: > > > http://vrfy.bkbits.net:8080/udev/ > > >=20 > > > The next version will print: > > > [kay@pim udev.kay]$ /sbin/udev -V > > > 048 > > >=20 > >=20 > > Another quick question ... why was the '-d' switch to udevinfo > > removed? >=20 > 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. :) >=20 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[] =3D "adn:p:q:rsVh"; + static const char short_options[] =3D "an:p:q:rsVh"; int option; int retval =3D 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, --=20 Martin Schlemmer --=-ANm3ndg4vvV1slcmV/zz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBveshqburzKaJYLYRAiG2AJ9ErcrK40JwLk8TOKH0GZee+clEkgCdEMrI 0qVi0oFocqgEMJ2sv1vJIrs= =9HKy -----END PGP SIGNATURE----- --=-ANm3ndg4vvV1slcmV/zz-- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ 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