Date: Thu, 27 Oct 2005 11:21:17 -0700 From: Micah <micahjon@ywave.com> To: Will Maier <willmaier@ml1.net> Cc: freebsd-questions@freebsd.org Subject: Re: Which version of FreeBSD a binary was compiled for? Message-ID: <43611A9D.6070304@ywave.com> In-Reply-To: <20051027154408.GS29508@localdomain> References: <cb5206420510251524r32ddd9adx7d4fdce8f82a85be@mail.gmail.com> <17247.39311.203645.265116@jerusalem.litteratus.org> <cb5206420510260818p664df038g39a1035c747ac315@mail.gmail.com> <200510262115.48144.krinklyfig@comcast.net> <cb5206420510270116k27ad6e13r5dd17dbc7323c01f@mail.gmail.com> <4360DB59.7010900@ywave.com> <20051027154408.GS29508@localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Will Maier wrote: > On Thu, Oct 27, 2005 at 06:51:21AM -0700, Micah wrote: > >>I have a 5.4 system, /do/ go into single user when upgrading, and >>file does /not/ report FreeBSD version. I get the same output you >>do. It would be nice to know why this works on some systems and >>not on others. > > > Consider diff'ing the /usr/share/misc/magic file from a system that > works and a system that doesn't work. I'd expect the difference to > be evident there. > > It works find on all my machines, though. > I have two 5.4 systems, one's a 5.4-Release installed from Disk, the other's a 5.4-release-p7 upgraded from 5.3 via the procedures in the handbook. File on the former reports FreeBSD version, file on the latter does not. There appears to be only minor differences in magic files between the two machines. Copying the magic file from the working machine to the non-working machine and compiling it via file -c did not change anything. Copying the executable from the working machine to the non-working machine did nothing either. Note: alexis->5.4, trisha->5.4p7 alexis% file `which ethereal` /usr/X11R6/bin/ethereal: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4, dynamically linked (uses shared libs), stripped trisha% file `which ethereal` /usr/X11R6/bin/ethereal: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked (uses shared libs), stripped Thanks, Micah
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43611A9D.6070304>