TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DUMAS
from: LEW PITCHER
date: 2020-08-10 16:44:00
subject: Re: Strange construct in

On August 10, 2020 16:41, A.  Dumas wrote:

> Ahem A Rivet's Shot  wrote:
>> On Mon, 10 Aug 2020 11:24:23 +0100
>> Andy Burns  wrote:
>>> Probably the last time I looked at '[' to see it was a link to 'test'
>>> would have been on a Apollo Domain workstation ...
>>
>> It's still that way on FreeBSD's latest release.
>>
>> ✓ steve@steve /bin $ ls -li [ test
>> 819744 -r-xr-xr-x  2 root  wheel  23672  5 Nov  2019 [
>> 819744 -r-xr-xr-x  2 root  wheel  23672  5 Nov  2019 test
>> ✓ steve@steve /bin $ uname -a
>> FreeBSD steve 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC  amd64
>>
>> It's got a bit bigger over the years though.
>
> Are they copies or hardlinks?

Obviously, hardlinks. Note that both files share inode 819744 (the first
field in the "ls -li" output)


> Try: find /bin -samefile /bin/test
> On MacOS, derived from BSD, they're copies. Probably easier to distribute,
> and the size doesn't matter anymore.

--
Lew Pitcher
"In Skills, We Trust"

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.