Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KTiYH-0004mN-7H for mharc-grub-devel@gnu.org; Thu, 14 Aug 2008 15:32:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTiYF-0004lQ-Hy for grub-devel@gnu.org; Thu, 14 Aug 2008 15:32:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTiYC-0004jl-5l for grub-devel@gnu.org; Thu, 14 Aug 2008 15:32:03 -0400 Received: from [199.232.76.173] (port=42739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTiYC-0004jf-27 for grub-devel@gnu.org; Thu, 14 Aug 2008 15:32:00 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:63929) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTiYB-0007Jq-Pi for grub-devel@gnu.org; Thu, 14 Aug 2008 15:32:00 -0400 Received: from [85.180.28.246] (e180028246.adsl.alicedsl.de [85.180.28.246]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KTiYA3HSY-0006XZ; Thu, 14 Aug 2008 21:31:58 +0200 From: Felix Zielcke To: The development of GRUB 2 In-Reply-To: <20080814180353.GC5614@thorin> References: <20080808202337.3440.57502.reportbug@sylvester.jejik.com.jejik.com> <1218277583.9301.6.camel@fz.local> <489EEAC5.4080209@jejik.com> <1218471512.6939.19.camel@fz.local> <1218735245.8950.10.camel@fz.local> <20080814180353.GC5614@thorin> Content-Type: text/plain Date: Thu, 14 Aug 2008 21:32:04 +0200 Message-Id: <1218742324.10393.8.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX18RmZKYtYrF5LhvgwxvzxidvAh+FegmyMGu2rW xDVEXui0+cm3KlZHiQ+mURVZEV6PUTnPJ79JJUrZhPcdITGOhW Dmx62rRhmvJ5QkWGDOQdCx+BnYBWbZI X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: Re: [PATCH] Grub2 cannot find LVM volume groups with a dash (-) in the name X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 19:32:04 -0000 Am Donnerstag, den 14.08.2008, 20:03 +0200 schrieb Robert Millan: > > Please explain the actual changes (or what they're for). As I wrote that, I just saw before that Marco did just Rewritten. in a commit, but with searching for Rewritten in the ChangeLog reveals much more verbose entrys So: 2008-08-14 Felix Zielcke * util/getroot.c: Include . (grub_util_get_grub_dev): Rewritten to use asprintf for mdraid devices, added support for /dev/md/N devices and handles LVM double dash escaping. > > > switch (grub_util_get_dev_abstraction (os_dev)) > > { > > - case GRUB_DEV_ABSTRACTION_LVM: > > - grub_dev = xmalloc (strlen (os_dev) - 12 + 1); > > + case GRUB_DEV_ABSTRACTION_LVM: > > Try to ommit big indentation changes from the patch. If you change something > that requires a big chunk of code to be reindented, I think it's better if you > leave that out for readability (and mention so if you like). Unfortunately I couldn't get the -w option working to ignore white space changes svn diff --diff-cmd diff -x -up -x -w doestn't produce an unified diff, < and > are used instead of - and + with -x -w -x up the -w is ignored :( So I just need to remember this now that I either change the indention, before commiting or I directly make 2 patches. Luckly I can commit this now myself so I really don't need to include this in the patches I send :)