lkml.org 
[lkml]   [1997]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Msdos name alias patch for 2.1.48


On Fri, 8 Aug 1997, Ingo Molnar wrote:
> > int fd = open("/dosc/windows/windows.ini", O_NOCASE | O_RDONLY);
> >
> > and it would work even if it was a ext2 filesystem?
>
> hm, another thing we didnt think of so far: all these
> 'cross-lookup-system' tools have to convert '\' to '/'
> anyway. So we could well say 'hey if you convert, do
> it right!'.
> _Or_ we have to handle '\' too ... *ducking down*

No.

The '/' vs '\' thing is not something that we should even try to handle in
the kernel - it's trivial to convert in user space. There is just one
correct conversion.

Case sensitivity is not trivial to convert, because the conversion space
is essentially unlimited (well, exponential, which comes down to the same
thing).

Linus


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.147 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site