您的位置:首页 > 运维架构 > Linux

CentOS7|Redhat7挂载NTFS格式磁盘

2018-03-08 20:04 381 查看
//下载安装ntfs-3g_ntfsprogs.tgz软件包进行编译安装
tar -zxf ntfs-3g_ntfsprogs.tgz
cd ntfs-3g_ntfsprogs
./configure
make
make install

//查看磁盘
fdisk –l
Device  Boot    Start       End Blocks  Id  System
/dev/sdb1  *        7486    170667  14686336 7    HPFS/NTFS

//创建挂载点
[root@xuliangwei ~]# mkdir -p /mnt/usb

//使用mount指定ntfs-3g格式挂载
[root@xuliangwei ~]# mount -t ntfs-3g /dev/sdb1 /mnt/usb

//查看ntfs磁盘内文件
[root@xuliangwei ~]# ls /mnt/usb
drivethelife6_net_setup.ext GHO

//使用umount卸载ntfs格式磁盘
[root@xuliangwei ~]# umount -l /dev/sdb1
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: