From 7e034ef54b91bd4b66f4d1a79e33a9e768b16b00 Mon Sep 17 00:00:00 2001 From: Diogo Pinela Date: Sat, 12 Oct 2019 15:17:22 +0100 Subject: [PATCH] hdiutil: add page (#3389) --- pages/osx/hdiutil.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/osx/hdiutil.md diff --git a/pages/osx/hdiutil.md b/pages/osx/hdiutil.md new file mode 100644 index 0000000000..0d8a90dd92 --- /dev/null +++ b/pages/osx/hdiutil.md @@ -0,0 +1,19 @@ +# hdiutil + +> Utility to create and manage disk images. + +- Mount an image: + +`hdiutil attach {{filename}}` + +- Unmount an image: + +`hdiutil detach /Volumes/{{volumename}}` + +- List mounted images: + +`hdiutil info` + +- Create an ISO image from the contents of a directory: + +`hdiutil makehybrid -o {{filename}} {{dirname}}`