[oe-commits] Gary Thomas : base-files: filesystems: fix mount order

git at git.openembedded.org git at git.openembedded.org
Fri Jan 6 14:49:37 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: fff18970706913e7fd7f4a119d798dddb44b388a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=fff18970706913e7fd7f4a119d798dddb44b388a

Author: Gary Thomas <gary at mlbassoc.com>
Date:   Fri Jan  6 06:35:54 2012 -0700

base-files: filesystems: fix mount order

This changes the order that file system [types] are tried
when using 'mount' in busybox when the file system type is
not explictly specified.  The pervious ordering is
incorrect in that less capable file system types are tried
first, e.g. ext2 before ext3, which will cause an ext3 file
system to be mounted as ext2, disabling some of the ext3
features such as journaling.

The change also moves infrequently used file system types to
the end as checking for them is just a waste of effort in
most cases.  The list now also includes ext4.

[RP: Add PR bump, unbreak patch application]
Signed-off-by: Gary Thomas <gary at mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-core/base-files/base-files/filesystems |    9 +++++----
 meta/recipes-core/base-files/base-files_3.0.14.bb  |    2 +-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/base-files/base-files/filesystems b/meta/recipes-core/base-files/base-files/filesystems
index 2af6a7e..7e6c41c 100644
--- a/meta/recipes-core/base-files/base-files/filesystems
+++ b/meta/recipes-core/base-files/base-files/filesystems
@@ -1,7 +1,8 @@
-minix
-fat
-vfat
-ext2
+ext4
 ext3
+ext2
+vfat
+fat
 btrfs
+minix
 *
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index eb40917..6bab040 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -1,7 +1,7 @@
 SUMMARY = "Miscellaneous files for the base system."
 DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system."
 SECTION = "base"
-PR = "r70"
+PR = "r71"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
 # Removed all license related tasks in this recipe as license.bbclass 





More information about the Openembedded-commits mailing list