2009-08-29 Robert Millan <rmh.grub@aybabtu.com>

* util/grub.d/10_freebsd.in: Detect `ufs1' and `ufs2' and map them
        to `ufs' in the vfs.root.mountfrom kernel parameter.
This commit is contained in:
robertmh 2009-08-29 00:34:33 +00:00
parent d8888b5cb4
commit c90edae43a
2 changed files with 9 additions and 2 deletions

View file

@ -50,8 +50,10 @@ if [ "x$kfreebsd" != "x" ] ; then
devices_rel_dirname=`make_system_path_relative_to_its_root $devices_dirname`
fi
# For "ufs" it's the same. Do we care about the others?
kfreebsd_fs=${GRUB_FS}
case ${GRUB_FS} in
ufs1 | ufs2) kfreebsd_fs=ufs ;;
*) kfreebsd_fs=${GRUB_FS} ;;
esac
cat << EOF
menuentry "${OS}" {