mount: unknown filesystem type 'ntfs'
2015-08-26 23:28 brookin 阅读(1408) 评论(0) 编辑 收藏 举报mount: unknown filesystem type 'ntfs'
问题描述
# mount –t ntfs /dev/sdc1 /mnt/usb2
mount: unknown filesystem type ‘ntfs’
原因:系统无法识别ntfs格式分区
解决办法
编译安装ntfs-3g。在 ntfs-3g 网站,下载最新稳定版软件包。
编译安装 ntfs-3g:
wget https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2015.3.14.tgz
tar zxvf ntfs-3g_ntfsprogs-2015.3.14.tgz
cd ntfs-3g-2011.1.15
./configure
make
make install
重新挂载成功!
mount -t ntfs-3g /dev/sdc1 /mnt/usb2
基础知识
mount 命令
# man mount
看到如下:
All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the filesystem found on some device to the big file tree. Conversely, the umount(8) command will detach it again.
The standard form of the mount command, is
mount -t type device dir
This tells the kernel to attach the filesystem found on device (which is of type type) at the directory dir. The previous contents (if any) and owner and mode of dir become invisible, and as long as this filesystem remains mounted, the pathname dir refers to the root of the filesystem on device.
fdisk 查看设备【查看系统设备。例如/dev/sdc1
等, 设备名称列表】
# fdisk -f
Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes, 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x492c7b9b
Device Boot Start End Blocks Id System
/dev/sdc1 2048 1953458175 976728064 7 HPFS/NTFS/exFAT
相关资源
作者:brookin
出处:http://www.cnblogs.com/brookin/
本文采用知识共享署名-非商业性使用-相同方式共享 2.5 中国大陆许可协议进行许可,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。
出处:http://www.cnblogs.com/brookin/
本文采用知识共享署名-非商业性使用-相同方式共享 2.5 中国大陆许可协议进行许可,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。