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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.