On Fri, 2005-10-07 at 14:25 -0700, Rick Stevens wrote: > On Fri, 2005-10-07 at 15:18 -0600, C.F. Scheidecker Antunes wrote: > > Hello all: > > > > I have a Mac file with the extension DMG. How can I extract its contents > > with Fedora Linux? > > Simple answer: mount it using HFS and using the loop device: > > mount -t hfs -o loop myImage.dmg /some/mount/point > > ".dmg" means "disk image". The Mac uses HFS and a .dmg is essentially: > > dd if=/somedir of=file.dmg > > where "/somedir" is the mountpoint of a partition formatted with HFS. Oops! I meant "/somedir" is the raw partition name of a partition formatted with HFS, e.g. dd if=/dev/sda3 of=file.dmg if "/dev/sda3" was the HFS partition. Sorry about that. ---------------------------------------------------------------------- - Rick Stevens, Senior Systems Engineer rstevens@xxxxxxxxxxxxxxx - - VitalStream, Inc. http://www.vitalstream.com - - - - Artificial Intelligence usually beats real stupidity. - ----------------------------------------------------------------------