6.修改内核配置:
进入内核目录进入配置:
$ cd /home/myzr/my-work/02_source/linux-4.1.15/
$ make menuconfig
File systems --->
<*> FUSE (Filesystem in Userspace) support
<*>Character device in Userspace support
-*- Native language support --->
<*> Codepage 437 (United States, Canada)
<*> Simplified Chinese charset (CP936, GB2312)
<*> ASCII (United States)
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
<*> NLS UTF-8
DOS/FAT/NT Filesystems --->
< > NTFS file system support
7.编译出内核镜像:
$ make zImage
8.更新内核镜像到开发板中
9.打包ntfs-3g工具和库:
$ cd ntfs-3g_ntfsprogs-2017.3.23/install/
$ tar cjf ntfs-3g.tar.bz2 *
10.测试:
解压刚才的压缩包到根目录:
# tar xvf ntfs-3g.tar.bz2 -C /
检查版本:
# ntfs-3g
ntfs-3g: No device is specified.
ntfs-3g 2017.3.23 integrated FUSE 27 - Third Generation NTFS Driver
Configuration type 1, XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2017 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson
Options: ro (read-only mount), windows_names, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=.
Please see the details in the manual (type: man ntfs-3g).