Closed ghost closed 2 years ago
ramdisk分支有一个最简单的代码实现,请基于此重新做架构设计,谢谢。
@lemin9538 I have submitted a script (b09d956), is it correct and enough to make a ramdisk?
一个建议: 1 - 能否增加一个按文件夹创建的功能,例如: make_ramdisk.sh -o ramdisk.img -d /tmp/ramdisk . 会自动把顶层目录里面的文件(不包含目录)创建成一个ramdisk.
@lemin9538 I designed it in a similar way to
cpio
. You can achieve your goal like this:./make_ramdisk.sh -o ramdisk.img -- /tmp/ramdisk/*
. If you insist, I will try to add this option.
Good. 我觉得这种方式也可以的,最好能在help信息里面说明下在处理文件夹时可以用这种方式。另外,这种方式能自动过滤文件夹么?
Okay, I will add filtering. I suggest adding the example in
Documents
instead of the help, just keep it simple and stupid.By the way, this series of patches is still in progress, we better submit them after everything is done.
还是有必要添加到make_ramdisk.sh里面,用户在使用程序或者脚本前一般都会执行 ./make_ramdisk.sh -h ,这时候给个提示的话会更人性化:)
There will be no updates recently if there is no new feature.
implemented in v0.4, close it.
image_copy
to copy the images.vmm_task
to power up the native VMs again.