From owner-freebsd-fs@freebsd.org Mon Jan 1 11:08:40 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 118A7EA4503 for ; Mon, 1 Jan 2018 11:08:40 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (smtp.digiware.nl [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D008B68D90; Mon, 1 Jan 2018 11:08:39 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from router.digiware.nl (localhost.digiware.nl [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id 066812EC5B; Mon, 1 Jan 2018 12:08:36 +0100 (CET) X-Virus-Scanned: amavisd-new at digiware.com Received: from smtp.digiware.nl ([127.0.0.1]) by router.digiware.nl (router.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2s0OwkEsh_Ft; Mon, 1 Jan 2018 12:08:35 +0100 (CET) Received: from [192.168.11.152] (unknown [192.168.11.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.digiware.nl (Postfix) with ESMTPSA id 63B642EC5A; Mon, 1 Jan 2018 12:08:35 +0100 (CET) Subject: Re: Wierd 'No such file' behaviour To: Dimitry Andric Cc: FreeBSD Filesystems References: <2609c91e-58a0-d2d8-215d-6f47c314242f@digiware.nl> From: Willem Jan Withagen Message-ID: Date: Mon, 1 Jan 2018 12:08:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jan 2018 11:08:40 -0000 On 31/12/2017 16:32, Dimitry Andric wrote: > On 31 Dec 2017, at 15:56, Willem Jan Withagen wrote: >> >> During some work with ld versus lld if ran into: >> >> wjw@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@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