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

Reply via email to