
This trick works with external USB disks, hard drives, Firewire, Thunderbolt, DVD’s, CD’s, network drives, even USB thumb drives, literally any volume that can be mounted and accessed through the incredibly helpful diskutil command. But what if you want to be able to mount, unmount, and remount drives from the command line? That’s exactly what we’ll cover here. Along the same lines, if you want to remount a drive you can usually just physically unplug the drive and plug it back again. For many users, the easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive, or use one of the force eject methods.
