新聞中心
因?yàn)閏entos 默認(rèn)不識(shí)別NTFS的磁盤(pán)格式,所以我們要借助另外一個(gè)軟件來(lái)掛載,那就是ntfs-3g了

我們提供的服務(wù)有:網(wǎng)站設(shè)計(jì)制作、成都網(wǎng)站制作、微信公眾號(hào)開(kāi)發(fā)、網(wǎng)站優(yōu)化、網(wǎng)站認(rèn)證、千陽(yáng)ssl等。為上千多家企事業(yè)單位解決了網(wǎng)站和推廣的問(wèn)題。提供周到的售前咨詢和貼心的售后服務(wù),是有科學(xué)管理、有技術(shù)的千陽(yáng)網(wǎng)站制作公司
自帶的yum源沒(méi)有這個(gè)軟件,要用第三方的軟件源,這里我用的是阿里的epel.
1. 切換到系統(tǒng)yum目錄并下載阿里的epel
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# wget http://mirrors.aliyun.com/repo/epel-7.repo
2. 查找當(dāng)前源上可用的ntfs-3g軟件
[root@localhost yum.repos.d]# yum list ntfs*
已加載插件:fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Repository epel-debuginfo is listed more than once in the configuration
Repository epel-source is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: dfw.mirror.rackspace.com
* epel: mirrors.aliyun.com
已安裝的軟件包
ntfs-3g.x86_64 2:2017.3.23-1.el7 @epel
可安裝的軟件包
ntfs-3g-devel.x86_64 2:2017.3.23-1.el7 epel
ntfsprogs.x86_64
3. 安裝:
[root@localhost yum.repos.d]# yum -y install ntfs-3g
4. 掛載U盤(pán)
插入NTFS格式的U盤(pán),fdisk -l 查看盤(pán)符,新建掛載目錄并掛載
[root@localhost ~]# fdisk -l
磁盤(pán) /dev/sdb:31.1 GB, 31104958464 字節(jié),60751872 個(gè)扇區(qū)
Units = 扇區(qū) of 1 * 512 = 512 bytes
扇區(qū)大小(邏輯/物理):512 字節(jié) / 512 字節(jié)
I/O 大小(最小/最佳):512 字節(jié) / 512 字節(jié)
磁盤(pán)標(biāo)簽類型:dos
磁盤(pán)標(biāo)識(shí)符:0x00000000
設(shè)備 Boot Start End Blocks Id System
/dev/sdb1 * 2048 60751871 30374912 7 HPFS/NTFS/exFAT -->這里的U盤(pán)是sdb1
[root@localhost ~]# mkdir /mnt/ukey
[root@localhost ~]# mount ntfs-3g /dev/sdb1 /mnt/ukey
5. 卸載U盤(pán), 聽(tīng)說(shuō)不卸載的話到Windows上會(huì)提示格式化磁盤(pán) -_-''
[root@localhost ~]# umount /dev/sdb1
分享題目:CentOS7掛載ntfs磁盤(pán)格式的U盤(pán)
網(wǎng)站地址:http://m.5511xx.com/article/cogidop.html


咨詢
建站咨詢
