>>>>> OKUJI Yoshinori writes:
OY> First, I'm sorry that I was absent for about one week (but, to
OY> say honestly, I'm wondering why the development of GNU GRUB
OY> depends on me so much).
Sorry for my inconsistency. I am torn between the new design I am
trying to do for Figure, and getting GRUB to a stable point. We still
have to discuss ourselves whether you think my design is appropriate
for GRUB.
OY> Second, much more importantly, I noticed that there was a
OY> better approach for grub-install than writing an additional C
OY> program. That is, instead of implementing the install procedure
OY> separately, run the grub shell in read-only mode and let it
OY> output information necessary for the installation, then a shell
OY> script interprets the information and writes down data to a disk
OY> actually.
So you mean the script would access the data via the partition devices
rather than the whole-disk device, and thereby avoid the buffer
problems? That sounds good to me, especially since grub-install has
to know about partition naming.
OY> 1) The grub shell prints out a list of "copy" and "modify"
OY> commands, like this: [...]
OY> 2) The grub shell puts modified images (i.e. stage1 and stage2
OY> (or stage1.5)) temporarily somewhere, and just tells grub-install
OY> to copy them to appropriate locations.
OY> At the moment, I prefer the latter, since it is easy to
OY> implement. But the former may be superior, because changing the
OY> installation scheme wouldn't affect grub-install at all. Any
OY> comments?
Either would be fine, to me, which means the latter would be better.
BTW, I need to talk about Figure when I have enough complete to be
able to show you. I say this, because if we accept it for GRUB, it
would give us a different way of looking at things, and suggest its
own solutions. That is the reason why I suggest doing things the
easier way for now, because I feel that the most elegant way would
first require some redesign of the current GRUB architecture.
--
Gordon Matzigkeit <[EMAIL PROTECTED]> //\ I'm a FIG (http://fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)