[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the n
From: |
Felix Zielcke |
Subject: |
Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name |
Date: |
Thu, 14 Aug 2008 19:34:05 +0200 |
Am Montag, den 11.08.2008, 18:18 +0200 schrieb Felix Zielcke:
>
> Please comment this, please give me hints how to make it better.
> I don't like the code myself but it seems like we should handle this
> double dash problem :(
>
Now that a bit time has passed, I think it isn't that ugly.
But I still don't like it.
I still haven't yet an idea how to make it better, I don't think it's
that great to introduce 4 variables just to remove every 2nd dash.
Unfortunately nobody commented on this new LVM part.
Idention was still not that right I think and I moved the `grub_dev =
xmalloc ()' line above the 2 `j = ..' and `l = ..'.
Marco, I know that you think this is a bit lazy, but I think mentioning
the double dash escaping and that it now uses asprintf for the RAID
cases would be a bit too verbose.
2008-08-14 Felix Zielcke <address@hidden>
* util/getroot.c: Include <config.h>.
(grub_util_get_grub_dev): Rewritten.
getroot.diff
Description: Text Data
- Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/09
- Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/09
- Re: Bug#494383: grub-pc: Grub2 cannot find LVM volume groups with a dash (-) in the name, Sander Marechal, 2008/08/10
- [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/11
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Sander Marechal, 2008/08/11
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name,
Felix Zielcke <=
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Robert Millan, 2008/08/14
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/14
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Robert Millan, 2008/08/14
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/14
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/18
- Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name, Felix Zielcke, 2008/08/18