* mount options for jffs2
@ 2011-09-21 9:19 Folkert van Heusden
2011-09-21 9:26 ` Florian Fainelli
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Folkert van Heusden @ 2011-09-21 9:19 UTC (permalink / raw)
To: linux-mtd
Hi,
While hunting a database (SQLite) corruption issue (on jffs2) I
noticed that mount not only accepts barier=1 and data=journal but
test123 and test456 as well.
So I was wondering what mount options are supported for jffs2? I use
linux kernel version 2.6.19.
Also: anyone got experience with sqlite on jffs2? If so: how did you
solve these nasty corruptions?
Folkert.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 9:19 mount options for jffs2 Folkert van Heusden
@ 2011-09-21 9:26 ` Florian Fainelli
2011-09-21 9:40 ` Folkert van Heusden
2011-09-21 13:28 ` Artem Bityutskiy
2011-09-21 13:30 ` Artem Bityutskiy
2 siblings, 1 reply; 8+ messages in thread
From: Florian Fainelli @ 2011-09-21 9:26 UTC (permalink / raw)
To: linux-mtd; +Cc: Folkert van Heusden
Hello,
On Wednesday 21 September 2011 11:19:18 Folkert van Heusden wrote:
> Hi,
>
> While hunting a database (SQLite) corruption issue (on jffs2) I
> noticed that mount not only accepts barier=1 and data=journal but
> test123 and test456 as well.
This could rather be a bug in busybox (assuming you use it), which does not
verify the various mount options provided. For instance, one also do the
following: mount -o remount,rz / without getting an error from busybox's
mount.
> So I was wondering what mount options are supported for jffs2? I use
> linux kernel version 2.6.19.
> Also: anyone got experience with sqlite on jffs2? If so: how did you
> solve these nasty corruptions?
>
>
> Folkert.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 9:26 ` Florian Fainelli
@ 2011-09-21 9:40 ` Folkert van Heusden
2011-09-21 10:09 ` Florian Fainelli
0 siblings, 1 reply; 8+ messages in thread
From: Folkert van Heusden @ 2011-09-21 9:40 UTC (permalink / raw)
To: Florian Fainelli; +Cc: linux-mtd
>> While hunting a database (SQLite) corruption issue (on jffs2) I
>> noticed that mount not only accepts barier=1 and data=journal but
>> test123 and test456 as well.
>
> This could rather be a bug in busybox (assuming you use it), which does not
> verify the various mount options provided. For instance, one also do the
> following: mount -o remount,rz / without getting an error from busybox's
> mount.
Ah ok.
And do you know which options are supported?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 9:40 ` Folkert van Heusden
@ 2011-09-21 10:09 ` Florian Fainelli
2011-09-21 10:49 ` Folkert van Heusden
0 siblings, 1 reply; 8+ messages in thread
From: Florian Fainelli @ 2011-09-21 10:09 UTC (permalink / raw)
To: linux-mtd; +Cc: Folkert van Heusden
On Wednesday 21 September 2011 11:40:36 Folkert van Heusden wrote:
> >> While hunting a database (SQLite) corruption issue (on jffs2) I
> >> noticed that mount not only accepts barier=1 and data=journal but
> >> test123 and test456 as well.
> >
> > This could rather be a bug in busybox (assuming you use it), which does
> > not verify the various mount options provided. For instance, one also do
> > the following: mount -o remount,rz / without getting an error from
> > busybox's mount.
>
> Ah ok.
> And do you know which options are supported?
Depends on which filesystems you have enabled, as well as which filesystem-
specific mount options are supported. Busybox is agnostic about this and tries
to honor the mount options you provide it with, which does not mean it will
succeed.
--
Florian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 10:09 ` Florian Fainelli
@ 2011-09-21 10:49 ` Folkert van Heusden
0 siblings, 0 replies; 8+ messages in thread
From: Folkert van Heusden @ 2011-09-21 10:49 UTC (permalink / raw)
To: Florian Fainelli; +Cc: linux-mtd
>> And do you know which mount-options are supported?
>
> Depends on which filesystems you have enabled, as well as which filesystem-
> specific mount options are supported. Busybox is agnostic about this and tries
> to honor the mount options you provide it with, which does not mean it will
> succeed.
I meant for jffs2 (I was redirected to this list for jffs2 talk).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 9:19 mount options for jffs2 Folkert van Heusden
2011-09-21 9:26 ` Florian Fainelli
@ 2011-09-21 13:28 ` Artem Bityutskiy
2011-09-21 13:29 ` Folkert van Heusden
2011-09-21 13:30 ` Artem Bityutskiy
2 siblings, 1 reply; 8+ messages in thread
From: Artem Bityutskiy @ 2011-09-21 13:28 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: linux-mtd
On Wed, 2011-09-21 at 11:19 +0200, Folkert van Heusden wrote:
> Hi,
>
> While hunting a database (SQLite) corruption issue (on jffs2) I
> noticed that mount not only accepts barier=1 and data=journal but
> test123 and test456 as well.
> So I was wondering what mount options are supported for jffs2? I use
> linux kernel version 2.6.19.
I think jffs2 does not support any non-standard mount options - they are
ignored.
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 13:28 ` Artem Bityutskiy
@ 2011-09-21 13:29 ` Folkert van Heusden
0 siblings, 0 replies; 8+ messages in thread
From: Folkert van Heusden @ 2011-09-21 13:29 UTC (permalink / raw)
To: dedekind1; +Cc: linux-mtd
>> While hunting a database (SQLite) corruption issue (on jffs2) I
>> noticed that mount not only accepts barier=1 and data=journal but
>> test123 and test456 as well.
>> So I was wondering what mount options are supported for jffs2? I use
>> linux kernel version 2.6.19.
>
> I think jffs2 does not support any non-standard mount options - they are
> ignored.
Ok, thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: mount options for jffs2
2011-09-21 9:19 mount options for jffs2 Folkert van Heusden
2011-09-21 9:26 ` Florian Fainelli
2011-09-21 13:28 ` Artem Bityutskiy
@ 2011-09-21 13:30 ` Artem Bityutskiy
2 siblings, 0 replies; 8+ messages in thread
From: Artem Bityutskiy @ 2011-09-21 13:30 UTC (permalink / raw)
To: Folkert van Heusden; +Cc: linux-mtd
On Wed, 2011-09-21 at 11:19 +0200, Folkert van Heusden wrote:
> Also: anyone got experience with sqlite on jffs2? If so: how did you
> solve these nasty corruptions?
Start with validating your drivers using mtd tests, which are not
available in 2.6.16, though, but you can try Adrian's ancient repo,
which you'll find here:
http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-09-21 13:29 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-21 9:19 mount options for jffs2 Folkert van Heusden
2011-09-21 9:26 ` Florian Fainelli
2011-09-21 9:40 ` Folkert van Heusden
2011-09-21 10:09 ` Florian Fainelli
2011-09-21 10:49 ` Folkert van Heusden
2011-09-21 13:28 ` Artem Bityutskiy
2011-09-21 13:29 ` Folkert van Heusden
2011-09-21 13:30 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox