All of lore.kernel.org
 help / color / mirror / Atom feed
* device syntax
@ 2004-10-20  2:14 Hollis Blanchard
  2004-10-20  8:58 ` Marco Gerards
  0 siblings, 1 reply; 16+ messages in thread
From: Hollis Blanchard @ 2004-10-20  2:14 UTC (permalink / raw)
  To: The development of GRUB 2

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.

I think what we need is architecture-specific functions that can parse 
a device path into device, partition, and path parts. That would mean 
different syntaxes for the different ports, but I think this is the way 
to go. I see there is already a grub_file_get_device_name() function 
used in a few places; what about also providing 
grub_file_get_partition() and grub_file_get_path() functions?

-Hollis




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

end of thread, other threads:[~2004-10-29  1:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20  2:14 device syntax Hollis Blanchard
2004-10-20  8:58 ` Marco Gerards
2004-10-20  7:33   ` Tomas Ebenlendr
2004-10-20  9:47     ` Marco Gerards
2004-10-20 10:13       ` Tomas Ebenlendr
2004-10-20 14:14         ` Hollis Blanchard
2004-10-20 14:04   ` Hollis Blanchard
2004-10-20 14:44     ` M. Gerards
2004-10-20 15:22       ` Hollis Blanchard
2004-10-21 10:53         ` Yoshinori K. Okuji
2004-10-21 11:26           ` Tomas Ebenlendr
2004-10-21 11:33             ` Yoshinori K. Okuji
2004-10-28 18:59             ` Marco Gerards
2004-10-21 14:54           ` Hollis Blanchard
2004-10-28 19:02             ` Marco Gerards
2004-10-29  1:40               ` Hollis Blanchard

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.