lkml.org 
[lkml]   [2003]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: HFS plus filenames.
On Wed, 2003-09-17 at 08:55, Rogier Wolff wrote:
> Hi,
>
> We used the new hfsplus driver lately. However it showed lots
> of files which had a "/" in the filename. Yes in the fileNAME.
>
> ls would find a file called "a/b" and then stat it, but no directory
> "a" would then be found....
>
> I tried modifying the unicode->ascii strcpy function, which I saw
> being called in the "readdir" code. That somehow didn't work,
> although I think it should have. (Not that it would have /worked/, but
> it should at least have shown "a_b" instead of "a/b") But it didn't.
> I didn't have the time to figure it out, but one of these days
> we should mangle those names in a predictable way to make filesystems
> like this usable under Linux... Right?

I haven't looked at the code to see if it does any such mangling,
but what could be done is like OS X, that is convert back and forth
between ":" and "/" which are the path separators of respectively
MacOS and Linux.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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