﻿{"id":1487,"date":"2016-11-25T14:49:35","date_gmt":"2016-11-25T06:49:35","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=1487"},"modified":"2022-04-23T11:33:14","modified_gmt":"2022-04-23T03:33:14","slug":"mac%e5%8e%9f%e7%94%9f%e7%b3%bb%e7%bb%9f%e5%af%b9ntfs%e6%a0%bc%e5%bc%8f%e5%86%99%e6%93%8d%e4%bd%9c%e6%94%af%e6%8c%81","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/mac-os\/1487","title":{"rendered":"Mac\u539f\u751f\u7cfb\u7edf\u5bf9ntfs\u683c\u5f0f\u5199\u64cd\u4f5c\u652f\u6301"},"content":{"rendered":"<p class=\"p1\"><span class=\"s1\">cat \/etc\/fstab\n<\/span>\n<span class=\"s1\">LABEL=WINDATA none ntfs rw,auto,nobrowse<\/span><\/p>\n<p>WINDATA\u662f\u78c1\u76d8\u5df2\u6709\u7684\u540d\u5b57\uff0c\u8bbe\u7f6e\u597d\u540e\u91cd\u65b0\u63d2\u4e0a\u79fb\u52a8\u786c\u76d8\u5373\u53ef\u3002<\/p>\n<p>\u5f39\u51fa\u79fb\u52a8\u786c\u76d8\n\u6267\u884c <strong>hdiutil eject \/Volumes\/Toshiba\\ Portable\\ Hard\\ Drive\/<\/strong>\uff0c\u5982\u4e0b\u8f93\u51fa\n&#8220;disk1&#8221; unmounted.\n&#8220;disk1&#8221; ejected.<\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55\uff0c\u7a0d\u540e\u5c06mount\u5230\u8fd9\u4e2a\u76ee\u5f55\nsodu mkdir \/Volumes\/MYHD<\/p>\n<p>\u5c06\u79fb\u52a8\u786c\u76d8\u4ee5NTFS\u683c\u5f0fmount\u5230\u4e0a\u9762\u7684\u76ee\u5f55\n<strong>sudo mount_ntfs -o rw,nobrowse \/dev\/disk1s1 \/Volumes\/MYHD\/<\/strong>\n\u6267\u884c\u5b8c\u4e0a\u9762\u547d\u4ee4\u540e\uff0c\u4f60\u53ef\u4ee5\u770b\u5230\u4f60\u7684\u79fb\u52a8\u786c\u76d8\u706f\u53c8\u4e24\u8d77\u6765\u4e86\uff0c\u6ca1\u6709\u4efb\u4f55\u8f93\u51fa\uff0c\u8868\u793a\u6210\u529f\u3002<\/p>\n<p>\u6b64\u65f6\uff0c\u4f60\u7684\u79fb\u52a8\u786c\u76d8\u53ef\u5199\u4e86\u3002 \u4e0d\u8fc7\u4f60\u4e0d\u80fd\u5728Finder\u91cc\u9762\u64cd\u4f5c\uff0c\u56e0\u4e3a\u4e0a\u9762\u52a0\u4e86nobrowse\u9009\u9879\u3002\u4f46\u662f\u8fd9\u4e2a\u9009\u9879\u662f\u5fc5\u987b\u7684\uff0c\u5426\u5219\u4f60\u65e0\u6cd5\u5199\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div>\n<div>\n<h2>\u5b8c\u6574\u89e3\u51b3\u65b9\u6848\uff0c\u5b89\u88c5\u65b9\u6cd5<\/h2>\n<h4>1.\u9996\u5148\u5b89\u88c5<code>FUSE for Mac<\/code><\/h4>\n<code>FUSE for Mac<\/code>\u662f<code>MacFUSE<\/code>\u7684\u7ee7\u627f\u8005\uff0c\u57fa\u4e8eFUSE\u4e3aMacOS\u7528\u6237\u63d0\u4f9b\u9664\u7cfb\u7edf\u5916\u7684\u7b2c\u4e09\u65b9\u6587\u4ef6\u7cfb\u7edf\u7684\u652f\u6301\u3002\u8be6\u89c1<a href=\"https:\/\/osxfuse.github.io\/\" target=\"_blank\" rel=\"nofollow noopener\">\u5b98\u65b9\u7f51\u7ad9<\/a>\u3002\n\n\u8fd9\u91cc\u63d0\u4f9b3.6.3\u7248\u672c\u7684\u4e0b\u8f7d\u5730\u5740\uff0c\u6700\u65b0\u7248\u8bf7\u524d\u5f80\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u3002\n\n<a href=\"https:\/\/github.com\/osxfuse\/osxfuse\/releases\" target=\"_blank\" rel=\"nofollow noopener\">\u4e0b\u8f7dFUSE for Mac<\/a>\n<h4>2.\u4f7f\u7528<code>Homebrew<\/code>\u5b89\u88c5<code>ntfs-3g<\/code><\/h4>\n\u5728\u5b89\u88c5FUSE\u540e\uff0c\u4f7f\u7528Homebrew\u5b89\u88c5ntfs\u6587\u4ef6\u7cfb\u7edf\u7684\u652f\u6301\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff1a\n<div class=\"_2Uzcx_\">\n\n\u00a0\n<pre class=\"line-numbers language-undefined\"><code class=\" language-undefined\">brew install ntfs-3g\n<\/code><\/pre>\n<\/div>\n<h4>3.\u66f4\u6362MacOS\u7684NTFS\u9ed8\u8ba4\u6302\u8f7d\u7a0b\u5e8f<\/h4>\n\u9996\u5148\u5907\u4efd\u7cfb\u7edf\u9ed8\u8ba4\u7684NTFS\u6302\u8f7d\u7a0b\u5e8f\n<div class=\"_2Uzcx_\">\n\n\u00a0\n<pre class=\"line-numbers language-undefined\"><code class=\" language-undefined\">sudo mv \/sbin\/mount_ntfs \/sbin\/mount_ntfs.orig\n<\/code><\/pre>\n<\/div>\n\u7136\u540e\u5c06ntfs-3g\u6302\u8f7d\u7a0b\u5e8f\u94fe\u63a5\u5230<code>\/sbin\/mount_ntfs<\/code>\n<div class=\"_2Uzcx_\">\n\n\u00a0\n<pre class=\"line-numbers language-bash\"><code class=\" language-bash\">sudo ln -s \/usr\/local\/sbin\/mount_ntfs \/sbin\/mount_ntfs\n<\/code><\/pre>\n<\/div>\n<h4>4.\u91cd\u65b0\u542f\u52a8<\/h4>\n\u91cd\u65b0\u542f\u52a8\u540e\u63d2\u5165NTFS\u683c\u5f0f\u7684\u78c1\u76d8\u5373\u53ef\u6b63\u5e38\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\u3002\n\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<ul>\n    <li>\u8bbe\u7f6e\u81ea\u52a8\u6302\u8f7d\u65b9\u5f0f\n\u5982\u679c\u4f60\u60f3\u8ba9\u7cfb\u7edf\u81ea\u52a8\u6302\u8f7d,\u4f60\u8981\u591a\u505a\u4e00\u4e9b\u4e8b\u60c5<\/li>\n<\/ul>\n<ol>\n    <li>\u5173\u95edsip \u7cfb\u7edf\u5b8c\u6574\u6027\u4fdd\u62a4 \u529f\u80fd.\n\u4f60\u8981\u8fdb\u5165recover \u6a21\u5f0f,\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165 <code>csrutil disable<\/code>\n\u91cd\u65b0\u542f\u52a8macos ,\u8fdb\u5165\u7cfb\u7edf\u540e \u89e3\u9501\u6839\u5206\u533a .\u4f7f\u4e4b\u53ef\u4ee5\u88ab\u8bfb\u5199 \u547d\u4ee4: <code>sudo mount -uw \/<\/code><\/li>\n    <li>\u66ff\u6362\u6389\u7cfb\u7edf\u7684<code>\/sbin\/mount_ntfs<\/code> \u4e3a\u6211\u4eec\u7684 ntfs-3g <code>\/usr\/local\/sbin\/mount_ntfs<\/code>\n<ol>\n    <li>\u5148\u5907\u4efd\n<code>sudo mv &quot;\/Volumes\/\u4f60\u7684macOS\u7cfb\u7edf\u6240\u6709\u5206\u533a\u540d\u79f0\/sbin\/mount_ntfs&quot; &quot;\/Volumes\/\u4f60\u7684macOS\u7cfb\u7edf\u6240\u6709\u5206\u533a\u540d\u79f0\/sbin\/mount_ntfs.orig&quot;<\/code><\/li>\n    <li>\u5efa\u7acb\u8f6f\u8fde\u63a5\n<code>sudo ln -s \/usr\/local\/sbin\/mount_ntfs &quot;\/Volumes\/\u4f60\u7684macOS\u7cfb\u7edf\u6240\u6709\u5206\u533a\u540d\u79f0\/sbin\/mount_ntfs&quot;<\/code><\/li>\n<\/ol>\n<\/li>\n    <li>\u5f00\u542fsip [\u53ef\u9009]\n<code>csrutil enable<\/code><\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>cat \/etc\/fstab LABEL=WINDATA none ntfs rw,auto,nobrowse WINDATA\u662f\u78c1\u76d8\u5df2\u6709\u7684\u540d\u5b57\uff0c\u8bbe\u7f6e\u597d\u540e\u91cd\u65b0\u63d2\u4e0a\u79fb\u52a8\u786c\u76d8\u5373\u53ef\u3002 \u5f39\u51fa\u79fb\u52a8\u786c\u76d8 \u6267\u884c hd&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[340],"tags":[342,463,464],"class_list":["post-1487","post","type-post","status-publish","format-standard","hentry","category-mac-os","tag-mac","tag-ntfs","tag-write"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=1487"}],"version-history":[{"count":6,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1487\/revisions"}],"predecessor-version":[{"id":2412,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/1487\/revisions\/2412"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=1487"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=1487"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=1487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}