Quote:
Originally Posted by dannyqin
what are rootfs and initrd.gz Builds purpose for android?
|
RootFS is a special type of ramfs file system. It basically lets us use part of the memory as a partition for caching files. Initrd gets things started and the rest of the startup is handled by rootfs. The caching of files on this ram disk gives us a nice performance boost.
Initrd is an initial RAM disk that is temporary and used only for initial booting. So long story short, they are both used for booting, and rootfs injects certain drivers like the keyboard and LED drivers.