系统版本:RedHat Enterprise 5.8
内核版本:2.6.18-308.el5
下载软件包ntfs-3g:http://www.tuxera.com/community/ntfs-3g-download/
安装gcc、gcc-c++所需的编译环境
- # ./configure
- # make
- # make install
- # whereis ntfs-3g //查看ntfs-3g命令的位置
- ntfs-3g: /bin/ntfs-3g /usr/local/bin/ntfs-3g.secaudit /usr/local/bin/ntfs-3g.usermap /usr/local/bin/ntfs-3g.probe
查看硬盘分区情况
- # fdisk //查看硬盘分区情况
- Disk /dev/sda: 160.0 GB, 160041885696 bytes
- 255 heads, 63 sectors/track, 19457 cylinders
- Units = cylinders of 16065 * 512 = 8225280 bytes
-
- Device Boot Start End Blocks Id System
- /dev/sda1 1 6375 51200000 7 HPFS/NTFS
- /dev/sda2 6375 12749 51200000 7 HPFS/NTFS
- /dev/sda3 12749 19457 53886976 7 HPFS/NTFS
加挂NTFS格式分区
- # /bin/ntfs-3g /dev/sda3 /mnt/move/sda3/ //挂载NTFS格式分区