简体   繁体   English

不启动嵌入在Linux内核中的RAM文件系统

[英]Not booting RAM file system embedded in Linux Kernel

We have a Linux embedded system that we would like to boot from Flash file system, but have a RAMFS embedded into the kernel that can be seen by the kernel after boot. 我们有一个Linux嵌入式系统,我们想从Flash文件系统启动,但是有一个RAMFS嵌入内核,启动后内核可以看到。

Is it possible to embed a RAM File system inside the Linux Kernel (v3.3), that can be used after kernel boot, that the kernel does not use for booting? 是否可以在Linux内核(v3.3)中嵌入一个RAM文件系统,以供内核启动后使用,而内核不用于启动?

Thanks. 谢谢。

Absolutely! 绝对! Just make a script which mounts a tmpfs on your preferred mount point and that extracts in it a tarball that has been bundled in you rootfs. 只需编写一个脚本,即可在您喜欢的挂载点上挂载tmpfs,并在其中提取出已捆绑在rootfs中的tarball。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM