Re: Filename case-insensitivity on OS X

2006-01-06 Thread Dan Lowe
On Jan 6, 2006, at 1:13 PM, Mark Jackson wrote: > Dan Lowe <[EMAIL PROTECTED]> writes: > >> Think about it - how many things used by average people are case >> sensitive? Passwords? That's about it. (And judging by most user >> passwords I have seen, they're almost all lowercase anyway.) Email >>

Re: Filename case-insensitivity on OS X

2006-01-06 Thread Mark Jackson
Dan Lowe <[EMAIL PROTECTED]> writes: > Think about it - how many things used by average people are case > sensitive? Passwords? That's about it. (And judging by most user > passwords I have seen, they're almost all lowercase anyway.) Email > addresses, URLs, the search box in Google, your AO

Re: Filename case-insensitivity on OS X

2006-01-06 Thread Dan Lowe
On Jan 3, 2006, at 9:50 PM, Tom Anderson wrote: > On Tue, 3 Jan 2006, Dan Sommers wrote: > >> On Tue, 03 Jan 2006 15:21:19 GMT, >> Doug Schwarz <[EMAIL PROTECTED]> wrote: >> >>> Strictly speaking, it's not OS X, but the HFS file system that is >>> case >>> insensitive. > > Aaah, of course. Why

Re: Filename case-insensitivity on OS X

2006-01-05 Thread Dan Lowe
On Jan 4, 2006, at 4:32 AM, Michael Anthony Maibaum wrote: > You can choose if HFS+ behaves in a case-preserving, case-insensitive > or case-sensitive manner. See man newfs_hfs. Case sensitive is not > supported on the 'System' volume, but I have several external disks > using it without a proble

Re: Filename case-insensitivity on OS X

2006-01-05 Thread Michael Anthony Maibaum
On 4 Jan 2006, at 02:50, Tom Anderson wrote: > On Tue, 3 Jan 2006, Dan Sommers wrote: > >> On Tue, 03 Jan 2006 15:21:19 GMT, >> Doug Schwarz <[EMAIL PROTECTED]> wrote: >> >>> Strictly speaking, it's not OS X, but the HFS file system that is >>> case >>> insensitive. > You can choose if HFS+ be

Re: Filename case-insensitivity on OS X

2006-01-04 Thread Maarten
Piet van Oostrum wrote: > It seems that with Tiger, HFS+ can be made case-sensitive. I haven't seen > it, only read about it. Yes, indeed, that is possible. I tried it, once. Right now I'm using the case insensitive version again, which should tell you how well it works - the canon utilities of my

Re: Filename case-insensitivity on OS X

2006-01-04 Thread Piet van Oostrum
> Doug Schwarz <[EMAIL PROTECTED]> (DS) wrote: >DS> In article <[EMAIL PROTECTED]>, >DS> Tom Anderson <[EMAIL PROTECTED]> wrote: >>> Afternoon all, >>> >>> MacOS X seems to have some heretical ideas about the value of case in >>> paths - it seems to believe that it doesn't exist, more or l

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Tom Anderson
On Tue, 3 Jan 2006, Dan Sommers wrote: > On Tue, 03 Jan 2006 15:21:19 GMT, > Doug Schwarz <[EMAIL PROTECTED]> wrote: > >> Strictly speaking, it's not OS X, but the HFS file system that is case >> insensitive. Aaah, of course. Why on earth didn't Apple move to UFS/FFS/whatever with the switch to

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Tom Anderson
On Tue, 3 Jan 2006, Scott David Daniels wrote: > Tom Anderson wrote: > >> Java has a java.io.File.getCanonicalPath method that does this, but i can't >> find an equivalent in python - is there one? > > What's wrong with: os.path.normcase(path) ? It doesn't work. Hooke:~ tom$ uname Darwin Hooke:

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Martin v. Löwis
Tom Anderson wrote: > Java has a java.io.File.getCanonicalPath method that does this, but i > can't find an equivalent in python - is there one? > > I can emulate it like this: I think it could be implemented more efficiently with getattrlist(2), looking for ATTR_CMN_NAME. Unfortunately, there ap

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Dan Sommers
On Tue, 03 Jan 2006 15:21:19 GMT, Doug Schwarz <[EMAIL PROTECTED]> wrote: > Strictly speaking, it's not OS X, but the HFS file system that is case > insensitive. You can use other file systems, such as "UNIX File > System". Use Disk Utility to create a disk image and then erase it > (again, usin

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Doug Schwarz
In article <[EMAIL PROTECTED]>, Tom Anderson <[EMAIL PROTECTED]> wrote: > Afternoon all, > > MacOS X seems to have some heretical ideas about the value of case in > paths - it seems to believe that it doesn't exist, more or less, so "touch > foo FOO" touches just one file, you can't have both

Re: Filename case-insensitivity on OS X

2006-01-03 Thread Scott David Daniels
Tom Anderson wrote: > Java has a java.io.File.getCanonicalPath method that does this, but i > can't find an equivalent in python - is there one? What's wrong with: os.path.normcase(path) ? --Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Filename case-insensitivity on OS X

2006-01-03 Thread Tom Anderson
Afternoon all, MacOS X seems to have some heretical ideas about the value of case in paths - it seems to believe that it doesn't exist, more or less, so "touch foo FOO" touches just one file, you can't have both 'makefile' and 'Makefile' in the same directory, "os.path.exists(some_valid_path.u