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

From: Matthias Apitz <guru_at_unixarea.de>
Date: Thu, 09 Mar 2023 09:52:04 UTC
El día Donnerstag, März 09, 2023 a las 10:34:11 +0100, Peter Holm escribió:

> $  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
> $ 

You're fully correct. There are two directory entries, but both point to
the same inode and data blocks:

$ 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
$ date > HOMEWORK
$ cat Homework
Do  9 Mär 2023 10:46:40 CET

What is this for a file system idea? I will check, if I can modify this
without reinstallation of the complete system.

Thanks to pointing me in the right direction.

	matthias
-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub