开发者

Is it possible mount two separate tmpfs filesystems during boot?

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开发者_JAVA技巧 on /etc/tmp. Can i do it by adding another entry in /etc/fstab saying tmpfs should be mounted on /etc/tmp.


Yes, for example (in /etc/fstab)

tmpfs    /etc/tmp    tmpfs    defaults,size=50%      0       0
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜