The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Rogier Wolff <R.E.Wolff@BitWizard.nl>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>,
	Roman Zippel <zippel@linux-m68k.org>
Subject: Re: HFS plus filenames.
Date: Wed, 17 Sep 2003 11:07:09 +0200	[thread overview]
Message-ID: <1063789628.5720.153.camel@gaston> (raw)
In-Reply-To: <20030917085523.B19276@bitwizard.nl>

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.
 


      reply	other threads:[~2003-09-17  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17  6:55 HFS plus filenames Rogier Wolff
2003-09-17  9:07 ` Benjamin Herrenschmidt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1063789628.5720.153.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=R.E.Wolff@BitWizard.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox