Skip to content

Instantly share code, notes, and snippets.

@EddiG
Last active April 16, 2024 16:55
Show Gist options
  • Save EddiG/5488a2c930f2e63db5390fcc51f0e61d to your computer and use it in GitHub Desktop.
Save EddiG/5488a2c930f2e63db5390fcc51f0e61d to your computer and use it in GitHub Desktop.
Tips and tricks regarding MacOS

Creating case sensitive/insensitive volumes (https://www.dssw.co.uk/reference/diskutil.html)

# For case insensitive
diskutil apfs addVolume disk1 APFS <Volume name>
# For case sensitive
diskutil apfs addVolume disk1 "Case-sensitive APFS" <Volume name>

The newly created volume will be mounted to the /Volume/<Volume name>

@sarnobat
Copy link

sarnobat commented Apr 16, 2024

Thank you. Shame on the help output not making this obvious.
Note in the latest Mac OS it's disk3. Don't blindly execute this with disk 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment