Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-06-2005, 10:17 AM   #1
LQ Newbie
Registered: Nov 2003
Location: NY
Posts: 12

Rep: Reputation: 0
How do i create HFS, HFS+ and RockRidge CD's?

Hello fellow users,

I work as a software test engineer and I am truly loving how linux has made my job sooo much easier already. I am currently testing some forensic tools in regards to different types of CD's. One of the tests requires that I create some CD in the rockridge, HFS, and HFS+ conventions. My only problem I do this using mkisofs against some directory, or is it based on options I pass to # cdrecord?

If anybody has any cursory feedback on this it would be greatly appreciated, I am hoping that I am simply able to make 3 separate ISO images from a sample data directory by simply passing different variables (which at the moment I find confusing) to # mkisofs (and if anybody wants to suggest the Do's and Don't of these variables, even better ) Thanks so much
Old 04-06-2005, 02:15 PM   #2
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
I think it is based on the options you pass to the mkisofs command rather than the directory or cdrecord. If I am understanding you correctly, you will want to create isos (which you will later burn with cdrecord) using the -R and -hfs options passed to mkisofs.
Old 06-19-2005, 10:13 PM   #3
Registered: May 2005
Distribution: Debian
Posts: 83
Blog Entries: 2

Rep: Reputation: 15
HFS cds

on hfs and hfs+ file systems, as well as the data on the filesystem there are type and creator
fields. These tell what kind of file it is and what application created it.

to make a proper hfs cd you need to use -hfs as well as -map MAP_FILE and -magic MAGIC_FILE

-map will match file types and creators to the file's extension and -magic will do a simular sort
of thing but will use the "magic" characters at the start of a file.

i think you can even use -probe if the source files are already on a hfs file system.

so to make a hfs/rockridge/joliet cd you can use

mkisofs -o output.iso -V "volume lable" -r -J -hfs -map MAP_FILE -magic MAGIC_FILE ./

the process is simular if you only want to make iso9660 cds with apple extensions simular
to joliet or rockridge.

Hope that's helpful


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HFS/+ everywhere mimithebrain General 2 09-29-2005 06:51 PM
HFS+ RAID on Slackware 10 Scott Willson Linux - Hardware 2 01-09-2005 05:48 PM
hfs ipod troubles Linux - Hardware 0 05-20-2004 10:26 PM
can I use HFS+ in linux on x86? sunowww Linux - General 5 03-17-2004 10:12 AM
hfs+ Mighty_Viking Linux - Hardware 0 08-10-2003 01:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration