---
title: "MacOS 怎么写NFS移动硬盘"
author: "leowzy"
date: "2014-11-14T19:13:20Z"
tags: []
categories: ["非技术"]
slug: "macos-nfs"
draft: false
lastmod: "2014-11-14T19:13:20Z"
id: 2156298
url: "https://leowzy.iteye.com/blog/2156298"
---

1、打开命令行终端。

2、插上移动硬盘，这时候你在Finder里面看到此卷是只读的。

 

1. 3、执行 **diskutil info /Volumes/YOUR\_V\_NAME** ，找出 **Device Node** 这个字段值，记录下来

 

        如，我的移动硬盘，是东芝的，那么执行 **diskutil info /Volumes/Toshiba\\ Portable\\ Hard\\ Drive/** ，有如下输出：  
Device Identifier: disk1s1  
**Device Node: /dev/disk1s1**  
Part of Whole: disk1  
Device / Media Name: Untitled 1

Volume Name: Toshiba Portable Hard Drive  
Escaped with Unicode: Toshiba%FF%FE%20%00Portable%FF%FE%20%00Hard%FF%FE%20%00Drive

Mounted: Yes  
Mount Point: /Volumes/Toshiba Portable Hard Drive  
Escaped with Unicode: /Volumes/Toshiba%FF%FE%20%00Portable%FF%FE%20%00Hard%FF%FE%20%00Drive

File System Personality: NTFS  
Type (Bundle): ntfs  
Name (User Visible): Windows NT File System (NTFS)

Partition Type: Windows\_NTFS  
OS Can Be Installed: No  
Media Type: Generic  
Protocol: USB  
SMART Status: Not Supported  
Volume UUID: 0FDB1418-8175-4D31-A06E-09A5EBB35CF5

Total Size: 500.1 GB (500105217024 Bytes) (exactly 976768002 512-Byte-Blocks)  
Volume Free Space: 430.2 GB (430243385344 Bytes) (exactly 840319112 512-Byte-Blocks)  
Device Block Size: 512 Bytes

Read-Only Media: No  
Read-Only Volume: Yes  
Ejectable: Yes

Whole: No  
Internal: No

4、弹出移动硬盘  
执行 **hdiutil eject /Volumes/Toshiba\\ Portable\\ Hard\\ Drive/**，如下输出  
"disk1" unmounted.  
"disk1" ejected.

5、创建一个目录，稍后将mount到这个目录  
sodu mkdir /Volumes/MYHD

6、将移动硬盘以NTFS格式mount到上面的目录  
**sudo mount\_ntfs -o rw,nobrowse /dev/disk1s1 /Volumes/MYHD/**  
执行完上面命令后，你可以看到你的移动硬盘灯又两起来了，没有任何输出，表示成功。

7、此时，你的移动硬盘可写了。 不过你不能在Finder里面操作，因为上面加了nobrowse选项。但是这个选项是必须的，否则你无法写。

**最后，大家可能会问，为什么这么麻烦，要通过命令行来做，而不直接在Finder里面支持？**  
**我的看法是mount\_ntfs不是Mac OS的核心部分，可能是一些插件形式近来的，因此并没有将Finder与其绑定死。**

 

**NOTE:**

   **我的心得。**

   **其实在Finder里面还是可以看到的，首先要使Finder可以打开隐藏文件，这个技能google即可得到。**

   **然后，从/VOLUMEN/MYHD这个目录就能看到你熟悉的移动硬盘资料了，而且是可读的。**