02 2014 档案

嵌入式Linux系统挂载NFS系统
摘要:在建立交叉编译环境的时候,经常需要网嵌入式Linux环境中拷贝文件,nfs网络共享文件系统是一种很方便的方式。在嵌入式Linux挂载nfs系统,需要用到如下命令:1 mount -t nfs -o nolock,rsize=1024,wsize=1024 10.11.52.249:/windows/nfs_root /mntView Code 上述比较重要的参数是 -o nolock,rsize = 1024, wsize=1024 是为了防止主机和嵌入式系统的传输包大小不统一导致挂载失败,如connection refused.所以要明确加上这个参数。 阅读全文

posted @ 2014-02-28 16:48 沉沉-_- 阅读(2270) 评论(0) 推荐(0)

select 函数小结 -- 转自百度知道
摘要:http://zhidao.baidu.com/link?url=UVTXeK4ncKmnwatGUW2deMFylNYBuur-zHmK3w53NXNRpgPbhld2WdkMD766nKl_6HjtW3t0tyB5kzFaQDHxha On Linux, select() modifies timeout to reflect the amount of time not slept; most other implementations do not do this. (POSIX.1-2001 permits either behavior.) This causes problems 阅读全文

posted @ 2014-02-24 22:30 沉沉-_- 阅读(249) 评论(0) 推荐(0)

导航