- 查看分区挂载点
diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *121.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 120.5 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *120.1 GB disk1
Logical Volume on disk0s2
F199D7BE-F5A5-47FA-B7C1-A30FD2896C24
Unencrypted
/dev/disk2
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk2
1: Microsoft Basic Data Elements 536.9 GB disk2s1
2: Microsoft Basic Data 322.1 GB disk2s2
3: Microsoft Basic Data 新加卷 141.2 GB disk2s3
Microsoft Basic Data Elements disk2s1
- 查看分区的Volume UUID
diskutil info /dev/disk2s1 | grep UUID
Volume UUID: 36E33786-8AD8-49A2-A95A-38D7AD09314D
Disk / Partition UUID: DD21E775-9A6C-4673-A152-EF12E5589D0B
- 写 fstab 文件
sudo vi /etc/fstab
加上下面这句
UUID=36E33786-8AD8-49A2-A95A-38D7AD09314D none ntfs rw,auto,nobrowse
网友评论