Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2020 19:46:00 +0000 (UTC)
From:      Leandro Lupori <luporl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r359716 - head/stand/powerpc/ofw
Message-ID:  <202004071946.037Jk0BO062809@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: luporl
Date: Tue Apr  7 19:46:00 2020
New Revision: 359716
URL: https://svnweb.freebsd.org/changeset/base/359716

Log:
  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

Modified:
  head/stand/powerpc/ofw/conf.c

Modified: head/stand/powerpc/ofw/conf.c
==============================================================================
--- head/stand/powerpc/ofw/conf.c	Tue Apr  7 19:44:40 2020	(r359715)
+++ head/stand/powerpc/ofw/conf.c	Tue Apr  7 19:46:00 2020	(r359716)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004071946.037Jk0BO062809>