Wierd 'No such file' behaviour

Willem Jan Withagen wjw at digiware.nl
Mon Jan 1 11:08:40 UTC 2018


On 31/12/2017 16:32, Dimitry Andric wrote:
> On 31 Dec 2017, at 15:56, Willem Jan Withagen <wjw at digiware.nl> wrote:
>>
>> During some work with ld versus lld if ran into:
>>
>> wjw at freetest.digiware.nl> ls -asl jails/ceph12/usr/bin/*ld*
>>    21 -r-xr-xr-x  1 root  wheel     37304 Jul 17 18:19 jails/ceph12/usr/bin/colldef*
>>     6 -r-xr-xr-x  1 root  wheel     10312 Jul 17 18:19 jails/ceph12/usr/bin/fold*
>>   970 -r-xr-xr-x  2 root  wheel   1862200 Jul 17 18:18 jails/ceph12/usr/bin/ld*
>>   970 -r-xr-xr-x  2 root  wheel   1862200 Jul 17 18:18 jails/ceph12/usr/bin/ld.bfd*
>> 17090 -r-xr-xr-x  1 root  wheel  32911632 Jul 17 18:19 jails/ceph12/usr/bin/ld.lld*
>>     7 -r-xr-xr-x  1 root  wheel     11480 Jul 17 18:19 jails/ceph12/usr/bin/ldd*
>>    13 -r-xr-xr-x  1 root  wheel     18844 Jul 17 18:20 jails/ceph12/usr/bin/ldd32*
>> 26384 -r-xr-xr-x  1 root  wheel  51137920 Jul 17 18:19 jails/ceph12/usr/bin/lldb*
>>
>> So jails/ceph12/usr/bin/lld is found in ls...
>>
>> But:
>> wjw at freetest.digiware.nl> file jails/ceph12/usr/bin/lld
>> jails/ceph12/usr/bin/lld: cannot open `jails/ceph12/usr/bin/lld' (No such file or directory)
>>
>> The same error for strings.
>>
>> So why is this file not available?
> 
> Because it's either "ld.lld", or "ldd", but not "lld". :)

Auch,
Brain twister.

Thanx,
--WjW



More information about the freebsd-fs mailing list