Am Dienstag, den 04.08.2009, 23:19 +0200 schrieb Robert Millan: > On Fri, Jul 31, 2009 at 06:26:51PM +0200, Felix Zielcke wrote: > > > > If we'd do an arbitrary mapping then `grub-probe -t drive' would show > > the wrong grub device. > > But except from this I think that would be okay. > > We can never garantee that `grub-probe -t drive' will show the "right" drive, > at least on i386-pc, because we don't know how is BIOS going to order them.
Yes drive not, but the partition. > Maybe Linux order depends on a race, and is different every time! This > actually happens with some devices. > > So the best we can do is to avoid reliing on it entirely, by using UUIDs in > the upper layer. We don't need to use UUIDs here, because they're already > being used to find the right filesystem when we boot. > Unfortunately we don't have UUID support on every filesystem we support like JFS. But I think it's not that commonly used. If we assume that on multipath and dmraid devices there are no BSD partitions we could just use the partition number in the device filename. Then we don't need to use UUIDs there. Vladimir said FreeBSD doestn't support multipath. -- Felix Zielcke Proud Debian Maintainer _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel