I'm sorry, but I do not quite understand your answer.

1) I haven't found any stdlib modules in the list of grub's module ?
2) how do I code a function, for example how I extract the device name "hd0", from a partition name "hdo,msdos1" ?

Arbiel

Le 28/03/2012 22:46, [email protected] a écrit :
stdlib ???

On 03/28/2012 at 1:18 PM, Arbiel Perlacremaz <[email protected]> wrote:

    Hi

    Does Grub have functions for manipulating strings. For instance,

    the search function returns a partition string. Is it possible to
    extract the device where this partition sits ?
    looking for files in a directory, is it possible to derive files
    names
    in substituting a substring with another value ?

    Thanks in advance for any piece on information.

    Arbiel

    _______________________________________________
    Help-grub mailing list
    [email protected]
    https://lists.gnu.org/mailman/listinfo/help-grub

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to