grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] strip disk->name of partition suffix in grub_disk_open


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [Patch] strip disk->name of partition suffix in grub_disk_open
Date: Tue, 20 Jul 2010 15:52:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Icedove/3.0.5

On 07/09/2010 07:23 PM, Grégoire Sutre wrote:
> Hi,
>
> When the argument passed to grub_disk_open is a string containing a
> partition, e.g. "hd0,msdos3,bsd7", disk->name is set to the full
> string instead of just the prefix up to the first ',' (here "hd0").
> This leads to incorrect partition identifiers when the disk name and
> the partition name are concatenated (I observed this in the debug
> messages of my nested partitions patch).
Which functions concatenate disk->name with anything else? It looks like
disk->name is with partitions by design.
>
> The attached patch fixes this issue.
>
> Grégoire
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>   


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]