1 |
On Thu, 15 Mar 2012 08:41:38 -0400, Tanstaafl wrote: |
2 |
|
3 |
> > That's why I build the initramfs into the kernel and not as a separate |
4 |
> > file. If I do something to break the initramfs I just boot the |
5 |
> > previous kernel knowing it will still work. |
6 |
> |
7 |
> Ok, time to show my ignorance... |
8 |
> |
9 |
> How would I know if I am using an initramfs, and if I was, whether it |
10 |
> was built into the kernel or not? |
11 |
|
12 |
Well, you built the kernel, so you should know. |
13 |
|
14 |
Technically, we are all using an initramfs as all 2.6/3 kernels mount an |
15 |
initramfs when they load. If does not contain an init script, they fall |
16 |
back to the legacy behaviour. |
17 |
|
18 |
See /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt |
19 |
|
20 |
|
21 |
-- |
22 |
Neil Bothwick |
23 |
|
24 |
It may be that your sole purpose in life is simply to serve as a warning |
25 |
to others. |