On Sun, Jul 19, 2009 at 05:41:04PM +0800, Bean wrote:
> +      if (is_raid)
> +     printf ("raid mdraid");
> +
> +      if (is_lvm)
> +     printf ((is_raid) ? " lvm" : "lvm");

Is there a better way to handle this?  Perhaps we could make the list
newline separated instead of space separated and avoid the problem
altogether.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


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

Reply via email to