1970 + 1670025726
Get the "Volume UUID" of the partition
diskutil info /Volumes/MyPartition
# or:
diskutil list
diskutil info /dev/disk2s3
Open new "fstab" editor
cd /etc
sudo vifs
Navigate to last line and type "o" to start edit mode
# for "NTFS" partition enter:
UUID=AA3365B4-XXX... none ntfs ro,noauto
# for "apfs" partition enter:
UUID=AA3365B4-XXX... none apfs rw,noauto
# for "HFS+ / Mac OS Extended" partition enter:
UUID=AA3365B4-XXX... none hfs rw,noauto
finally press "enter" and "esc" right after. Then type "ZZ" to save and exit. In terminal type in following and restart macOS afterwards:
sudo automount -vc