.TH DC42WRAP 1 "November 23, 1998" "ana-systems, Inc." .if n .ad l .SH NAME dc42wrap \- wrap a .if t ``raw'' .if n "raw" floppy image as an Apple DiskCopy 4.2 file .SH SYNOPSIS .B dc42wrap [ .B \-m | .B \-r | .B \-s ] [ .B \-n name ] in.flp out.image[.bin] .SH DESCRIPTION .I Dc42wrap takes a .if t ``raw'' .if n "raw" 720K (DD) or 1440K (HD) floppy disk image and prepends an Apple DiskCopy 4.2 (creator='dCpy') disk image (type='dImg') header. The resulting data fork is acceptable as input to any software that can handle this file type, including Disk Copy 6.2. This makes it possible to use a Macintosh to produce PC boot floppies (as opposed to running .I RAWRITE or .I FDIMAGE on an Intel-based DOS/Windows system). .PP The input and/or output file names can be replaced by .B \- to pipe from/to standard input/output. .SH OPTIONS .IP \f3\-m\fP Generate output in MacBinary II format. .IP \f3\-r\fP Output data fork only. You are responsible for ensuring the Mac OS file type and creator are set appropriately at the destination. (This is the default if unspecified.) .IP \f3\-s\fP Generate output in AppleSingle format. .IP \f3\-n\fP Set the name stored in the DiskCopy 4.2 image header. If omitted, the name of the input file is used. .SH "SEE ALSO" dd(1) .SH AUTHOR Eric P. Scott .SH BUGS Input files must be exactly 737280 or 1474560 bytes in length.