|
楼主 |
发表于 2004-12-31 16:01:43
|
显示全部楼层
以下是我的配置经验,你不妨试试
目标板端要做的事:
1)配置内核
选中ramdisk驱动,加入ext2文件系统
Networking options --> (缺省)
Network device support --> (缺省)
File systems --> Network File Systems --> NFS file system support
Provide NFSv3 client support
2)用户程序配置(ramdisk中)
Network Applications --> portmap
BusyBox --> mount(mount nfs support)
3)目标板端操作步骤
以root身份登录
# mkdir /var/nfs
# portmap &
# mount (-t nfs )192.168.0.80:/home/public /var/nfs
# ls /var/nfs
主机端:
1)编辑/etc/exports文件如下:
/home/public *(rw)
2)停止/启动nfs
/etc/rc.d/init.d/nfs stop
/etc/rc.d/init.d/nfs start(restart) 或
killall -HUP rpc.nfsd rpc.mountd
4)如果让系统上电启动nfs,在/etc/rc.local加入以下行:
/etc/rc.d/init.d/nfs start |
|