Red Hat Enterprise Linux 7.5挂载NTFS移动硬盘

一般情况下,Red Hat Enterprise Linux 7.5是已经安装好了fuse,如果没安装好的,可以yum install fuse -y安装。
查看已经挂载成功的命令:
[root@localhost ~]# lsmod |grep fuse
fuse                   91880  7 
或者输入mknt按Tab键,可以补齐完整的mkntfs即表示可以挂载带有NTFS格式的移动硬盘。
首先,建立一个临时文件夹:
mkdir -p /mnt/windows
接着,找到移动硬盘的盘符:
[root@localhost soft]# fdisk -l |grep NTFS
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
/dev/sdc4   *         256    30218841    15109293    7  HPFS/NTFS/exFAT
把移动硬盘mount到临时文件夹:
mount -t ntfs-3g /dev/sdc4 /mnt/windows/

最后查看移动硬盘内容:
[root@localhost soft]# ls /mnt/windows/
cn_windows_10_enterprise_version_1703_updated_march_2017_x64_dvd_10194191.iso
当不需要用到移动硬盘后,用umount命令取消:
[root@localhost ~]# umount /dev/sdc4
查看临时文件夹,发现没有内容了才是正常:
[root@localhost ~]#
[root@localhost ~]# ls /mnt/windows

猜你喜欢

转载自www.cnblogs.com/vincent-liang/p/10924949.html
今日推荐