grub-devel
[Top][All Lists]
Advanced

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

Re: Be File System identified as bfs


From: Andrei Borzenkov
Subject: Re: Be File System identified as bfs
Date: Tue, 28 Jul 2015 21:30:24 +0300

В Tue, 28 Jul 2015 19:10:39 +0200
Jeroen Oortwijn <address@hidden> пишет:

> Hello,
> 
> Currently Grub identifies the Be File System as 'bfs'.
> In Linux however, 'bfs' refers to the Boot File System [1] and 'befs'
> refers to the Be File System.
> 
> As a result, the os-prober utility (which uses grub-probe)

where do you see it?

fs_type () {
        if (export PATH="/lib/udev:$PATH"; type vol_id) >/dev/null 2>&1; then
                PATH="/lib/udev:$PATH" vol_id --type "$1" 2>/dev/null
        elif type blkid >/dev/null 2>&1; then
                blkid -o value -s TYPE "$1" 2>/dev/null
        else
                return 0
        fi
}x              

>                                                             doesn't
> correctly recognize the Be File System. And because the grub-mkconfig utility
> uses os-prober to detect other operating systems, it will never add a Haiku
> installation to the Grub menu.
> 
> I see two ways of fixing this:
> 1) Modify Grub's Be File System module [2] to identify it as 'befs'.
> 2) Modify os-prober to assume 'befs' on Linux systems when grub-probe
> returns 'bfs'.
> 
> I would prefer option 1, but what are your thoughts?
> 
> 
> Kind regards,
> 
> Jeroen Oortwijn
> 
> [1] https://en.wikipedia.org/wiki/Boot_File_System
> [2] http://git.savannah.gnu.org/cgit/grub.git/tree/grub-core/fs/bfs.c




reply via email to

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