centOS挂载NTFS移动硬盘
[root@linux64 qingqing]# fdisk -l 查看分区信息,其中sdb是我的移动硬盘
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6528 52436128+ 7 HPFS/NTFS
/dev/sda2 6529 24675 145765777+ 5 Extended
/dev/sda3 24676 24688 104422+ 83 Linux
/dev/sda4 24689 60801 290077672+ 8e Linux LVM
/dev/sda5 6529 24675 145765746 b W95 FAT32
Disk /dev/sdb: 1000.2 GB, 1000204883968 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 121602 976760534 7 HPFS/NTFS
在这里下载最新版本的ntfs-3g_ntfsprogs包http://www.tuxera.com/community/ntfs-3g-download/
[root@linux64 ~]#tar -zxvf ntfs-3g_ntfsprogs-2014.2.15.tgz 解压
[root@linux64 ~]#cd ntfs-3g_ntfsprogs-2014.2.15 下面开始编译安装
[root@linux64 ~]#./configure
[root@linux64 ~]#make && make install
[root@linux64 ~]# mount -t ntfs-3g /dev/sdb1 /root/qingqing/ -t参数代表挂载的硬件类型
[root@linux64 ~]# mount
[root@linux64 qingqing]# mount 查看mount
/dev/mapper/VolGroup00-LogVol01 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda3 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw,size=1024m)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /root/qingqing type fuseblk (rw,allow_other,blksize=4096)
本文出自 “7159900” 博客,请务必保留此出处http://7169900.blog.51cto.com/7159900/1384579
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。