OSX Snippets: Create an ecrypted sparse disk image to store private stuff (via cli)

hdiutil create Private -type SPARSE -encryption -fs HFS+J -volname Private


If you want it to be case-sensitive AND journaled, you can’t simply use HFSX+J, you have to use HFSX, then issue this command:

diskutil enableJournal /Volumes/Private
Tags:
permalinkRead More CommentComments (0) Catosx, snippet

Leave a Reply

You must be logged in to post a comment.