एन्क्रिप्शन को सक्षम करने के लिए आपको अपनी डिस्क को पुन: स्वरूपित करने की आवश्यकता नहीं है। सिंह पर ड्राइव को एन्क्रिप्ट करने के लिए, आप निम्न कमांड का उपयोग कर सकते हैं:
diskutil cs convert /Volumes/your_drive_name_here -passphrase
फिर आपको उस पासफ़्रेज़ के लिए संकेत दिया जाएगा जिसे आप सेट करना चाहते हैं और जो नीचे दिखाया गया है उसके समान आउटपुट प्राप्त करना चाहते हैं:
computer name:~ username$ diskutil cs convert /Volumes/your_drive_name_here -passphrase
New passphrase for converted volume:
Confirm new passphrase:
Started CoreStorage operation on disk2s1 your_drive_name_here
Resizing disk to fit Core Storage headers
[ - 0%..10%.............................................. ]
Creating Core Storage Logical Volume Group
Attempting to unmount disk2s1
Switching disk2s1 to Core Storage
Waiting for Logical Volume to appear
Mounting Logical Volume
Core Storage LVG UUID: D1EAB2C3-EC21-41DA-AD60-75E1302E247B
Core Storage PV UUID: 991C89E9-A628-408C-AAFF-39A561FCB95C
Core Storage LV UUID: 36483526-6C2C-43FA-A4B7-6F503473F1C2
Core Storage disk: disk3
Finished CoreStorage operation on disk2s1 your_drive_name_here
Encryption in progress; use diskutil coreStorage list for status
आप ड्राइव को एन्क्रिप्ट करते समय मैक को छोड़ना और चलाना चाहते हैं, क्योंकि एन्क्रिप्शन प्रक्रिया बाधित होने पर विफल हो सकती है। इसकी प्रगति की जांच करने के लिए, निम्नलिखित कमांड चलाएँ:
diskutil cs list
उस ड्राइव के नाम के लिए प्रदर्शित सूची की जाँच करें जिसे आप एन्क्रिप्ट कर रहे हैं। जब आप इसे पा लें, तो देखें आकार (परिवर्तित): , जैसा कि आपको बताएगा कि एन्क्रिप्शन कितना दूर है।
एन्क्रिप्शन समाप्त होने के बाद, उसे रिपोर्ट करना चाहिए रूपांतरण स्थिति: पूर्ण
अधिक जानकारी के लिए, यहाँ देखें ।