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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to