iMac不能拷贝文件到移动硬盘(解法二)

2016-09-19  本文已影响0人  王洛书

使用挂载硬盘的方式也可以对硬盘进行读写操作,而不用第三方软件。

缺点是拔掉硬盘就需要重新挂载,做不到一劳永逸。

1.插上移动硬盘,查看硬盘

ls -l /volumes
output:
total 8
lrwxr-xr-x  1 root  admin      1  9 18 22:05 Macintosh HD -> /
drwxr-xr-x@ 1 jone  staff  90112  8 20 12:44 Untitled

2.查看硬盘信息,主要查看Device Node:

diskutil info /volumes/untitled
output:
Device Identifier:        disk2s1
   Device Node:              /dev/disk2s1
   Whole:                    No
   Part of Whole:            disk2
   Device / Media Name:      Untitled 1

   Volume Name:              

   Mounted:                  Yes
   Mount Point:              /Volumes/Untitled

   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:              3093E82C-4B4D-4AB9-8673-4E5E7A4E44E5

   Total Size:               1.0 TB (1000202043392 Bytes) (exactly 1953519616 512-Byte-Units)
   Volume Free Space:        221.4 GB (221402988544 Bytes) (exactly 432427712 512-Byte-Units)
   Device Block Size:        512 Bytes
   Allocation Block Size:    4096 Bytes

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

   Device Location:          External
   Removable Media:          No
  1. 退出硬盘,进行挂载
hdiutil eject /volumes/untitled
output:
"disk2" unmounted.
"disk2" ejected.
  1. 创建挂载文件夹
mkdir /Users/jone/desktop/seagate

5.挂载硬盘

sudo mount_ntfs -o rw,nobrowse /dev/disk2s1 /users/jone/desktop/seagate

此时会提示输入开机密码,回车结束,之后重新执行挂载命令,不在需要输入开机密码

6.右键硬盘,查看显示简介,会发现权限为读写。

上一篇下一篇

猜你喜欢

热点阅读