1 |
On 09/15/2011 09:04 AM, Joost Roeleveld wrote: |
2 |
> Thank you for your response, however, I do have a few questions about this. |
3 |
> Where will this default initramfs actually need to be placed? |
4 |
|
5 |
It should be similar to how sys-apps/v86d is used for uvesafb support. |
6 |
It installs /usr/share/v86d/initramfs and when you configure your |
7 |
kernel, you set CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" in |
8 |
order to have in included in your kernel image. |
9 |
|
10 |
> Also, how will |
11 |
> we be able to deal with situations where this script fails? |
12 |
|
13 |
It should drop you to a minimal shell. |
14 |
|
15 |
> If Gentoo does decide to follow the initramfs-route, why not simply implement |
16 |
> /etc/init.d/localmount in the initramfs? |
17 |
|
18 |
I think that's pretty close to what we have planned, since the plan is |
19 |
to have the initramfs mount configuration stored on the root filesystem. |
20 |
|
21 |
> Why require users to figure out which |
22 |
> filesystems are needed for udev? |
23 |
|
24 |
Simply mount all filesystems containing files managed by the package |
25 |
manager with the initramfs. Anything else would expose you to the |
26 |
possibility of unsatisfied dependencies. |
27 |
|
28 |
> Also, I was actually hoping for a reply to the rest of my email as well, |
29 |
> especially the idea for splitting udev into 2 seperate processes. |
30 |
|
31 |
In essence, what your doing here is playing a game of "let's see how |
32 |
long we can delay the mounting of essential filesystems". If you play |
33 |
this game, then again, you expose yourself to the possibility of |
34 |
unsatisfied dependencies. Therefore, the only foolproof approach is to |
35 |
mount all essential filesystems as soon as possible (via initramfs). |
36 |
|
37 |
> If someone can explain to me why my idea won't work, please let me know. |
38 |
|
39 |
If your goal is to expose yourself to the possibility of unsatisfied |
40 |
dependencies, they your idea will achieve it. |
41 |
-- |
42 |
Thanks, |
43 |
Zac |