[comp.sys.mac.programmer] File copying routines? Boot blocks?

kermit@phoenix.Princeton.EDU (kermit) (08/14/88)

Two questions, folks:
1) Are there any routines that will copy a file (data fork, resource fork,
and finder info) without having to individually access each of these
forks and write them to the destination volume?
2) Is there a routine to write boot blocks to a volume?

I need to know these so that my program can automatically copy files
from my HD to an inserted initialized floppy. It will also need to copy
a stripped down (very stripped down) System and Finder so that the new
floppy can be bootable, hence the need for boot blocks.

Please offer any advice. I must do this within the program, so telling
me of a Desk Accessory or "make use of the Finder" is not going to help.
Advice on doing this using Pascal is preferable though I can handle
LightSpeed C at a pinch.
					thanks in advance...
					the fwoggie.