[实践OK]centos7 挂载exfat(EXFat)格式的u盘,Mac上挂载U盘或移动硬盘出现"Read-only file system"问题。
Mac上挂载U盘或移动硬盘出现"Read-only file system"问题,Mac不能复制拷贝写入文件到移动硬盘。EXFat格式。
参考:[url=https://jingyan.baidu.com/article/a3aad71aa1dde7b1fb0096ab.html]https://jingyan.baidu.com/article/a3aad71aa1dde7b1fb0096ab.html[/url]
前置:任何一块新的盘,一定要用fdisk -l 后,再用lsblk -f 查看其磁盘格式和sdb1,sdb2这样的,它可能不止是一个整个盘,所以挂载的时候得mount -t exfat /dev/sdb2 /mnt/。
下载 两个包:
rpm -ihv http://li.nux.ro/download/nux/dextop/el7/x86_64/exfat-ut
ils-1.2.7-1.el7.nux.x86_64.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/exfat-utils-1.2.7-1.el7.nux.x86_64.rpm
warning: /root/rpmbuild/tmp/rpm-tmp.oiRNim: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:exfat-utils-1.2.7-1.el7.nux ################################# [100%]
You have new mail in /var/spool/mail/root
rpm -ihv http://li.nux.ro/download/nux/dextop/el7/x86_64/fuse-exfa
t-1.2.7-1.el7.nux.x86_64.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/fuse-exfat-1.2.7-1.el7.nux.x86_64.rpm
warning: /root/rpmbuild/tmp/rpm-tmp.1Y5XtE: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:fuse-exfat-1.2.7-1.el7.nux ################################# [100%]
然后直接挂载就好了
mount.exfat /dev/sdb /mnt/
mount -t exfat /dev/sdb /mnt/
mount.exfat /dev/sdb /mnt/
FUSE exfat 1.2.7
ERROR: exFAT file system is not found.
不对,于是再看一下,得是sdb2
lsblk -f|grep sdb #-f 就是显示磁盘类型,当然,如果是已经挂载好了可以用:df -Th | grep "^/dev"
sdb
├─sdb1 vfat EFI 67E3-17ED
└─sdb2 exfat 18810765108 619D-E9EE
mount -t exfat /dev/sdb2 /mnt/
成功挂载:
mount -t exfat /dev/sdb2 /mnt/
FUSE exfat 1.2.7
ls /mnt/ #实践有内容了,不宜列出。
是已经挂载好了可以用:df -Th | grep "^/dev",再实践一下sdb是否挂好了:
df -Th | grep "^/dev"|grep sdb
/dev/sdb2 fuseblk 932G 408G 524G 44% /mnt
怎样在MAC上读写NTFS格式的U盘?这个安装一个驱动后,容易导致磁盘变慢,于是放弃了。
diskutil info /Volumes/Untitled
[codes=php]
Device Identifier: disk2s1
Device Node: /dev/disk2s1
Whole: No
Part of Whole: disk2
Volume Name:
Mounted: Yes
Mount Point: /Volumes/Untitled
Partition Type: Windows_NTFS
File System Personality: NTFS
Type (Bundle): ntfs
[/codes]
hdiutil eject /Volumes/Untitled
"disk2" ejected.
sudo mkdir /Volumes/MYHD
sudo mount_ntfs -o rw,nobrowse /dev/disk2s1 /Volumes/MYHD/
来自:https://blog.csdn.net/Beyond_TJU/article/details/88125617
参考:[url=https://jingyan.baidu.com/article/a3aad71aa1dde7b1fb0096ab.html]https://jingyan.baidu.com/article/a3aad71aa1dde7b1fb0096ab.html[/url]
前置:任何一块新的盘,一定要用fdisk -l 后,再用lsblk -f 查看其磁盘格式和sdb1,sdb2这样的,它可能不止是一个整个盘,所以挂载的时候得mount -t exfat /dev/sdb2 /mnt/。
下载 两个包:
rpm -ihv http://li.nux.ro/download/nux/dextop/el7/x86_64/exfat-ut
ils-1.2.7-1.el7.nux.x86_64.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/exfat-utils-1.2.7-1.el7.nux.x86_64.rpm
warning: /root/rpmbuild/tmp/rpm-tmp.oiRNim: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:exfat-utils-1.2.7-1.el7.nux ################################# [100%]
You have new mail in /var/spool/mail/root
rpm -ihv http://li.nux.ro/download/nux/dextop/el7/x86_64/fuse-exfa
t-1.2.7-1.el7.nux.x86_64.rpm
Retrieving http://li.nux.ro/download/nux/dextop/el7/x86_64/fuse-exfat-1.2.7-1.el7.nux.x86_64.rpm
warning: /root/rpmbuild/tmp/rpm-tmp.1Y5XtE: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:fuse-exfat-1.2.7-1.el7.nux ################################# [100%]
然后直接挂载就好了
mount.exfat /dev/sdb /mnt/
mount -t exfat /dev/sdb /mnt/
mount.exfat /dev/sdb /mnt/
FUSE exfat 1.2.7
ERROR: exFAT file system is not found.
不对,于是再看一下,得是sdb2
lsblk -f|grep sdb #-f 就是显示磁盘类型,当然,如果是已经挂载好了可以用:df -Th | grep "^/dev"
sdb
├─sdb1 vfat EFI 67E3-17ED
└─sdb2 exfat 18810765108 619D-E9EE
mount -t exfat /dev/sdb2 /mnt/
成功挂载:
mount -t exfat /dev/sdb2 /mnt/
FUSE exfat 1.2.7
ls /mnt/ #实践有内容了,不宜列出。
是已经挂载好了可以用:df -Th | grep "^/dev",再实践一下sdb是否挂好了:
df -Th | grep "^/dev"|grep sdb
/dev/sdb2 fuseblk 932G 408G 524G 44% /mnt
怎样在MAC上读写NTFS格式的U盘?这个安装一个驱动后,容易导致磁盘变慢,于是放弃了。
diskutil info /Volumes/Untitled
[codes=php]
Device Identifier: disk2s1
Device Node: /dev/disk2s1
Whole: No
Part of Whole: disk2
Volume Name:
Mounted: Yes
Mount Point: /Volumes/Untitled
Partition Type: Windows_NTFS
File System Personality: NTFS
Type (Bundle): ntfs
[/codes]
hdiutil eject /Volumes/Untitled
"disk2" ejected.
sudo mkdir /Volumes/MYHD
sudo mount_ntfs -o rw,nobrowse /dev/disk2s1 /Volumes/MYHD/
来自:https://blog.csdn.net/Beyond_TJU/article/details/88125617
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/10182/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2022-2-20 07:42
评论列表