grub-devel
[Top][All Lists]
Advanced

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

Re: device syntax again


From: Hollis Blanchard
Subject: Re: device syntax again
Date: Wed, 19 Jan 2005 09:30:07 -0600

On Jan 19, 2005, at 1:58 AM, Vincent Pelletier wrote:

| Would you add
| yet a third namespace? In Open Firmware use "disk"; in GRUB use "hd0";
| in Linux use "/dev/sda"?

Isn't it possible to support both syntax ?
(hd0,0)/path/file
and
~ (/address@hidden,0/address@hidden,1/address@hidden/address@hidden,0)/path/file
~ or
~ (disk)/path/file

That is exactly what I'd like to see.

Unfortunately, various code throughout GRUB looks for the first comma as separating the device name and partition number. So in the first example, code would decide that the device name is "/address@hidden" and the partition number is "0/address@hidden,1/address@hidden/address@hidden,0", and cause an error.

Okuji and Marco feel it would be too confusing to even allow the first example, despite the fact that the second example would continue to work.

-Hollis





reply via email to

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