One can choose whether one's new filesystem is case-sensitive when one
initializes it with Disk Utility.

I don't recall when they added case-sensitivity but it was sometime
around tiger or leopard.

While the C programming language is defined to be case-sensitive, I
don't think UNIX enforces that definition.  It depends on the
filesystem - consider mounting an 8.3 FAT floppy.
Michael David Crawford
[email protected]
http://www.warplife.com/mdc/

   Available for Software Development in the Portland, Oregon Metropolitan
Area.


On Thu, Oct 16, 2014 at 10:29 PM, Lawrence Velázquez
<[email protected]> wrote:
> On Oct 16, 2014, at 8:56 PM, Jim Graham <[email protected]> wrote:
>
>> And, case-sensitive vs case-insensitive?  That debate doesn't apply on
>> Unix systems---it's always case-sensitive.  If I create two directories,
>> foo and Foo, they are different directories, and I know, from decades of
>> working with various Unix systems, that I am perfectly safe if I do a
>> rm -rf on one, as it will NOT touch the other.  The same goes for files.
>
> This is demonstrably false. I don't know whether the classic UFS was 
> case-sensitive, but the HFS+ that every Mac comes pre-formatted with is most 
> decidedly case-insensitive.
>
>     % mkdir foo
>     % mkdir Foo
>     mkdir: Foo: File exists
>     % stat foo
>     16777217 50608286 drwxr-xr-x 2 larryv staff 0 68 "Oct 17 01:23:10 2014" 
> "Oct 17 01:23:10 2014" "Oct 17 01:23:10 2014" "Oct 17 01:23:10 2014" 4096 0 0 
> foo
>     % stat Foo
>     16777217 50608286 drwxr-xr-x 2 larryv staff 0 68 "Oct 17 01:23:10 2014" 
> "Oct 17 01:23:10 2014" "Oct 17 01:23:10 2014" "Oct 17 01:23:10 2014" 4096 0 0 
> Foo
>     % rmdir Foo
>     % rmdir foo
>     rmdir: foo: No such file or directory
>     %
>
> vq
>
> _______________________________________________
> macports-users mailing list
> [email protected]
> https://lists.macosforge.org/mailman/listinfo/macports-users
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to