问题:
# mount –t ntfs /dev/sdb1 /mnt/usb
mount: unknown filesystem type ‘ntfs’
这是因为CentOS release 5.3(Final)上没法识别NTFS格式的分区。
解决办法:
经过使用 ntfs-3g 来解决。
打开ntfs-3g的下载点http://www.tuxera.com/community/ntfs-3g-download/ntfs-3g_ntfsprogs-2012.1.15.tgz ,下载到CentOS,执行如下命令安装:
1) 编译安装 ntfs-3g:
# ./configure
# make
# make install (或 sudo make install)
2) 查看USB设备点
# fdisk -l
Disk /dev/sda: 154.7 GB, 154750418432 bytes
255 heads, 63 sectors/track, 18814 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 18814 151019032+ 8e Linux LVM
Disk /dev/sdb: 500.1 GB, 500107861504 bytes
255 heads, 62 sectors/track, 61781 cylinders