[Top][All Lists]

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

Re: device syntax

From: Yoshinori K. Okuji
Subject: Re: device syntax
Date: Thu, 21 Oct 2004 12:53:10 +0200
User-agent: KMail/1.6.1

I prefer consistency among various architectures. Note that PC BIOS does 
not offer any name for drives. They are represented by numbers. "hd" 
and "fd" are aliases for numbers.

If we assume that the user knows her firmware very well, we don't need 
to provide "hd" or "fd", since the user should be able to specify 
numbers. Actually, specifying drives by numbers is supported by GRUB 
legacy, but nobody uses it, simply because it is not intuitive.

IMO, we should not assume that the user knows technical details. If we 
write an installer for Open Firmware-based machines, the user may not 
know anything about Open Firmware. The best thing for the user is that 
the user does not have to learn many things. If we provide a consistent 
interface, the user needs to study the single thing. Nothing else.

I think the important goal for GRUB is to provide an easy way for 
ordinary users and a complicated but still useful features for experts. 
So I propose always using simple aliases for drives. If you want to use 
a device name provided by your firmware explicitly, you could use this 
kind of syntax:

devalias foo "/address@hidden/address@hidden/address@hidden/address@hidden,0"
multiboot (foo,0)/boot/kernel

EFI uses more horrible device names. This is quoted from EFI How To 


If we use escape chacters, it becomes too unreadable.


reply via email to

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