Author: hawk
Date: Sun Mar 19 20:00:50 2006
New Revision: 7225

Modified:
   bootdisk/trunk/batch-installer/installer-prep
Log:
- load required filesystem module before mounting disk source


Modified: bootdisk/trunk/batch-installer/installer-prep
==============================================================================
--- bootdisk/trunk/batch-installer/installer-prep       (original)
+++ bootdisk/trunk/batch-installer/installer-prep       Sun Mar 19 20:00:50 2006
@@ -220,6 +220,26 @@
     load_module isofs
 }
 
+load_fs_modules () {
+    case "$source_filesystem" in 
+        ext2) 
+           load_module ext2
+           ;;
+        reiserfs) 
+           load_module reiserfs
+           ;;
+        jfs) 
+           load_module jfs
+           ;;
+        ext3) 
+           load_module ext3
+           ;;
+        xfs) 
+           load_module xfs
+           ;;
+    esac
+}
+
 load_nfs_modules () {
     load_module nfs
 }
@@ -564,6 +584,7 @@
            load_module sd_mod
            ;;
        esac
+       load_fs_modules
        mount_source -o ro
        find_source_dir
        ;;
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to