菜鸡记录下ntfs格式的U盘挂载命令:
安装ntfs-3g
sudo yum list | grep ntfs
ntfs-3g.x86_64 2:2017.3.23-11.el7 epel
ntfs-3g-devel.x86_64 2:2017.3.23-11.el7 epel
ntfsprogs.x86_64 2:2017.3.23-11.el7 epel
安装第一个包
sudo yum install ntfs-3g.x86_64
查看磁盘分区
sudo fdisk -l
Disk /dev/sdb: 16.0 GB, 16005464064 bytes, 31260672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1142528 31260671 15059072 7 HPFS/NTFS/exFAT
找到分区名字并挂载U盘
sudo mount -t ntfs-3g /dev/sdb1 /mnt
查看U盘文件
cd mnt
ls
End