Mac Format

The case of the identical filenames

-

I’m studying Business Computing and want to write C programs on my Mac that will eventually be run on Linux machines to be graded. Most libraries and source files we are given use the case to distinguis­h between files, so myFILE is different to MyFile, say. But OS X treats the filenames as identical. Can I make it recognise the difference, without manually renaming every file twice over? Brody Hamilton The case sensitivit­y, or lack of it, isn’t part of the operating system, it’s part of the filing system that’s created when you format (or partition) the disk. The default filing system for Mac disks is Journaled HFS+, which appears in Disk Utility as ‘Mac OS Extended (Journaled)’. What you need is ‘Mac OS Extended (Casesensit­ive, Journaled)’. Converting your entire disk to this will require you to back it all up, reformat it and restore. And anyway, casesensit­ive filing systems can confuse some system utilities. It’s better to create a small partition in Disk Utility with a case-sensitive filing system, just for your university files. If you want a different filing system, you can put it on its own partition or in a disk image.

 ??  ??

Newspapers in English

Newspapers from Australia