All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicole <nicole.king464@gmail.com>
To: grub-devel@gnu.org
Subject: Contribution
Date: Wed, 12 Apr 2017 11:36:43 +0100	[thread overview]
Message-ID: <b1d0adae-1db7-6792-88fe-bed3978b4df3@gmail.com> (raw)
In-Reply-To: <mailman.65311.1491983735.22739.grub-devel@gnu.org>

I have written two small, simple modules to address limitations I found 
in in Grub.

1. does simple arithmetic - nothing fancy. It's invoked by using 
something like this:

insmod arithmetic
arithmetic --set fred --min 2 -- max 10 "1" "+" "2"

the operators supported are unary -,!; binary +,-,/,*,%,<,<=,<.<=,!=,==
--set works in the usual way. If the result is greater than --max, the 
--min value is returned and vice versa; this useful for cycling round a 
group of partitions in a round-robin fashion

2. diskinfo.mod introduces two commands: disklabel, diskuuid which 
return the label and uuid of the specified disk partition. This is 
useful where, having decided which partition, amongst several, to boot, 
you can fill in the appropriate value in the "root=UUID=" or 
"root=label=" Linux kernel parameter.

I looked for details on how to submit new modules, but failed to find 
anything. How do I go about this?

Nicole



       reply	other threads:[~2017-04-12 10:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.65311.1491983735.22739.grub-devel@gnu.org>
2017-04-12 10:36 ` Nicole [this message]
2017-04-12 10:41   ` Contribution Vladimir 'phcoder' Serbinenko
     [not found] <mailman.65479.1492027745.22739.grub-devel@gnu.org>
2017-04-12 20:57 ` Contribution Nicole
     [not found] <mailman.37.1492012806.25481.grub-devel@gnu.org>
2017-04-12 16:51 ` Contribution Nicole
2017-04-12 17:03   ` Contribution Xen
2017-04-12 20:06     ` Contribution Vladimir 'phcoder' Serbinenko
2014-05-28 14:58 Contribution Alexandre MALKI
     [not found] <CAA8043idUL1qbWfrBffhYXL8JX0LZ+WsMseUypatret7PrxBGw@mail.gmail.com>
     [not found] ` <CABBk=J9-hrMgGJ6ofvR0uuzX_gTfKJhH_TFCS4fR6m6gD=UBmg@mail.gmail.com>
     [not found]   ` <CAA8043g_vkZvx_ErHZbF8eq12T2bvvXGWA_u=NRdwEWnmaqaug@mail.gmail.com>
2013-07-01 19:52     ` Contribution christophe courtaut
2013-07-01 20:23       ` Contribution Yehuda Sadeh
2013-07-04 13:58         ` Contribution christophe courtaut
2013-07-05  7:05           ` Contribution Yehuda Sadeh
2013-07-10 15:24             ` Contribution christophe courtaut
2013-07-10 16:08               ` Contribution Yehuda Sadeh
  -- strict thread matches above, loose matches on Subject: below --
2013-06-27 14:38 Contribution christophe courtaut
2009-01-10  6:48 Contribution Mehdi Sheikhalishahi
2005-03-26  8:51 Contribution Chris Hiszpanski
2005-03-28 17:24 ` Contribution Hans Reiser
2004-11-26 10:13 contribution Artem B. Bityuckiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b1d0adae-1db7-6792-88fe-bed3978b4df3@gmail.com \
    --to=nicole.king464@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.