From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 14 Dec 2004 00:46:03 +0000 Subject: Re: [ANNOUNCE] udev 047 release [u] Message-Id: <1102985163.14134.25.camel@localhost.localdomain> List-Id: References: <1102783489.12795.20.camel@nosferatu.lan> In-Reply-To: <1102783489.12795.20.camel@nosferatu.lan> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 2004-12-13 at 21:18 +0200, Martin Schlemmer [c] wrote: > 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: > > > 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, I've applied it to my tree and it will show up with the next sync. Kay ------------------------------------------------------- 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