是否可以在启动过程中挂载两个独立的 tmpfs 文件系统?
当我执行 df 命令时,我可以看到 tmpfs 已安装在 / 上。我需要的是在 /etc 中创建一个目录,例如 tmp,然后在 /etc/tmp 上挂载另一个 tmpfs。我可以通过在 /etc/fstab 中添加另一个条目来做到这一点,说明 tmpfs 应安装在 /etc/tmp 上。
When i execute the df command i can see that tmpfs is mounted on /. What i need is to create a directory in /etc, say tmp and then mount another tmpfs on /etc/tmp. Can i do it by adding another entry in /etc/fstab saying tmpfs should be mounted on /etc/tmp.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,例如(在 /etc/fstab 中)
Yes, for example (in /etc/fstab)