2008-12-24 03:16:18

by Miao Xie

[permalink] [raw]
Subject: [BUG][e2fsprogs] e2fsck: e2fsck reports ext3 message when checking ext4 filesystem

Hi,

I use "e2fsck" to repair the damaged ext4 device.

The message was followings.

------
# ./e2fsck /dev/sdb3
e2fsck 1.41.3 (12-Oct-2008)
Superblock has an invalid ext3 journal (inode 8).
Clear<y>?
---

Why e2fsck tells me "ext3"? It looks the message was wrong
or e2fsck doesn't recognize ext4 correctly.

Thanks!
Miao Xie


2008-12-24 04:40:18

by Manish Katiyar

[permalink] [raw]
Subject: Re: [BUG][e2fsprogs] e2fsck: e2fsck reports ext3 message when checking ext4 filesystem

On Wed, Dec 24, 2008 at 8:44 AM, Miao Xie <[email protected]> wrote:
> Hi,
>
> I use "e2fsck" to repair the damaged ext4 device.
>
> The message was followings.
>
> ------
> # ./e2fsck /dev/sdb3
> e2fsck 1.41.3 (12-Oct-2008)
> Superblock has an invalid ext3 journal (inode 8).
> Clear<y>?
> ---
>
> Why e2fsck tells me "ext3"?

Because it is hardcoded :-(

>From the file e2fsprogs/po/id.po :-

#. @-expanded: superblock has an invalid ext3 journal (inode %i).\n
#: e2fsck/problem.c:187
#, c-format
msgid "@S has an @n ext3 @j (@i %i).\n"
msgstr "@S memiliki sebuah @n ext3 @j (@i %i).\n"


Thanks -
Manish

> It looks the message was wrong
> or e2fsck doesn't recognize ext4 correctly.
>
> Thanks$B!*(B
> Miao Xie
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>

2008-12-24 07:36:35

by Miao Xie

[permalink] [raw]
Subject: Re: [BUG][e2fsprogs] e2fsck: e2fsck reports ext3 message when checking ext4 filesystem

on 2008-12-24 12:40 Manish Katiyar wrote:
> On Wed, Dec 24, 2008 at 8:44 AM, Miao Xie <[email protected]> wrote:
>> Hi,
>>
>> I use "e2fsck" to repair the damaged ext4 device.
>>
>> The message was followings.
>>
>> ------
>> # ./e2fsck /dev/sdb3
>> e2fsck 1.41.3 (12-Oct-2008)
>> Superblock has an invalid ext3 journal (inode 8).
>> Clear<y>?
>> ---
>>
>> Why e2fsck tells me "ext3"?
>
> Because it is hardcoded :-(
>
>>From the file e2fsprogs/po/id.po :-
>
> #. @-expanded: superblock has an invalid ext3 journal (inode %i).\n
> #: e2fsck/problem.c:187
> #, c-format
> msgid "@S has an @n ext3 @j (@i %i).\n"
> msgstr "@S memiliki sebuah @n ext3 @j (@i %i).\n"

I see.
I think e2fsck should tell the correct information, so
this problem must be fixed.

Thanks.
Miao Xie

>
> Thanks -
> Manish
>
>> It looks the message was wrong
>> or e2fsck doesn't recognize ext4 correctly.
>>
>> Thanks$B!*(B
>> Miao Xie
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>



2009-02-11 02:37:44

by Miao Xie

[permalink] [raw]
Subject: Re: [BUG][e2fsprogs] e2fsck: e2fsck reports ext3 message when checking ext4 filesystem

on 2008-12-24 12:40 Manish Katiyar wrote:
> On Wed, Dec 24, 2008 at 8:44 AM, Miao Xie <[email protected]> wrote:
>> Hi,
>>
>> I use "e2fsck" to repair the damaged ext4 device.
>>
>> The message was followings.
>>
>> ------
>> # ./e2fsck /dev/sdb3
>> e2fsck 1.41.3 (12-Oct-2008)
>> Superblock has an invalid ext3 journal (inode 8).
>> Clear<y>?
>> ---
>>
>> Why e2fsck tells me "ext3"?
>
> Because it is hardcoded :-(
>
>>From the file e2fsprogs/po/id.po :-
>
> #. @-expanded: superblock has an invalid ext3 journal (inode %i).\n
> #: e2fsck/problem.c:187
> #, c-format
> msgid "@S has an @n ext3 @j (@i %i).\n"
> msgstr "@S memiliki sebuah @n ext3 @j (@i %i).\n"

someone submitted a patch to fix this bug. I tested it and the test was pass.
But I found the translation is not updated.

Thanks!
Miao

>
>
> Thanks -
> Manish
>
>> It looks the message was wrong
>> or e2fsck doesn't recognize ext4 correctly.
>>
>> Thanks$B!*(B
>> Miao Xie
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
>
>