All of lore.kernel.org
 help / color / mirror / Atom feed
* device syntax again
@ 2005-01-13  0:57 Hollis Blanchard
  2005-01-18 14:52 ` Hollis Blanchard
  0 siblings, 1 reply; 12+ messages in thread
From: Hollis Blanchard @ 2005-01-13  0:57 UTC (permalink / raw)
  To: The development of GRUB 2

I'd like to discuss device syntax again. Let me start by giving an 
example. When a client is booted on an OF-based machine, it can find 
out what the booted device and path was. This is the /chosen/bootpath 
property. Here is the bootpath property from a briQ I just booted:
	ok > boot net:,grubof.chrp
	bootpath = /pci@FF500000/ethernet@7
I would like to load a config file from the same location, so I should 
set the GRUB environment variable "prefix".

(Remember: the original problem I had regarding device syntax was use 
of the comma in device paths. OF paths sometime contain commas, but 
that confuses GRUB's parser, which was written when all it had to worry 
about was the devices on a PC.)

What should I set prefix to if the bootpath property has a comma in it? 
It is not possible to ask the user to reboot and create a devalias for 
this device. Aside from the obvious usability issues, the devalias is 
actually expanded to its true path for the bootpath property. You'll 
notice above I used the alias "net", but bootpath was the full 
"/pci@FF500000/ethernet@7".

-Hollis




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-01-21 16:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13  0:57 device syntax again Hollis Blanchard
2005-01-18 14:52 ` Hollis Blanchard
2005-01-18 15:36   ` Yoshinori K. Okuji
2005-01-19  1:59     ` Hollis Blanchard
2005-01-19  7:58       ` Vincent Pelletier
2005-01-19 15:30         ` Hollis Blanchard
2005-01-19 10:06       ` Yoshinori K. Okuji
2005-01-21  2:33         ` Hollis Blanchard
2005-01-21 12:22           ` Marco Gerards
2005-01-21 14:38             ` Hollis Blanchard
2005-01-21 16:00               ` Yoshinori K. Okuji
2005-01-19 12:40       ` Marco Gerards

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.