grub-devel
[Top][All Lists]
Advanced

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

Re: device syntax


From: Tomas Ebenlendr
Subject: Re: device syntax
Date: Wed, 20 Oct 2004 09:33:46 +0200
User-agent: Mutt/1.5.6i

> Hollis Blanchard <address@hidden> writes:
> 
> > I was thinking about how GRUB specifies device paths using
> > "(device,partition)/path" syntax. That's a problem because Open
> > Firmware device paths can contain commas. The legal character list is
> > the alphanumerics plus ", . _ + -". My Mac's video card is named
> > "ATY,Rage128y", and I'm pretty sure I've seen disks with commas in
> > their names.
> 
> Does this problem occur for disks as well in practice?
> 
> --
> Marco

Does any 'device' in any port contain '(' or ')'? If so, I propose
escaping or translating to other characters.

The problem with comma can be solved by escaping also, or by searching
for last comma, followed only by digits (provided that we specify
partitions only by numbers).


-- 
                                 Tomas 'ebi' Ebenlendr
                                 http://get.to/ebik
                                 PF 2004.80162078147





reply via email to

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