Here's a simple example which makes a twenty megabyte disk image called foobar.dmg.
hdiutil create -fs HFS+ -volname foobar -size 20m foobar
Look at the hdiutil man page for further options and information. If you have absolutely no idea what a man page is, do the following:
- Open a terminal window (Applications->Utilities->Terminal)
- After the window opens, type man hdiutil in the window and press return
- Read the instructions...though, if you are following these directions on how to read a man page, you might have difficulty understaning the contents of the man page. :) Sorry but you'll have to work things out for yourself from here.
No comments:
Post a Comment