From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Sun, 07 Dec 2003 19:42:42 +0000 Subject: Re: [announce] scsi_id release 0.2 Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Dec 07, 2003 at 04:38:02PM +0100, Olaf Hering wrote: > On Fri, Dec 05, Patrick Mansfield wrote: > > > Version 0.2 of scsi_id is available at: > > > > http://www-124.ibm.com/storageio/scsi_id/scsi_id-0.2.tar.gz > > What is $(DEBUG)? It is used by klibc and replaced by true/false. I use it to compile with -g. i.e.: # make DEBUG=-g cc -DSCSI_ID_VERSION=\"0.2\" -g -Wall -c -o scsi_id.o scsi_id.c cc -DSCSI_ID_VERSION=\"0.2\" -g -Wall -c -o scsi_serial.o scsi_serial.c cc -o scsi_id scsi_id.o scsi_serial.o -lsysfs The udev DEBUG value does not get passed down to the extras, so the scsi_id build under udev should be OK. Is it breaking your build? If so I'll just remove it. The scsi_id debug logging via the "-v" or when DEBUG is set is always enabled - it outputs to syslog LOG_DEBUG when called from udev, or via stderr when used via the command line. (Though the klibc strerror() only prints the errno value, making for some odd error messages.) -- Patrick Mansfield ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ 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