编译MT7620n NFS文件系统
做嵌入式开发,经常需要Download文件到开发板,一般文件少时,可以用tftp。可是,文件比较多时,tftp就不是很方便了。NFS可以很好的解决这个问题。
下面就以MT7620N为例,编译嵌入式NFS文件client.
1.Kernel配置
File system -->
Pseudo filesystems -->
Virtual memory file system support(former shm fs)
Tmpfs POSIX Access Control Lists
Network File System -->
NFS client support
NFS client support for NFS version 3
NFS client support for the NFSv3 ACL
Secure PRC:kerberos V mechanism
2.busybox配置
Linux System Utilities -->
mount
support mounting NFS file systems
support lots of -o flags in mount
挂载命令:mount -t nfs serverip:/nfs文件夹 /tmp -o nolock