rootfs挂载 【mini_rootfs】
代码说明:
应用背景 本地挂载: # setenv bootargs root=/dev/mtdblock4 init=/linuxrc console=ttySAC0,115200 rootfstype=yaffs rw nfs方式挂载rootfs 本地PC端: 1 准备好/mini_rootfs 2 安装软件包 #apt-get install nfs-common nfs-kernel-server portmap 3 配置nfs服务 #vim /etc/exports 加上以下内容: /mini_rootfs *(rw,sync,no_root_squash) 重启nfs服务器 #/etc/init.d/nfs-kernel-server restart 开发端: 1 配置内核以支持NFS启动 make menuconfig [*] Networking support ---> Networking options ---> [*] IP: kernel level autoconfiguration File systems ---> [*] Network File Systems ---&
下载说明:请别用迅雷下载,失败请重下,重下不扣分!