Operating System - HP-UX
1827298 Members
2750 Online
109961 Solutions
New Discussion

How do I burn a CD with an HFS layout?

 
Anthony Kloppers_1
Occasional Contributor

How do I burn a CD with an HFS layout?

I have read the ignite-ux docs and they start to explain the procedure to create a CD containing an HFS filesystem, then they stop short of explaining how to get the image onto a CD so that it is readable by an hp-ux system. I have tried many different types of cd writing software but without success. I sometimes do manage to get fstyp to report the CD as hfs, but when I try to mount it, it either hangs or comes back with an I/O error.

Has anyone had any success with this?
5 REPLIES 5
Kenneth Platz
Esteemed Contributor

Re: How do I burn a CD with an HFS layout?

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=4845

Here ya go.
I think, therefore I am... I think!
Eugene Klaus
Frequent Advisor

Re: How do I burn a CD with an HFS layout?

/sbin/newfs -F /dev/rdsk/c#t#d0
I have promises to keep and miles to go before I sleep and miles to go before I sleep
Anthony Kloppers_1
Occasional Contributor

Re: How do I burn a CD with an HFS layout?

Hi Kenneth

I do not have cdrecord for hp-ux, but I did download it for PC. I have used it, but not with exactly the same paramters mentioned in the link. I will try it out as soon as I get the time. I am not trying to make a boot cd though, just a simple collection of files. the ignite docs use that extra step install_combine to concatenate the LIF area onto the CD - I do not need that, but maybe I should try to include the LIF area and who knows maybe it will mount correctly.

I will let you know how the testing goes.

Kind Regards
Anthony Kloppers.
V. Nyga
Honored Contributor

Re: How do I burn a CD with an HFS layout?

Hi,

can you explain, why you want 'to report the CD as hfs'?
To write CD's for UX you can create an image which you can write to CD at a pc or a ws.

Volkmar
*** Say 'Thanks' with Kudos ***
Anthony Kloppers_1
Occasional Contributor

Re: How do I burn a CD with an HFS layout?

Hi Volkmar

I have successfully burnt CD's on the PC and managed to mount them on hp-ux using a few different methods. I used mkisofs and created a rockridge format CD, I have also created other CDFS images overriding the ISO9660 limits. In the above cases though, I either have to have additional patches loaded on hp-ux, or use pfs mounts, both of which I am capable of doing, but I often create CD's for H/W engineers and sometimes end customers to use. I therefore want to try and avoid situations where the relevant patches may not be loaded, or lengthy telephone support simply trying to mount a CD.

I know there are workarounds - like tarring the source directory into a single file with a short 8.3 format filename, burning that onto CD and then letting the end-user untar the file. This however is not an elegant solution and requires additional disk space. Now if we can create a CD with hfs format, then I have NO limitations with filenames, I can create directory depots on the CD that will work AND the end user can easily mount the CD.

The ignite-UX docs indicate that this is possible. I do not need a boot area on my CD's though so I do not use the step to use install_combine. Here is a summary of steps I use:
lvcreate -L 270 -n archvol vg00
newfs -F hfs -f 2048 /dev/vg00/rarchvol
mkdir /tmpcd
mount /dev/vg00/archvol /tmpcd
find /var/sourcedir | cpio -pdumv /tmpcd
umount /tmpcd
dd if=/dev/vg00/rarchvol of=/var/tmp/fs_image_hfs bs=1024k
ftp fs_image_hfs to PC and burn with cdrecord or other utils. So far whenever I try to mount this CD on hp-ux, it either hangs or returns an I/O error. fstyp on the disk device file for the cdrom does report hfs though.

I hope this explains what and why I ma trying to do this.

Regards
Anthony.