[OE-core] [PATCH v2] filesystems: fix mount order

Gary Thomas gary at mlbassoc.com
Fri Jan 6 13:35:54 UTC 2012


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.

Signed-off-by: Gary Thomas <gary at mlbassoc.com>
---
  .../recipes-core/base-files/base-files/filesystems |    9 +++++----
  1 files changed, 5 insertions(+), 4 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
  *
-- 
1.7.7.5
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Attached Message Part
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120106/d4e18dc6/attachment-0002.ksh>


More information about the Openembedded-core mailing list