Am Samstag, den 08.08.2009, 21:06 +0200 schrieb Robert Millan: > On Fri, Aug 07, 2009 at 08:53:06AM +0200, Felix Zielcke wrote: > > --- grub-installer (revision 60026) > > +++ grub-installer (working copy) > > @@ -115,7 +115,7 @@ convert () { > > tmp_disk=$(echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%') > > tmp_part=$(echo "$1" | sed "s%$tmp_disk%%") > > ;; > > - freebsd*) > > + freebsd*|gnu/kfreebsd*) > > tmp_disk=$(echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' > > | \ > > sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%') > > tmp_part=$(echo "$1" | \ > > @@ -166,7 +166,7 @@ convert () { > > fi > > echo "$tmp_drive" > > ;; > > - freebsd*) > > + freebsd*|gnu/kfreebsd*) > > if echo $tmp_part | grep "^s" >/dev/null; then > > tmp_pc_slice=$(echo $tmp_part | \ > > sed "s%s\([0-9]*\)[a-h]*$%\1%") > > I think the convert() function is only used for GRUB Legacy.
Ah I didn't looked it up before. convert() gets only used for the os-prober entrys, but there for both grub-legacy and grub2. grub-probe is still not used. -- Felix Zielcke Proud Debian Maintainer -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org