mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix up the majority of the non-grubfs filesystems from my last commit, since they require a "probe with offset" function to
allow the partition handler to identify a valid FS before interposition to /packages/misc-files. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@792 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
7fc4e304c3
commit
372ad163dc
@@ -351,25 +351,24 @@ files_probe( files_info_t *mi )
|
||||
|
||||
err = (fd = open_ih(ih)) == -1;
|
||||
if( !err ) {
|
||||
/*
|
||||
err = fs_hfsp_open(fd, fs);
|
||||
|
||||
err = fs_hfsp_probe(fd, offs);
|
||||
DPRINTF("--- HFSP returned %d\n", err);
|
||||
|
||||
if( err ) {
|
||||
err = fs_hfs_open(fd, fs);
|
||||
err = fs_hfs_probe(fd, offs);
|
||||
DPRINTF("--- HFS returned %d\n", err);
|
||||
}
|
||||
|
||||
/*
|
||||
if( err ) {
|
||||
err = fs_iso9660_open(fd, fs);
|
||||
DPRINTF("--- ISO9660 returned %d\n", err);
|
||||
}
|
||||
|
||||
*/
|
||||
if( err ) {
|
||||
err = fs_ext2_open(fd, fs);
|
||||
err = fs_ext2_probe(fd, offs);
|
||||
DPRINTF("--- ext2 returned %d\n", err);
|
||||
}
|
||||
*/
|
||||
|
||||
if( err ) {
|
||||
err = fs_grubfs_probe(fd, offs);
|
||||
|
||||
Reference in New Issue
Block a user