首先ubuntu上输入命令行激活portmap和nfs-kernel-server
root@ubuntu:/etc/init.d# ./portmap start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service portmap start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start portmap
root@ubuntu:/etc/init.d# ./nfs-kernel-server start
* Exporting directories for NFS kernel daemon... exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/mnt/j/rootfs_qtopia_qt4".
Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
[ OK ]
* Starting NFS kernel daemon [ OK ]
友善之臂2440上输入
mount -t nfs -o nolock 10.161.213.120:/mnt/j /mnt/
10.161.213.120为电脑上的IP地址。
这样电脑上/mnt/j的文件就挂载到mini2440的/mnt/上了。