2011년 4월 10일 일요일

맥에서 NTFS 읽고 쓰는방법 중의 한가지

sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig
sudo nano /sbin/mount_ntfs
#!/bin/sh
/sbin/mount_ntfs.orig -o rw "$@"
(press Enter, Ctrl-O, Enter, Ctrl-X in sequence)
sudo chown root:wheel /sbin/mount_ntfs
sudo chmod 755 /sbin/mount_ntfs
reboot

================================================================

복구 방법
sudo rm -f /sbin/mount_ntfs

sudo mv /sbin/mount_ntfs.orig /sbin/mount_ntfs
sudo chown root:wheel /sbin/mount_ntfs
sudo chmod 755 /sbin/mount_ntfs
reboot

댓글 1개: