to mount the /tmp directory as a RAM-disk, execute the following command:
ln -Ps /dev/shmem /tmp
Or place the following line in your buildfile (we'll talk about buildfiles over the next few chapters):
[type=link] /tmp=/dev/shmem
参考资料:
Overview of Building Embedded Systems
http://www.qnx.com/developers/docs/6.3.2/neutrino/building/overview.html
Working with Filesystems
http://www.qnx.com/developers/docs/6.4.0/neutrino/user_guide/fsystems.html
本文介绍如何将系统的/tmp目录挂载为RAM-disk,以提高临时文件的读写速度。通过直接链接或在构建文件中设置,可以轻松实现这一配置。
1459

被折叠的 条评论
为什么被折叠?



