Date: Thu, 18 Dec 2014 14:22:13 +0100 From: Rolf Nielsen <rmg1970swe@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Finding 32-bit binaries Message-ID: <5492D505.4090800@gmail.com> In-Reply-To: <20141218125653.GA12129@freebsd.crowsnest.tk> References: <54923141.4090209@gmail.com> <20141218125653.GA12129@freebsd.crowsnest.tk>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-12-18 13:56, Carrion Crow wrote: > Hi, > > Maybe try something like this: > > for DIR in /bin /sbin /usr/local/bin /usr/local/sbin; do for BIN in > $DIR/*; do file $BIN; done | grep '32-bit'; done > Thanks. I did something similar, though not exactly the same. And I included more directories. And I found this file /usr/lib/kgzldr.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (FreeBSD), not stripped What does it do? And why is it where I'd expect only 64-bit binaries? Will it be able to do whatever it's doing if I remove 32-bit compat and libs? Regards, Rolf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUktUFAAoJEPJMW41Co4JggXwP+gLgVPSxKs7+xIC9A3vNI+FW RZYs7i7LLmwuhPWGGspNN7aIh22VkU9wdAInF5Nkd6J/2Pg0viz1i8aWMXTFvoWM 2h0AWONzMOaNde4eTzk4bmbRs1Smxehzo0UlnQlS29BTsOpDjeE5epZvMuMvk318 5B64xADPNd1meTQ9+zenv001wdq0o/mibwk5wYP85V33r+/aiQ9aBeiL6OlQjjDM eGCtxnHf8uzCZ47mcq06/2EJ1Ip47JUHPXrUASYNvQjnLXqeqgUl84dIwzQI4sY2 WjwjzMDYdUwHh0Nf+q0P85KmxEssbyNYU5mMN0PGmwLZKFl/Blxi9xMK5KYY2rI7 BPO8fqygfURmTsW2qbdplIkXbz9SNlltrw9IceYSUK0jT3uYH9YrB7Ir9+owMtXP rdhSsdlxvWxEYLmGj8UBamn8AG/n9tOWillM4HvrYMVnEbyZOuvf5JFmpcQDWsw5 n7ox0EiXtOgEpxjVyxF75gF2gkuFreELz14dxfrM8hZwGiUBPv+A8vTu7O5xVxh5 qNzGjzoiQz2lqbknxLnqOLh15jzeluNBJ963wTHAisVsmVPUjhB9lS8DEaFfvqs2 CkkWDRC1Z4c/yZrRG5rwZSvAjS+9s0LOH5cl1WPdT5KjGuKstixcenrjlnjFHJ7f GqALPrs/cSrTlJ/W7fzs =pA+r -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5492D505.4090800>