Red Hat Bugzilla – Bug 127525
hfsplus driver does not translate '/' characters
Last modified: 2007-11-30 17:10:45 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510
Description of problem:
(All FC1 kernels have had this problem.)
HFS+ allows any file name character except a colon (:), including
slashes (/), which can cause a problem with Linux. Users will be
unable to deal with these files since an embedded '/' character
consistently makes the shell generate a "file not found" error since
it is looking in a non-existent path.
The standard HFS driver already has support for munging '/' characters
into ':' to play nicely with Linux shells. This should be fixed in the
2.4 kernel for both FC1 and RHEL 3, since it is a trivial problem, and
many people will not be moving to 2.6 yet.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach/insert HFS+ volume on any media which contains a file using
a '/' character.
2. Mount or use modprobe hfsplus to address media.
3. Try to address aforementioned file.
Actual Results: Error is always generated.
Expected Results: Filename should be translated '/' -> ':' on the way
from the media, and vice versa to prevent writing illegal characters
to the media.
Additional info: The next post will attach a patch to fix the problem.
Created attachment 101745 [details]
Convert HFS+ '/' filenames to ':' and back
Given Florian's comments at
it's probably better to just close this as fixed in current release.
Interested parties should be able to find this via a Bugzilla search.
Just in case: hfsplus hfs+ filename colon slash