Sometimes when I try to unmount a disk using the "diskutil" command I get the following message:
$ diskutil unmount /dev/disk1
disk1 was already unmounted or it has a partitioning scheme so use "diskutil unmountDisk" instead
when I replace "unmount" with "unmountDisk" it works perfectly fine.
So my question is, what's the difference between the "unmount" and "ummountDisk" commands?