From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Date: Tue, 20 Jan 2004 14:07:00 +0000 Subject: Re: [PATCH] udev - program to query all device attributes to build a rule Message-Id: <20040120140700.GA23410@suse.de> List-Id: References: <20040118063050.GA22137@vrfy.org> In-Reply-To: <20040118063050.GA22137@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sun, Jan 18, Kay Sievers wrote: > Hi, > here is a small program to query all attributes of a device and > print these in the udev key format. It may help to get the keys to > define a rule. I get link errors without this patch. make 'EXTRAS=3Dextras/scsi_id extras/udevinfo' USE_LOG=FAlse USE_KLIBC=3Dtr= ue STRIP=3D/bin/true Maybe I should build it against glibc. --- udev.bk/extras/udevinfo/Makefile 2004-01-18 15:50:58.000000000 +0100 +++ udev-013/extras/udevinfo/Makefile 2004-01-20 15:02:53.000000000 +0100 @@ -1,5 +1,6 @@ PROG=3Dudevinfo LD=3D$(CC) +override SYSFS=3D -L../../libsysfs -lsysfs OBJS=3Dudevinfo.o =20 all: $(PROG) @@ -8,7 +9,7 @@ clean: rm -f $(PROG) $(OBJS) =20 $(PROG): $(OBJS) - $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) + $(LD) $(LDFLAGS) -o $(PROG) $(CRT0) $(OBJS) $(SYSFS) $(LIB_OBJS) $(ARCH_L= IB_OBJS) =20 me: cd ../..; make EXTRAS=3Dextras/udevinfo --=20 USB is for mice, FireWire is for men! sUse lINUX ag, n=C3=9CRNBERG ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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