All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Tom Rini <tom.rini@gmail.com>
Cc: Poky Project <poky@yoctoproject.org>
Subject: Re: Strange ext filesystem error
Date: Fri, 28 Oct 2011 04:26:39 -0600	[thread overview]
Message-ID: <4EAA835F.3010606@mlbassoc.com> (raw)
In-Reply-To: <CA+M6bXkW5FeMeYSifC=7Z86Dcg2xvwvxXzPrtOp-GLLX2_q4+A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]

On 2011-10-26 18:22, Tom Rini wrote:
> On Wed, Oct 26, 2011 at 7:25 AM, Gary Thomas<gary@mlbassoc.com>  wrote:
>> I've noticed this behaviour on my Poky/Yocto based systems.
>> First, I format some device, in this case an MMC card, as ext3
>> (yes, my kernel supports ext3)
>>   # mkfs.ext3 /dev/mmcblk0p1
>> Then, when I go to mount it, I get this error:
>>   # mount /dev/mmcblk0p1 /tmp/disk
>>   EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
>>
>> Any ideas why?  How can I get ext3 file system working?
>
> Sounds like once again the file mount uses to guess types is out of order.
> I think it's part of base-files but I don't have a chance to check right now...
>

Looks like that's it, thanks.  I think that list is completely wrong in
its ordering - one should always try to use the *most* capable type first.
The attached patch works fine and solves this problem for me.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: 0001-Reorder-file-system-list-so-that-most-capable-types-.patch --]
[-- Type: text/plain, Size: 792 bytes --]

From 8417dfee5cbdb1809296533604beb41dd599282e Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Fri, 28 Oct 2011 04:24:14 -0600
Subject: [PATCH] Reorder file system list so that most capable types are
 tried first

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 .../recipes-core/base-files/base-files/filesystems |    8 ++++----
 1 files changed, 4 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..14f5abb 100644
--- a/meta/recipes-core/base-files/base-files/filesystems
+++ b/meta/recipes-core/base-files/base-files/filesystems
@@ -1,7 +1,7 @@
-minix
-fat
-vfat
-ext2
 ext3
+ext2
+vfat
+fat
 btrfs
+minix
 *
-- 
1.7.6.4


      parent reply	other threads:[~2011-10-28 10:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 14:25 Strange ext filesystem error Gary Thomas
     [not found] ` <CAEsOVNejiifxREadD5-Lh6_MazhH1Qh1dgWg-nAw_e1yA8kTXA@mail.gmail.com>
2011-10-26 16:57   ` Gary Thomas
2011-10-26 17:25     ` Scott Garman
2011-10-27  0:22 ` Tom Rini
2011-10-27  7:05   ` Anders Darander
2011-10-28 10:26   ` Gary Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EAA835F.3010606@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@yoctoproject.org \
    --cc=tom.rini@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.