Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] Alter order of file systems tried by mount
Date: Wed, 30 Nov 2011 05:42:46 -0700	[thread overview]
Message-ID: <4ED624C6.5070505@mlbassoc.com> (raw)
In-Reply-To: <20111130123743.GA27310@novatech.datenfreihafen.org>

On 2011-11-30 05:37, Stefan Schmidt wrote:
> Hello.
>
> On Wed, 2011-11-30 at 05:19, Gary Thomas wrote:
>>   The file /etc/filesystems is used by busybox 'mount' when
>>   attempting to mount a file system when the type is not
>>   specified.  This change alters the order so that more
>>   capable systems are tried first.  Without this change, an
>>   EXT3 system will mount as EXT2 which disables many of the
>>   EXT3 features.  With the change, EXT3 systems are mounted
>>   properly.
>>
>> Signed-off-by: Gary Thomas<gary@mlbassoc.com>
>> ---
>>   .../recipes-core/base-files/base-files/filesystems |    8 ++++----
>>   meta/recipes-core/base-files/base-files_3.0.14.bb  |    2 +-
>>   2 files changed, 5 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..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
>
> In the commit message you explain the problem with ext2/3. And I agree
> that it makes sense to start with ext3. Actually, adding ext4 would
> make sense, too.

Agreed.

>
> What is the deal with the re-ordering of fat/vfat/minix though? Looks
> unrelated to me.

Same argument as above - try more capable file systems first.
I also moved minix to the end as it is rarely, if ever, used.

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



  reply	other threads:[~2011-11-30 12:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 12:19 [PATCH] Alter order of file systems tried by mount Gary Thomas
2011-11-30 12:37 ` Stefan Schmidt
2011-11-30 12:42   ` Gary Thomas [this message]
2011-11-30 12:53     ` Stefan Schmidt
2012-01-03 16:13 ` Gary Thomas
2012-01-03 18:00   ` Saul Wold
2012-01-03 18:06     ` Gary Thomas

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=4ED624C6.5070505@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox