From nobody Thu Mar 09 09:34:11 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PXPCD6c0tz3wS2N for ; Thu, 9 Mar 2023 09:34:16 +0000 (UTC) (envelope-from pho@FreeBSD.org) Received: from kaskal.pair.com (kaskal.pair.com [209.68.5.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PXPCD4nX0z4V89 for ; Thu, 9 Mar 2023 09:34:16 +0000 (UTC) (envelope-from pho@FreeBSD.org) Authentication-Results: mx1.freebsd.org; none Received: from kaskal.pair.com (localhost [127.0.0.1]) by kaskal.pair.com (Postfix) with ESMTP id 3E5D0D6576E; Thu, 9 Mar 2023 04:34:15 -0500 (EST) Received: from Peters-Air (unknown [94.147.82.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by kaskal.pair.com (Postfix) with ESMTPSA id 79B5CD8D1FC; Thu, 9 Mar 2023 04:34:14 -0500 (EST) Date: Thu, 9 Mar 2023 10:34:11 +0100 From: Peter Holm To: Matthias Apitz Cc: Steve O'Hara-Smith , questions@freebsd.org Subject: Re: problem while moving HOME from FreeBSD to MacOS with bsdtar Message-ID: References: <20230309081835.afddc78d57a7f25b8f92b9aa@sohara.org> <20230309084125.GA9@sh4-5.1blu.de> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230309084125.GA9@sh4-5.1blu.de> X-Scanned-By: mailmunge 3.11 on 209.68.5.173 X-Rspamd-Queue-Id: 4PXPCD4nX0z4V89 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7859, ipnet:209.68.0.0/18, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, Mar 09, 2023 at 09:41:25AM +0100, Matthias Apitz wrote: > El día Donnerstag, März 09, 2023 a las 08:18:35 +0000, Steve O'Hara-Smith escribió: > > > On Thu, 9 Mar 2023 08:43:28 +0100 > > Matthias Apitz wrote: > > > > > I have had to move in my office from a FreeBSD in a VM to a Mac. > > > To not loose my HOME I created a tar archive on FreeBSD and restored it > > > with tar into the Mac (all details about versions see below). The tar > > > archive contains a lot of dirs and file (~30.000) and one dir is > > > guru/Mail where a mbox file guru/Mail/purism exists. It also exists a > > > plain file guru/mail (note: the dir is with capital M). This leads on > > > > You seem to have the default case insensitive filesystem setup on > > MacOS, you can change it - more details here: > > > > https://support.apple.com/en-ie/guide/disk-utility/dsku19ed921c/mac > > I don't think, that this is the case: > > APITZM-1MBPOH:~ apitzm$ touch Homework HOMEWORK > APITZM-1MBPOH:~ apitzm$ ls -l Homework HOMEWORK > -rw-r--r-- 1 apitzm OCLC\Domain Users 0 9 Mär 09:37 HOMEWORK > -rw-r--r-- 1 apitzm OCLC\Domain Users 0 9 Mär 09:37 Homework > > Note also in my originam mail that both names exist: > > APITZM-1MBPOH:~ apitzm$ ls -ld guru/Mail guru/mail > -rw-r--r-- 1 apitzm OCLC\Domain Users 4016 9 Nov 12:36 guru/Mail > -rw-r--r-- 1 apitzm OCLC\Domain Users 4016 9 Nov 12:36 guru/mail > > but that guru/Mail was created as a plain file, why it is in the tar > archive a directory. > > matthias > > -- > Matthias Apitz, ??? guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub $ 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 $ - Peter