MAC OS X: How to determine if filesystem is case sensitive?
Posted
by
trojanfoe
on Stack Overflow
See other posts from Stack Overflow
or by trojanfoe
Published on 2011-01-16T15:35:44Z
Indexed on
2011/03/05
7:24 UTC
Read the original article
Hit count: 166
I have used the statfs(2) system call to get many characteristics of a Mac OS X filesystem, but it doesn't tell me if the filesystem is case-sensitive or not.
I need this information as the application I am developing will be moving many files around and I want to detect potential loss of data due to files being moved from a case-sensitive filesystem to a case-insensitive filesystem.
Can anyone suggest a way of detecting this?
© Stack Overflow or respective owner