commit dfae6429b64734aaa0e2455a12ae21df16dc13df parent fb94794c6860177a8734befa36fe35c0f92bcd1a Author: nanmi <nanmi@member.fsf.org> Date: Tue, 21 Dec 2021 08:39:04 -0300 Add directory structure explanation. Diffstat:
M | README.md | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -1,4 +1,15 @@ # nanmi's initramfs +## Directory structure explanation +- bin/ - Needed to store binaries +- dev/ - Needed for devtmps +- etc/ - Needed for Busybox's `mtab` +- init - Initramfs' shell script +- mnt/ - Needed to mount devices +- proc/ - Needed to mount proc +- run/ - Needed for `cryptsetup` +- sbin/ - Needed to store elevated binaries +- sys/ - Needed to mount sysfs + All binaries are empty files only for illustration purposes. Further reading: https://wiki.gentoo.org/wiki/Custom_Initramfs