I'm trying to create an encrypted DMG while making it segmented.

echo pass | hdiutil create -encryption -stdinpass -srcfolder somefolder -format UDBZ -segmentSize 3G ~/Desktop/some-output

But the -segmentSize is ignored by hdiutil:

hdiutil: create: WARNING: -segmentSize ignored since -srcdevice not specified.

Any ideas?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.