Re: xfs getting case-insensitive filesystem support...

2008-04-24 Thread Dmitry Timoshkov
Joerg Mayer [EMAIL PROTECTED] wrote:

 On Wed, Apr 23, 2008 at 08:39:40PM -0700, Dan Kegel wrote:
 Hrm.  This is interesting:
   http://lwn.net/Articles/278961/
 I wonder if Wine could run faster if it could delegate
 the case-insensitvity to the filesystem...
 
 Would be nice indeed, but I don't think it will come: Linus shot down
 similar patches in the past because to_lower may be easy to implement
 for ascii, but once you want to implement it for all charsets supported
 by the files system it gets very messy.

Sure, it's messy until the filesystem is unicode internally, and uses
something more reasonable instead of a multibyte UTF-8.

-- 
Dmitry.




Re: xfs getting case-insensitive filesystem support...

2008-04-24 Thread David Laight
On Thu, Apr 24, 2008 at 03:05:51PM +0900, Dmitry Timoshkov wrote:
 Joerg Mayer [EMAIL PROTECTED] wrote:
 
  On Wed, Apr 23, 2008 at 08:39:40PM -0700, Dan Kegel wrote:
  Hrm.  This is interesting:
http://lwn.net/Articles/278961/
  I wonder if Wine could run faster if it could delegate
  the case-insensitvity to the filesystem...
  
  Would be nice indeed, but I don't think it will come: Linus shot down
  similar patches in the past because to_lower may be easy to implement
  for ascii, but once you want to implement it for all charsets supported
  by the files system it gets very messy.
 
 Sure, it's messy until the filesystem is unicode internally, and uses
 something more reasonable instead of a multibyte UTF-8.

Unix filesystems treat filenames as byte-strings, this is 100% reasonable :-)
Any conversion to glygps isn't a filesyatem operation.

David

-- 
David Laight: [EMAIL PROTECTED]




xfs getting case-insensitive filesystem support...

2008-04-23 Thread Dan Kegel
Hrm.  This is interesting:
  http://lwn.net/Articles/278961/
I wonder if Wine could run faster if it could delegate
the case-insensitvity to the filesystem...




Re: xfs getting case-insensitive filesystem support...

2008-04-23 Thread Joerg Mayer
On Wed, Apr 23, 2008 at 08:39:40PM -0700, Dan Kegel wrote:
 Hrm.  This is interesting:
   http://lwn.net/Articles/278961/
 I wonder if Wine could run faster if it could delegate
 the case-insensitvity to the filesystem...

Would be nice indeed, but I don't think it will come: Linus shot down
similar patches in the past because to_lower may be easy to implement
for ascii, but once you want to implement it for all charsets supported
by the files system it gets very messy.

 Ciao
 Joerg
-- 
Joerg Mayer   [EMAIL PROTECTED]
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.