[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Bug fix for LVM
From: |
Bean |
Subject: |
Re: [PATCH] Bug fix for LVM |
Date: |
Thu, 23 Jul 2009 02:58:50 +0800 |
On Thu, Jul 23, 2009 at 1:33 AM, Robert Millan<address@hidden> wrote:
> 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.
Hi,
Actually, if we allows an extra space at the end of line, it can be
written like this:
if (is_raid)
printf ("raid mdraid ");
if (is_lvm)
printf ("lvm ");
The space is not visible, and ignored by grub-install anyway.
--
Bean
- [PATCH] Bug fix for LVM, Bean, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Vladimir 'phcoder' Serbinenko, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/18
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/19
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/22
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/22
- Re: [PATCH] Bug fix for LVM,
Bean <=
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/25
Re: [PATCH] Bug fix for LVM, Patrik Horník, 2009/07/19
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/19
- Re: [PATCH] Bug fix for LVM, Felix Zielcke, 2009/07/25
- Re: [PATCH] Bug fix for LVM, Patrik Horník, 2009/07/27
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/27
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/28
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/28
- Re: [PATCH] Bug fix for LVM, Bean, 2009/07/28
- Re: [PATCH] Bug fix for LVM, Robert Millan, 2009/07/28