Quote:
Originally Posted by origami-sheep
hi, just a quick question: is it possible to put directories in the initial ram disk?
|
Yes.
Short answer: Decompress the initrd, modify the filesystem, compress it again. Long answer:
http://www.thegeekstuff.com/2009/07/...te-initrd-img/
Quote:
and would i be able to access them normally?
|
Depends on what you mean with
normally. The added files/folders will be accessible to programs/scripts that are running in the initrd. Once the init-scripts switch the root to the /-filesystem you will not be able to access them anymore.