Subject: Re: Case-insensitive filesystems
To: Amitai Schlair <schmonz@schmonz.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 01/16/2002 23:13:16
On Wed, Jan 16, 2002 at 11:52:32AM -0500, Amitai Schlair wrote:
> Just bootstrapped pkgsrc on Darwin 5.2 (Mac OS X 10.1.2). Cool stuff!
> It's not yet as smooth a user experience as pkgsrc on NetBSD, but it's
> really promising.

Good news! Well done - which bootstrap kit did you use?
 
> One problem I've noticed: Mac OS X installs by default onto an HFS+
> filesystem, which is case-insensitive but case-preserving. This means
> that both devel/cvs (the CVS package) and devel/CVS (the "devel"
> directory's CVS metadata) exist, but can't be distinguished from each
> other. Since it's considered important for filenames in the main source
> tree to be safe for other systems (even Win32!), should we rename
> devel/cvs to something safer for case-insensitive filesystems?
> 
> More info on HFS+ vs. UFS:
> http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/Fil
> eSystem/Differences_HFS_and_UFS.html

To be quite honest, this thought had never occurred to me.

I'll have a think about it, but I'm a bit busy at the moment, and
there are some things I'd like to do with pkgsrc itself in the very
near future.

The filesystem that I used in doing the Darwin stuff originally,
though, was FFS, so I never really saw this problem. Is there any
way to convert from HFS+ to FFS? What happens to the devel/cvs
(package) directory? Does it show up like one of the old Mac resource
forks?

Thanks,
Alistair