Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Mar 2023 16:51:11 +0700
From:      Olivier <Olivier.Nicole@cs.ait.ac.th>
To:        Peter Holm <pho@FreeBSD.org>
Cc:        guru@unixarea.de, steve@sohara.org, questions@freebsd.org
Subject:   Re: problem while moving HOME from FreeBSD to MacOS with bsdtar
Message-ID:  <wu7zg8m8d80.fsf@banyan.cs.ait.ac.th>
In-Reply-To: <ZAmoEyCwwOq0mCXd@Peters-Air> (message from Peter Holm on Thu, 9 Mar 2023 10:34:11 %2B0100)

next in thread | previous in thread | raw e-mail | index | archive | help
> $  touch Homework HOMEWORK
> $ ls -li | grep -i homework
> 33069549 -rw-r--r--  1 pho  wheel         0  9 Mar 10:30 Homework
> $ ls -l homework HOMEWORK
> -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 HOMEWORK
> -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 homework
> $ ls -li homework HOMEWORK
> 33069549 -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 HOMEWORK
> 33069549 -rw-r--r--  1 pho  wheel  0  9 Mar 10:30 homework

If I read that correctly, 33069549 is the inode, both files have the
same inode? Is that on a Mac? On FreeBSD, both files would be created
with a different inode unless maybe one has some file deduplication
enabled at the filesystem level:

$ touch Homework HOMEWORK
$ ls -li | grep -i homework
344941451 -rw-r--r--   1 on    csimstaff            0 Mar  9 16:50 HOMEWORK
344941448 -rw-r--r--   1 on    csimstaff            0 Mar  9 16:50 Homework
$ 

Bests,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu7zg8m8d80.fsf>