Don’t Automount Disks in MacOS

I’ve found this tip quite useful. With my new Macbook Pro I now have more disks attached consistently then I did previously. Not having these disks automatically mount when I come back to my desk is quite helpful. Extra tip: make sure you put the correct filesystem type in the fstab. I have a spinning disk formatted as HFS+ and missed that when copying/pasting the first go around.

Read the story -> Quick Tip: Prevent a disk from auto-mounting

Previously, I kept a USB disk attached to my Mac Studio at all times. Once a day, Carbon Copy Cloner would launch and clone the disk. But now, if I attach that USB drive to the hub my MacBook Pro will be connected to, I get a bad bit of behavior: the disk mounts the moment my Mac is attached, and then if I want to unplug my Mac, it’ll yell at me for unmounting that disk improperly.

From sixcolors.com