Do you have a question? Post it now! No Registration Necessary
- Roman Mashak
April 2, 2007, 5:05 am

Hello,
I read Documentation/initrd.txt but still can't understand why to use
initrd. Why can't we mount filesystem located on a flash without any
intermediate entities like 'initrd' or similar?
If possible, any appropriate references are appreciated.
Thank you.
I read Documentation/initrd.txt but still can't understand why to use
initrd. Why can't we mount filesystem located on a flash without any
intermediate entities like 'initrd' or similar?
If possible, any appropriate references are appreciated.
Thank you.
--
Best regards, Roman
Best regards, Roman

Re: initrd usage
| I read Documentation/initrd.txt but still can't understand why to use
| initrd. Why can't we mount filesystem located on a flash without any
| intermediate entities like 'initrd' or similar?
If you build a kernel with the necessary driver(s) to access the flash and
the necessary filesystem(s) to understand what is on that flash, then sure,
you can do exactly that. One of the things initrd can do is let you have
modules loaded separate. This is valuable for distributions for a wide
range of system types which would otherwise require many drivers be built
into the kernel, bloating it. But for a custom kernel for exactly one
embeeded system type, you should know exactly what drivers you need, at
least for the integrated parts (plug in components would be a different
issue). The on-board flash would be one of those and I do recommend that
it's drivers and filesystems be integrated into a kernel build.
--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
We've slightly trimmed the long signature. Click to see the full one.
Site Timeline
- » Need Quality Engineers (with Digital Imaging/Publishing exp.)
- — Next thread in » Embedded Linux
-
- » kernel startup
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Suchbegriff gesucht
- — The site's Newest Thread. Posted in » Electronics (German)
-
- » UrzÄ…dzenia 3-fazowe w sieci z innymi...
- — The site's Last Updated Thread. Posted in » Electronics (Polish)
-