Wierd 'No such file' behaviour
Dimitry Andric
dim at FreeBSD.org
Sun Dec 31 15:32:47 UTC 2017
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". :)
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20171231/d5110c2a/attachment.sig>
More information about the freebsd-fs
mailing list