grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contribution: a file loading module


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: Contribution: a file loading module
Date: Thu, 23 Jun 2011 17:42:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110606 Iceowl/1.0b2 Icedove/3.1.10

On 17.06.2011 18:11, Pierre-Nicolas Clauss wrote:
> Hi folks,
>
> I subscribed to this list in order to share with you a humble
> contribution of mine to grub.
>
> As an OS developer enthusiastic, I needed to load a file to memory at
> a given specific address.
While such a functionality would be a toy for loader developpers, it's
completely useless for the end users. If the user has to know any single
address or any single address figures in grub.cfg it's automatically a
bad design. Also while it would be possible to write a loader in scripts
using such kind of commands it's simply a wrong place for it. Loaders
have to be written in C. Also people who really need such kind of
functionality (devs) can quickly add such a kludge to the loader they
are currently developping. As for the user the syntax has to be sth like
loader_name <file> <args>
This allows for a much higher flexibility, portability and future-proof.
> No command in grub 1.99 was fitting my needs (as my file as no
> semantic known to grub: it's not a module, it's not an initrd, it's
> not a multiboot kernel either), so I developed my own module.
>
What is it then? I'm willing to consider adding new loading as long as
they are sane and make sense.
> Please find included the source code of this module. For now, I've
> added a copyright notice with my name and a mention to the GPLv3, but
> I'm willing to share the source under GPLv3+ and/or hand over my
> copyright rights to the GNU project if needed.
> Also note that I wrote this module based on what I understand from
> grub after reading its source, so please forgive me if I used the
> wrong method.
>
> Cheers,
>
> Pierre-Nicolas "pini" Clauss
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]