Re: problem while moving HOME from FreeBSD to MacOS with bsdtar

From: Michael Schuster <michaelsprivate_at_gmail.com>
Date: Thu, 09 Mar 2023 10:01:49 UTC
On Thu, Mar 9, 2023 at 11:01 AM Olivier <Olivier.Nicole@cs.ait.ac.th> wrote:
>
> > I read that differently: it's a single entry (see 'ls -li' further
> > up), but matches any case:
> >
> >> $ ls -li Homework HOMEWORK
> >> 4016236 -rw-r--r--  1 apitzm  OCLC\Domain Users  0  9 Mär 09:37 HOMEWORK
> >> 4016236 -rw-r--r--  1 apitzm  OCLC\Domain Users  0  9 Mär 09:37 Homework
>
> In Unix parlance, it is called a link (or a hard link): two filenames
> (possibly in two different directories, but must be in the same file
> system) sharing a single inode.

actually no - the link count is 1.

>
> That is completely normal, but that should not be what is created by tar
> -x (or by touch) by default.
>
> Bests,
>
> Olivier



-- 
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'