Bug 127525

Summary: hfsplus driver does not translate '/' characters
Product: [Fedora] Fedora Reporter: Paul W. Frields <stickster>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-08-03 15:52:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Convert HFS+ '/' filenames to ':' and back none

Description Paul W. Frields 2004-07-09 12:57:37 UTC
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):
kernel-2.4.22-1.2197.nptl

How reproducible:
Always

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.

Comment 1 Paul W. Frields 2004-07-09 13:11:32 UTC
Created attachment 101745 [details]
Convert HFS+ '/' filenames to ':' and back

Comment 2 Paul W. Frields 2004-08-03 15:52:18 UTC
Given Florian's comments at
<http://redhat.com/archives/fedora-devel-list/2004-August/msg00069.html>,
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