免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3183 | 回复: 2
打印 上一主题 下一主题

RAM file system?是一个什么文件系统啊 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-02-17 00:24 |只看该作者 |倒序浏览
Sometimes the RAM file system offered during recovery is very small (e.g. 8MB). To have a
more comfortable environment it is often useful to enlarge that RAM file system. With more
space we are able to hold more commands in memory instead of freqently removing and
(re)loading files with rm and loadfile. This procedure extends the space to 32 MB.
# bdf
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/ 8532 6555 1977 77% 273 2607 9% ?
# loadfile mkfs tar chroot
# mknod /dev/ram b 9 0x180000
^^^^ 0x8000 KB == 32 MB
# mknod /dev/rram c 9 0x180000
# mkfs /dev/rram
mkfs (hfs): /dev/rram - 32768 sectors in 64 cylinders of 16 tracks, 32 sectors
33.6Mb in 4 cyl groups (16 c/g, 8.39Mb/g, 1280 i/g)
Super block backups (for fsck -b) at:
16, 8240, 16464, 24688
# mkdir /space; mount /dev/ram /space
# cd /; tar cvf /space/tmp.tar .
# cd /space; tar xvf tmp.tar
# unset ENV; chroot /space /sbin/sh
# rm tmp.tar space/tmp.tar
# bdf
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/ 32040 13433 15403 47% 282 4838 6% ?

问问大家RAM file system 是一个什么文件系统啊

论坛徽章:
0
2 [报告]
发表于 2008-02-18 12:29 |只看该作者

有没有那位大侠能解释一下呢 谢谢

有没有那位大侠能解释一下呢 谢谢

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
3 [报告]
发表于 2008-02-18 22:03 |只看该作者
就是驻留在内存中的文件系统,
只有少数的几个系统维护的命令可以使用,一般都是从光盘启动引导到ramfs下执行系统维护操作
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP