From Bugzilla Helper: User-Agent: Mozilla/4.77 [en] (Win98; U) Description of problem: When using mkisofs to create HFS CDROMs the resulting CDROM might not be shareable when mounted on a MacIntosh. But sometimes it will be. Version-Release number of selected component (if applicable): How reproducible: Sometimes Steps to Reproduce: 1. mkisofs -hfs --netatalk -o image . 2. 3. Actual Results: Appears to work properly. Volume not visible until CDROM mounted on a MacIntosh. Often will be unshareable on Mac. Expected Results: The CDROM should always be shareable. Additional info: I have found the reason and created a patch which cures the problem. The hfsdirent structure that is used to create the Desktop DB/DF files is not initialized properly. Depending on what is on the stack the "flags" element will be initialized incorrectly resulting in locked Desktop DB/DF files which causes the CDROM to be unshareable. --- mkisofs/desktop.c.sharing Tue Dec 5 14:25:05 2000 +++ mkisofs/desktop.c Thu Nov 15 10:48:30 2001 @@ -72,7 +72,7 @@ int end; { hfsfile *hfp; /* Mac file */ - hfsdirent ent; /* Mac finderinfo */ + hfsdirent ent = {0}; /* Mac finderinfo */ unsigned short clps; /* clump size */ unsigned short blks; /* blocks in a clump */ unsigned char *blk; /* user data */
Created attachment 37583 [details] Patch to cufre the problem
Patch added to rawhide build 1.10-8 of cdrtools. Thanks for the patch.