This is a question for Marco Gerards I suppose.

I was asking myself if in grub2 code I was allowed to do:

for (part in partitions) {

  menuentry($part) {
                whatever($part.grub_string);
        }

}

or if it was all restricted to for inside menuentries like:

  menuentry() {
                for (hd in harddisks) {
                whatever hd
                }
        }

adrian15


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to