From 0660bb6fa573c61dc7de2b5a6ee202e8b3f007aa Mon Sep 17 00:00:00 2001 From: Leandro Lupori Date: Tue, 7 Apr 2020 19:46:00 +0000 Subject: [PATCH] Add support to MSDOS FS in PPC loader Although PPC OFW loader already had a LOADER_MSDOS_SUPPORT option, a few lines were missing in conf.c, in order to support FAT filesystems. This is useful when running FreeBSD under QEMU, to be able to easily change the kernel and modules when running on hosts without UFS read/write support. Reviewed by: jhibbits Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D24328 --- stand/powerpc/ofw/conf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stand/powerpc/ofw/conf.c b/stand/powerpc/ofw/conf.c index f26dd2c56c2..a7ac892e71f 100644 --- a/stand/powerpc/ofw/conf.c +++ b/stand/powerpc/ofw/conf.c @@ -69,6 +69,9 @@ struct fs_ops *file_system[] = { #if defined(LOADER_EXT2FS_SUPPORT) &ext2fs_fsops, #endif +#if defined(LOADER_MSDOS_SUPPORT) + &dosfs_fsops, +#endif #if defined(LOADER_NFS_SUPPORT) &nfs_fsops, #endif