Last active
December 8, 2022 21:09
-
-
Save walkoncross/363bf871d733f7a39f0d1dfe644f9e05 to your computer and use it in GitHub Desktop.
mount writable NTFS drive on MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list all drive and find the one you want to mount with the following cmd | |
# diskutil list | |
export mount_dir=/Volumes/ntfs_drive | |
export disk_dir=/dev/disk4s1 | |
# try to unmount | |
echo "Try to umount ${disk_dir}" | |
umount ${disk_dir} | |
# try to mount | |
mkdir ${mount_dir} | |
echo "Try to mount ${disk_dir} to ${mount_dir}" | |
mount -t ntfs -o rw,auto,nobrowse ${disk_dir} ${mount_dir} | |
open ${mount_dir} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment